Skip to content

Commit bfd66b7

Browse files
authored
Documentation edits made through Mintlify web editor
1 parent 604c390 commit bfd66b7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

x-api/account-activity/introduction.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ The returned Posts from Account Activity API count towards the monthly [Post cap
3434
## Feature Summary
3535

3636
| Tier | Pricing | Number of Unique Subscriptions | Number of Webhooks |
37-
| ----- | ----- | ----- | ----- |
38-
| Pro | $5000/month | 3 | 1 |
37+
| :----- | :----- | :----- | :----- |
38+
| Pro | $5000 / month | 3 | 1 |
3939
| Enterprise | [Contact sales](/enterprise/forms/enterprise-api-interest) | 5000+ | 5+ |
4040

4141
This document focuses on managing user subscriptions associated with your webhooks using v2 Account Activity API endpoints.
@@ -100,7 +100,7 @@ Once you have a registered webhook with a valid webhook\_id, you can manage user
100100
**Path Parameters**:
101101

102102
| Parameter | Description |
103-
| ----- | ----- |
103+
| :----- | :----- |
104104
| webhook\_id | The ID of the webhook to associate the subscription with. |
105105

106106
**Request**:
@@ -142,7 +142,7 @@ curl --request POST --url 'https://api.twitter.com/2/account_activity/webhooks/:
142142
**Path Parameters**:
143143

144144
| Parameter | Description |
145-
| ----- | ----- |
145+
| :----- | :----- |
146146
| webhook\_id | The ID of the webhook to check. |
147147

148148
**Request**:
@@ -185,7 +185,7 @@ curl --request GET --url 'https://api.twitter.com/2/account_activity/webhooks/:W
185185
**Path Parameters**:
186186

187187
| Parameter | Description |
188-
| ----- | ----- |
188+
| :----- | :----- |
189189
| webhook\_id | The ID of the webhook containing the subscription. |
190190
| user\_id | The numerical ID of the user to unsubscribe. |
191191

@@ -225,7 +225,7 @@ curl --request DELETE --url 'https://api.twitter.com/2/account_activity/webhooks
225225
**Path Parameters**:
226226

227227
| Parameter | Description |
228-
| ----- | ----- |
228+
| :----- | :----- |
229229
| webhook\_id | The ID of the webhook to list subscriptions for. |
230230

231231
**Request**:
@@ -306,13 +306,13 @@ AAAv2 provides replay functionality that allows you to retrieve past events for
306306
**Path Parameters**:
307307

308308
| Parameter | Description |
309-
| ----- | ----- |
309+
| :----- | :----- |
310310
| webhook\_id | The ID of the webhook to begin replay |
311311

312312
**Query Parameters**:
313313

314314
| Parameter | Description |
315-
| ----- | ----- |
315+
| :----- | :----- |
316316
| from\_date | The oldest (starting) UTC timestamp from which the events will be provided, must be in ‘yyyymmddhhmm’ format. Timestamp is in minute granularity and is inclusive (i.e. 12:00 includes the 00 minute). Valid times must be within the last 24 hours, UTC time, and no more recent than 31 minutes before the current point in time. It’s recommended that the from\_date and to\_date should be within \~2 hours. |
317317
| to\_date | The latest (ending) UTC timestamp to which the event will be provided, must be in ‘yyyymmddhhmm’ format. Timestamp is in minute granularity and is exclusive (i.e. 12:30 does not include the 30th minute of the hour). Valid times must be within the last 24 hours, UTC time, and no more than 10 minutes before the current point in time. |
318318

@@ -376,7 +376,7 @@ In the event your job does not complete successfully, we will return the followi
376376
## Account Activity Data Object Structure
377377

378378
| Object | Details |
379-
| ----- | ----- |
379+
| :----- | :----- |
380380
| for\_user\_id | Identifies the user subscription that the event is related to. |
381381
| is\_blocked\_by | (Conditional) Shown only for Post mention events if the mentioning user is blocked by the subscribed user. |
382382
| source | The user performing the activity (e.g., the user following, blocking, or muting). |
@@ -385,7 +385,7 @@ In the event your job does not complete successfully, we will return the followi
385385
### Available Activities
386386

387387
| Message Type | Details |
388-
| ----- | ----- |
388+
| :----- | :----- |
389389
| tweet\_create\_events | Post status for Posts, Retweets, Replies, @mentions , Quote Tweets, or Retweet of Quote Tweets. |
390390
| favorite\_events | Like event with user and target. |
391391
| follow\_events | Follow event with user and target. |
@@ -887,7 +887,7 @@ The webhook limit is set at the account level, not per app. For example, with th
887887
## Account Activity API Reference Index
888888

889889
| Purpose | V2 Endpoint |
890-
| ----- | ----- |
890+
| :----- | :----- |
891891
| Subscribes an application to an account's events | POST /2/account\_activity/webhooks/:webhook\_id/subscriptions/all |
892892
| Returns a count of currently active subscriptions | GET /2/account\_activity/subscriptions/count |
893893
| Checks if a webhook is subscribed to an account | GET /2/account\_activity/webhooks/:webhook\_id/subscriptions/all |

0 commit comments

Comments
 (0)