/direct_messages/new.json
POST
/direct_messages/new.json
message to the specified user from the authenticating user. Requires both the user and text
parameters and must be a POST. Returns the sent message in the requested format if successful.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.twitter.com/1.1/direct_messages/new.json'
Response Response Example
{}
Request
None
Responses
Modified at 2022-09-10 16:58:08