Create webhook endpoint
Webhooks
Create webhook endpoint
Registers a new webhook endpoint. The generated secret is returned once - store it securely.
POST
Create webhook endpoint
Documentation Index
Fetch the complete documentation index at: https://docs.social-api.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...
Body
application/json
Endpoint config
Events is the list of event types to subscribe to.
Available options:
post.scheduled, post.published, post.failed, post.partial, post.updated, post.deleted, post.unpublished, post.retried, comment.received, dm.received, dm.sent, dm.referral, dm.status.sent, dm.status.delivered, dm.status.read, dm.status.failed, review.received, mention.received, account.connected, account.disconnected Example:
["comment.received", "dm.received"]URL is the HTTPS endpoint that will receive webhook POST requests.
Example:
"https://example.com/webhooks/socialapi"
Response
Endpoint created