GET custom_profiles/:id
GET custom_profiles/:id
Returns a custom profile that was created with POST custom_profiles/new.json.
Resource URL¶
https://api.x.com/1.1/custom_profiles/:id.json
Resource Information¶
Response formats | JSON |
Requires authentication? | Yes (user context only) |
Rate limited? | Yes |
Requests / 24 hour window (user auth) | Yes (180 / 15 min) |
Parameters¶
id (required) | The string ID of the custom profile that should be returned. Provided in resource URL. |
Example request using Twurl¶
twurl -X GET /1.1/custom_profiles/100001
Example Response¶
{
"custom_profile": {
"id": "100001",
"created_timestamp": "1479767168196",
"name": "Jon C, Partner Engineer",
"avatar": {
"media": {
"url": "https://pbs.twimg.com/media/Cr7HZpvVYAAYZIX.jpg"
}
}
}