Register a webhook endpoint
Registers a URL that receives ALL events (post.published, post.partially_failed, post.failed, post.scheduled, account.unauthorized, image.completed, image.failed). Deliveries are HTTP POSTs with a WebhookEventPayload body, retried up to 5 times with exponential backoff. Each request includes x-adaptly-signature, x-adaptly-timestamp, x-adaptly-event, and x-adaptly-webhook-id headers. Webhooks are auto-disabled after 20 consecutive failed deliveries.. Requires the webhooks.manage permission.
Request
- Base URL: https://post.adaptlypost.com/post/api/v1
- URL: https://post.adaptlypost.com/post/api/v1/webhooks
- Auth: HTTP bearer
Headers
The workspace to act in, for OAuth sign-ins that reach several workspaces. Take the id from GET /workspaces. Without it the call lands in the default workspace. A workspace the caller cannot reach answers 403 with code: workspace_access_denied. An API key belongs to one workspace: send its own id or leave the header out
Request body
Response
Created webhook (the only response that includes the signing secret)
Changes
No recorded changes to this operation across all 2 revisions of this API.