List webhook endpoints
curl --request GET \
--url https://api.social-api.ai/v1/webhooks \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/webhooks', 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"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 123,
"data": [
{
"created_at": "2026-03-14T09:00:00Z",
"events": [
"comment.received",
"dm.received"
],
"id": "wh_01HZ9X3Q4R5M6N7P8V2K0W1J",
"is_active": true,
"url": "https://example.com/webhooks/socialapi"
}
]
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}Webhooks
List webhook endpoints
Returns all webhook endpoints for the authenticated user.
GET
/
webhooks
List webhook endpoints
curl --request GET \
--url https://api.social-api.ai/v1/webhooks \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/webhooks', 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"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 123,
"data": [
{
"created_at": "2026-03-14T09:00:00Z",
"events": [
"comment.received",
"dm.received"
],
"id": "wh_01HZ9X3Q4R5M6N7P8V2K0W1J",
"is_active": true,
"url": "https://example.com/webhooks/socialapi"
}
]
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}