Update a webhook subscription Run in API Explorer
Ask AI
Body
-
The events the webhook subscription is subscribed to.
Values 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, orform-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": "cccaf2ab-9ea9-469d-b586-a8099576f90b",
"events": [
"account.deleted",
"circle.created"
],
"created_at": "2025-12-24T11:03:00+00:00",
"updated_at": "2025-12-24T11:03:00+00:00",
"signing_secret": "gxZq6xPDIaZJHJ5RV3Z6ET6dDDGj4szyTfA1gubtVssv093aNb05MGSCKL48",
"last_outgoing_webhook_call_at": "2025-12-24T11:03:00+00:00"
}