Body
Required
-
The events the webhook subscription is subscribed to. The available events are: account.created, account.updated, account.deleted, account.annual-review-date-occurred, circle.created, circle.updated, circle.deleted, plan.created, plan.updated, plan.deleted, case.created, case.updated, case.deleted, task.created, task.updated, task.deleted, task.completed, fact-find.completed and form-submission.completed
PUT
/api/v2/webhook-subscriptions/{uuid}
curl \
--request PUT 'https://api.plannrcrm.com/api/v2/webhook-subscriptions/6ff8f7f6-1eb3-3525-be4a-3932c805afed' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"events":["account.deleted","circle.created"]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"events": [
"account.deleted",
"circle.created"
]
}
Response examples (200)
{
"url": "https://api.example.com/webhooks",
"uuid": "020a8173-ab9f-4a6a-965c-b39947c4dbec",
"events": [
"account.deleted",
"circle.created"
],
"created_at": "2025-07-03T15:26:37+01:00",
"updated_at": "2025-07-03T15:26:37+01:00",
"signing_secret": "uEqpDHcd7oZiDDI3u6ReUl7gOb2cjYWYfdiMMiCtCoBVrxdqFcU5apTpVZrL",
"last_outgoing_webhook_call_at": "2025-07-03T15:26:37+01:00"
}