GET
direct_messages/welcome_messages/show
GET direct_messages/welcome_messages/show
Returns a Welcome Message by the given id.
Resource URL¶
https://api.x.com/1.1/direct_messages/welcome_messages/show.json
Resource Information¶
Response formats | JSON |
Requires authentication? | Yes (user context only) |
Rate limited? | Yes |
Requests / 15-min window (user auth) | 15 |
Parameters¶
id (required) | The id of the Welcome Message that should be returned. |
Example request using Twurl¶
twurl -X GET /1.1/direct_messages/welcome_messages/show.json?id=844385345234
Example Response¶
{
"welcome_message" : {
"id": "844385345234",
"created_timestamp": "1470182274821",
"message_data": {
"text": "Welcome!",
"attachment": {
"type": "media",
"media": {
...
}
}
}
}
}