Returns the 20 most recent direct messages sent to the authenticating user. Includes detailed information about the sender and recipient user. You can request up to 200 direct messages per call, up to a maximum of 800 incoming DMs.Important: This method requires an access token with RWD (read, write and direct message) permissions. Consult The Application Permission Model for more information.
Request
None
Responses
🟢200Successful Response
application/json
Body
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.twitter.com/1.1/direct_messages.json'