Update a webhook subscription Run in API Explorer
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,fact-find.completed-v3,form-submission.completed,bank-account.created,bank-account.updated,bank-account.deleted,bank-statement.created,bank-statement.updated,bank-statement.deleted,bank-transaction.created,bank-transaction.updated,bank-transaction.deleted,provider-statement.created,provider-statement.updated,provider-statement.deleted,transaction.created,transaction.updated,transaction.deleted,transaction.reconciled,transaction.unreconciled,statement.lock-status,conversation.message.created,conversation.message.updated,conversation.message.deleted,client-portal-document.uploaded,client-portal-document.updated, orclient-portal-document.deleted.
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"]}'
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"events": [
"account.deleted",
"circle.created"
]
}
[
{
"uuid": "a5bb9dea-0268-4560-bd02-010786a9666e",
"created_at": "2026-07-30T15:16:54+01:00",
"updated_at": "2026-07-30T15:16:54+01:00",
"signing_secret": "Ag9dl0iV937AV0GOX4WuLpkd0yfAfPQIkEnSoP7vB7iAW3zqmCqH7vWLqsnA",
"url": "https://api.example.com/webhooks",
"events": [
"account.deleted",
"circle.created"
],
"last_outgoing_webhook_call_at": "2026-07-30T15:16:54+01:00"
}
]
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}