Skip to main content
POST
Create a webhook endpoint

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Body

application/json
url
string<uri>
required

HTTPS URL to deliver events to. Must be publicly accessible.

events
enum<string>[]
required

Event types to subscribe to. Use ["*"] to receive all events.

Webhook event type. Use "*" to subscribe to all events.

Available options:
post.published,
post.failed,
post.scheduled,
clip.render.completed,
clip.render.failed,
agent.run.completed,
agent.run.failed,
*
secret
string

Signing secret used to verify webhook payloads. If provided, each delivery includes an X-Autoposting-Signature header with an HMAC-SHA256 signature.

enabled
boolean
default:true

Whether the webhook is active. Default: true.

Response

Webhook created

success
boolean
required
data
object
required