Create webhook endpoint
Webhooks
Create webhook endpoint
Registers a new webhook endpoint and performs a live reachability ping. If the endpoint is unreachable or returns an unexpected response, the request fails with 400 (webhook_verification_failed). The generated secret is returned once - store it securely.
POST
Create webhook endpoint
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.postback, dm.status.sent, dm.status.delivered, dm.status.read, dm.status.failed, review.received, mention.received, account.connected, account.disconnected, page.removed Example:
URL is the HTTPS endpoint that will receive webhook POST requests.
Example:
"https://example.com/webhooks/socialapi"
Response
Endpoint created