Capvant

Change a subscription

put
https://sandbox.capvant.com/partner/v1/webhook-subscriptions/{id}
PUT
/webhook-subscriptions/{id}

Public https endpoint.

Send url, events or active. Omitted fields keep their current value. The secret cannot be changed; delete and recreate to rotate it.

Authorization

AuthorizationBearer <token>

An access token from POST /oauth/token. Valid for one hour. Preferred, because a leaked request log then exposes an hour rather than a permanent credential.

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

Shell
curl -X PUT "https://sandbox.capvant.com/webhook-subscriptions/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
JSON
{  "id": "string",  "url": "string",  "events": [    "lead.created"  ],  "active": true,  "created_at": "string",  "last_success_at": "string",  "last_failure_at": "string",  "failure_count": 0}