cURL
curl --request POST \ --url https://api.social-api.ai/v1/webhooks \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "events": [ "<string>" ], "url": "<string>" } '
{ "events": [ "<string>" ], "id": "<string>", "message": "<string>", "secret": "<string>", "url": "<string>" }
Registers a new webhook endpoint. The generated secret is returned once — store it securely.
Prefix your API key with "Bearer ". Example: Authorization: Bearer soc_live_...
Authorization: Bearer soc_live_...
Endpoint config
Endpoint created