Saki Docs
Webhook

Create a webhook

Registers a new webhook endpoint with an auto-generated signing secret.

Base URLhttps://app.usesaki.com/api
post/spaces/{space}/webhooks

Create a webhook

Registers a new webhook endpoint with an auto-generated signing secret.

AuthorizationBearer <token>

Path Parameters

spacerequiredinteger

The space ID

Request Bodyrequired

application/json
urlrequiredstring
eventsrequired"post.published" | "post.failed" | "post.scheduled" | "account.connected" | "account.disconnected"[]

Response

curl -X POST "https://app.usesaki.com/api/spaces/{space}/webhooks" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://example.com",
  "events": [
    "post.published"
  ]
}'
Response
{}