Webhook
Create a webhook
Registers a new webhook endpoint with an auto-generated signing secret.
Base URL
https://app.usesaki.com/apipost
/spaces/{space}/webhooksCreate a webhook
Registers a new webhook endpoint with an auto-generated signing secret.
Authorization
Bearer <token>Path Parameters
spacerequiredintegerThe space ID
Request Bodyrequired
application/jsonurlrequiredstringeventsrequired"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
{}