Dear X Developer Community,

We’re excited to announce that the Account Activity API v2 is now available in the X API, to manage webhooks, event subscriptions and for real-time events.

New Webhooks v2 endpoints:

You can manage webhooks using the below endpoints:

POST /2/webhooks
GET /2/webhooks
DELETE /2/webhooks/:webhook_id
PUT /2/webhooks/:webhook_id

New AAAPI v2 endpoints:

POST /2/account_activity/webhooks/:webhook_id/subscriptions/all
GET /2/account_activity/webhooks/:webhook_id/subscriptions/all
DELETE /2/account_activity/webhooks/:webhook_id/subscriptions/:user_id/all
GET /2/account_activity/webhooks/:webhook_id/subscriptions/all/list
GET /2/account_activity/subscriptions/count
POST /2/account_activity/replay/webhooks/:webhook_id/subscriptions/all

For the full list of endpoints, request/response structures, subscription events and payload structures please refer to the X API v2 Account Activity API documentation.

Developers currently using legacy Account Activity API are encouraged to begin migrating following AAA V2 Migration guide.

We appreciate your feedback and are committed to making the X Developer Platform better for you. If you have questions or need support, reach out to us via the X Developer Forums.

Thank you,

X Developer Platform Team

18 Likes