You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-api/webhooks/introduction.mdx
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,3 @@
1
-
---
2
-
3
1
# V2 Webhooks API
4
2
5
3
[V2 Account Activity API](#v2-webhooks-api)
@@ -60,7 +58,7 @@ In order to register a new webhook associated with your X app, you’ll need to
60
58
* A first step is writing code that receives a X Challenge Response Check (CRC) GET request and responds with a properly formatted JSON response.
61
59
* Register your webhook URL. You will make a POST request to a /2/webhooks endpoint with the URL in the json body. When you make this request X will send a CRC request to your web app.
62
60
* When a webhook is successfully registered, the response will include a webhook id. This webhook id is needed later when making requests to products that support webhooks.
63
-
* X will send POST requests containing events to the URL you registered. These events will be encoded in JSON. See [HERE](http:///x-api/account-activity/fundamentals#account-activity-data-object-structure) for example webhook JSON payloads.
61
+
* X will send POST requests containing events to the URL you registered. These events will be encoded in JSON. See [here](https://docs.x.com/x-api/account-activity/introduction#account-activity-data-object-structure) for example webhook JSON payloads.
0 commit comments