Jump to: navigation, search

Reply

This operation is part of the Twitter API section of the Web Services API.

Overview

Creates a Twitter reply.

Request URL /api/v2/me/tweets/{id}
HTTP Method POST
Required Features api-multimedia

Parameters

Parameter Value
operationName Reply
queuePath The job queue for handling the send operation. (required)
isRetweet Specifies whether this is a retweet. (optional)
userData The key value data to attach. (optional)

Samples

Request

POST api/v2/me/tweets/01QQQG2MU214P05R,
{
    "operationName": "Reply",
    "queuePath": "/contacts/60ebbb94-3cef-4b14-95f8-5c49dbeb355d"
}

HTTP Response

{
  "statusCode": 0,
  "referenceId": 42
}

CometD Response

{  
   "messageType":"TwitterStateChangeMessage",
   "notificationType":"StatusChange",
   "referenceId":42,
   "twitter":{  
      "capabilities":[  
         "Cancel",
         "Send",
         "AddComment",
         "AttachUserData",
         "UpdateUserData",
         "DeleteUserData",
         "SetDisposition",
         "SetInFocus",
         "Transfer"
      ],
      "contactId":"0000Ka96XNNU4488",
      "id":"01QQQG2MU214P05S",
      "message":"On 12:58:9 11/5/2013, P created a post saying hello world!.",
      "parentId":"01QQQG2MU214P05R",
      "state":"Composing",
      "twitterType":"Outbound",
      "uri":"http://192.168.83.25:8080/api/v2/tweet/01QQQG2MU214P05S",
      "userData":{  
         "To":"vitaliy_onv",
         "_twitterInReplyToStatusId":"16556921",
         "_twitterMsgType":"status",
         "_umsChannel":"channel-twitter"
      }
   }
}
This page was last edited on October 31, 2023, at 13:31.
Comments or questions about this documentation? Contact us for support!