GET direct_messages/welcome_messages/rules/show
get-welcome-message-rule

GET direct_messages/welcome_messages/rules/show

Returns a Welcome Message Rule by the given id.

Resource URL

https://api.x.com/1.1/direct_messages/welcome_messages/rules/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 Rule that should be returned.

Example request using Twurl

twurl -X GET /1.1/direct_messages/welcome_messages/rules/show.json?id=9910934913490319

Example Response

{
  "welcome_message_rule" : {
    "id": "9910934913490319",
    "created_timestamp": "1470182394258",
    "welcome_message_id": "844385345234"
  }
}