Saltar al contenido principal
POST
Crear un mensaje de DM usando el ID de la conversación

Autorizaciones

Authorization
string
header
requerido

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.

Parámetros de ruta

dm_conversation_id
string
requerido

La ID de la conversación de DM.

Cuerpo

application/json
text
string
requerido

Texto del mensaje.

Minimum string length: 1
attachments
object[]

Archivos adjuntos incluidos en un evento de MD.

Respuesta

La solicitud se ha realizado correctamente.

data
object
errors
object[]
Minimum array length: 1

Un objeto HTTP Problem Details, tal como se define en el IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).