Webhook subscriptions
Create Webhook Subscription
This operation creates a new webhook subscription by specifying its details.
post/public/v1/webhook-subscriptions
Request body
Example request
{
"name": "My Subscription",
"url": "https://example.com",
"payload": [
"pricing"
],
"triggers": [
"document_state_changed"
]
}Response
Webhook subscription created
Example response
{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "My Subscription",
"url": "https://example.com",
"active": true,
"payload": [
"pricing"
],
"triggers": [
"document_state_changed"
],
"workspace_id": "Nq8htXxFssmhRxAPSP4SBP",
"shared_key": "587c22285F57883db3ee",
"status": "ACTIVE"
}