statuses
Publish, interact, and view information about statuses.
postPublish new status
Post a new status.
Returns: Status. When scheduled_at
is present, ScheduledStatus is returned instead.
OAuth: User + write:statuses
Version history:
0.0.0 - added
2.7.0 - scheduled_at
added
2.8.0 - poll
added
Request
Headers
string
string
Form Data Parameters
string
media_ids
is provided, this becomes optional. Attaching a poll
is optional while status
is provided.array
status
becomes optional, and poll
cannot be used.array
media_ids
cannot be used, and poll[expires_in]
must be provided.number
media_ids
cannot be used, and poll[options]
must be provided.boolean
boolean
string
boolean
string
string
string
string
Response
200: Success
Status will be posted with chosen parameters. If scheduled_at is provided, then a ScheduledStatus will be returned instead.
status
{
"id": "103254962155278888",
"created_at": "2019-12-05T11:34:47.196Z",
...
"content": "test content
",
...
"application": {
"name": "test app",
"website": null
},
...
}
scheduled_at ScheduledStatus
{
"id": "3221",
"scheduled_at": "2019-12-05T12:33:01.000Z",
"params": {
"text": "test content",
"media_ids": null,
"sensitive": null,
"spoiler_text": null,
"visibility": null,
"scheduled_at": null,
"poll": null,
"idempotency": null,
"in_reply_to_id": null,
"application_id": 596551
},
"media_attachments": []
}