Skip to content

Commit 5b6168d

Browse files
Documentation edits made through Mintlify web editor
1 parent 51c40b6 commit 5b6168d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

x-api/account-activity/introduction.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The Account Activity API provides webhook-based JSON messages any time there are
4646

4747
### 1\. Create an X App
4848

49-
Create an X app with an approved developer account from the [developer portal](https://developer.x.com). If creating the app on behalf of your company, use a corporate X account.
49+
Create an X app with an approved developer account from the [developer portal](https://developer.x.com/en/portal/products/enterprise). If creating the app on behalf of your company, use a corporate X account.
5050

5151
* Enable “Read, Write, and Access direct messages” on the permissions tab of your app page.
5252
* On the "Keys and Access Tokens" tab, note your app’s **Consumer Key (API Key)**, **Consumer Token (API Secret)**, and **Bearer Token**.
@@ -82,7 +82,7 @@ To validate that your app and webhook are configured correctly:
8282
* If two subscribed users are in the same DM conversation, your webhook receives duplicate events (one per user). Use the for\_user\_id field to distinguish them.
8383
* If multiple apps share the same webhook URL and user, events are sent multiple times (once per app).
8484
* Your app should deduplicate events using the event ID to handle occasional duplicates.
85-
* **Example Code**: See the [Enterprise Account Activity API Setup](https://github.com/xdevplatform/account-activity-sample) for a Node.js web app that displays webhook events.
85+
* **Example Code**: See the [Account Activity API Setup](https://github.com/xdevplatform/account-activity-dashboard-enterprise/tree/master) for a web app that displays webhook events.
8686

8787
## Managing Subscribed Users (v2 API)
8888

@@ -849,7 +849,7 @@ This ensures that applications can process the entire content of longform posts,
849849

850850
## Account Activity API Migrating from Legacy Enterprise to v2
851851

852-
See our Migration Guide\!
852+
See our [Migration Guide](https://docs.x.com/x-api/account-activity/migrate/overview)!
853853

854854
## Frequently Asked Questions
855855

@@ -863,11 +863,11 @@ The Account Activity API uses webhooks, delivering data in real-time without req
863863

864864
**I need development, staging, and production environments for Account Activity API, is this possible?**
865865

866-
Yes\! With Enterprise tiers, you can register multiple webhook URLs and manage subscriptions separately via the [V2 Webhooks API](https://developer.x.com/en/docs/webhooks).
866+
Yes\! Tou can register multiple webhook URLs and manage subscriptions separately via the [V2 Webhooks API](https://docs.x.com/x-api/webhooks/introduction).
867867

868868
**Do you have any step-by-step guides on how to get set up with the Account Activity API?**
869869

870-
Yes\! See the [Getting Started with Webhooks guide](https://developer.x.com/en/docs/webhooks) and the [Account Activity API Sample Application](https://github.com/xdevplatform/account-activity-sample).
870+
Yes\! See the [Getting Started with Webhooks guide](https://docs.x.com/x-api/webhooks/introduction) and the [Account Activity API Sample Application](https://github.com/m-rosinsky/XWebhookTest/blob/main/app.py).
871871

872872
**What authentication do I have to use with the Account Activity API?**
873873

@@ -896,4 +896,4 @@ The webhook limit is set at the account level, not per app. For example, with th
896896
| Deactivates a subscription using app-only OAuth | DELETE /2/account\_activity/webhooks/:webhook\_id/subscriptions/:user\_id/all |
897897
| Creates a replay job | POST /2/account\_activity/replay/webhooks/:webhook\_id/subscriptions/all |
898898

899-
For webhook management endpoints (register, view, validate, delete), see the [V2 Webhooks API documentation](https://developer.x.com/en/docs/webhooks)
899+
For webhook management endpoints (register, view, validate, delete), see the [V2 Webhooks API documentation](https://docs.x.com/x-api/webhooks/introduction)

0 commit comments

Comments
 (0)