Sirportly

Toggle Menu

Post Tweet

This method allows you to post a new arbitary tweet from any of your configured Twitter accounts.

URL

/api/v2/tweets/post

Access

This method is available to all application tokens and any user tokens which have the permission to directly communicate with customers.

Supported Parameters

  • message - the tweet message you wish to send (max 140 chars, required)
  • twitter_account - the ID or nickname of the twitter account you wish to send the tweet as (required)

Example JSON

{
  "id": 1,
  "message": "Hello users! This is just an example message!",
  "tweet_id": "354576942890090496",
  "twitter_account": {
    "allow_outbound": true,
    "id": 1,
    "image_url": "https://si0.twimg.com/profile_images/1883438511/Owl_normal.png",
    "nickname": "example",
    "polling_enabled": true,
    "twitter_id": "519358848"
  }
}