Subscribe to account activity
Account Activity API
Overview
The Account Activity API provides you the ability to subscribe to realtime activities related to a user account via webhooks. This means that you can receive realtime Tweets, Direct Messages, and other account events from one or more of your owned or subscribed accounts through a single connection.
You will receive all related activities below for each user subscription on your webhook registration:
Activity types | |
---|---|
|
|
Please note - We do not deliver home timeline data via the Account Activity API. Please use the GET statuses/home_timeline to pull this data.
Video Series
Check out our four-part video series on the Account Activity API to get up to speed!
Today we announced the Account Activity API is generally available as a premium and enterprise API. 🔔 pic.twitter.com/xnlF9kPevi
— Twitter Dev (@TwitterDev) May 16, 2018
Feature summary
Tier | Pricing | Number of unique subscriptions | Number of webhooks | Reliability and Activity Recovery |
---|---|---|---|---|
Premium | Free (Sandbox) | Up to 15 | 1 | No retries |
Premium | Paid | Up to 25, 50,100, 250 | 2 | Retries |
Enterprise | Contact sales | Up to 500+ | 3+ | Retries |
Next steps
- Apply for access and get started with webhooks.
- Check out our API references to find the right endpoint for the job.
- Follow this step-by-step tutorial on how to build a customer engagement application on Twitter.
- Have questions? Running into errors?
- Read our Frequently asked questions or Error Troubleshooting guide.
- Ask a question on the community forum.
- Explore our sample code:
- Premium Account Activity API dashboard, a node web app that displays webhook events.
- The SnowBot chatbot, a Ruby web app built on the enterprise Account Activity and Direct Message APIs.