Skip to main content
POST
Create DM message by conversation ID

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

dm.write

Send and manage your Direct Messages.

tweet.read

View all Posts you can see, including those from protected accounts.

users.read

View any account you can see, including protected accounts.

Path Parameters

dm_conversation_id
string
required

The DM Conversation ID.

Body

application/json
text
string
required

Text of the message.

Minimum string length: 1
attachments
object[]

Attachments to a DM Event.

Response

The request has succeeded.

data
object
errors
object[]
Minimum array length: 1

An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).