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.
请求参数
无
返回响应
🟢200成功
application/json
Successful Response
Body
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.twitter.com/1.1/direct_messages/sent.json'