List available webhook event types
curl --request GET \
--url https://api.social-api.ai/v1/webhooks/events \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/webhooks/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/webhooks/events"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 123,
"data": [
{
"category": "<string>",
"description": "<string>",
"event": "<string>"
}
]
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}Webhooks
List available webhook event types
Returns the catalog of webhook event types you can subscribe to, grouped by category (posts, inbox, accounts).
GET
/
webhooks
/
events
List available webhook event types
curl --request GET \
--url https://api.social-api.ai/v1/webhooks/events \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/webhooks/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/webhooks/events"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 123,
"data": [
{
"category": "<string>",
"description": "<string>",
"event": "<string>"
}
]
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}