Returns the 20 most recent direct messages sent by 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 outgoing 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 Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.twitter.com/1.1/direct_messages/sent.json'