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": "4a9538a5-97e3-4cf7-9207-928ef6462f9e",
"events": [
"account.deleted",
"circle.created"
],
"created_at": "2026-01-25T17:42:56+00:00",
"updated_at": "2026-01-25T17:42:56+00:00",
"signing_secret": "hN1mU20ArXXo60GG34d5ClUwPxDk3QcJjG4jDYZOSC5fF79bwHQVlfEWBVwU",
"last_outgoing_webhook_call_at": "2026-01-25T17:42:56+00:00"
}