Please note:
We've recently released the following endpoints within the Twitter API v2.
v1.1 endpoints | Corresponding v2 endpoints | |
---|---|---|
GET direct_messages/events/list |
Direct Messages lookup | Migration guide |
POST direct_mesages/events/new |
Manage Direct Messages | Migration guide |
Please use the migration guides to see what has changed between the standard v1.1 and v2 versions.
These API features enable developers to build better-personalized customer experiences at scale as well as other innovative interactions. To help create more engaging customer service, marketing, and user engagement experiences in Direct Messages we’re providing developers access to endpoints to start conversations with a welcome message, publish messages with quick replies and media, and more.
- Sending and receiving events
Send and receive Direct Messages. - Welcome Messages
Create messages that display for specific scenarios. - Message Attachments
Attach videos, images and GIFs. - Quick Replies
Prompt users for structured replies with a menu of options. - Buttons
Add buttons to link to websites, deep link to apps or other parts of Twitter. - Conversation management
Properties to help manage the conversation between multiple applications. - Custom profiles
Display a custom profile image and name in a Direct Message. - Customer feedback cards
Prompt users for NPS and CSAT feedback.