Webhook subscriptions
Update Webhook Subscription
Changed onThis operation updates the details of a webhook subscription.
patch/public/v1/webhook-subscriptions/{id}
Request
- Base URLhttps://api.pandadoc.com
- Auth
- API key in header Authorization
- or OAuth 2Authorization codehttps://app.pandadoc.com/oauth2/authorizeToken URLhttps://api.pandadoc.com/oauth2/access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Webhook subscription uuid
Request body
Example request
{
"name": "My Subscription",
"url": "https://example.com",
"active": true,
"payload": [
"pricing"
],
"triggers": [
"document_state_changed"
]
}Response
Webhook subscription updated
Example response
{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "My Subscription",
"url": "https://example.com",
"active": true,
"payload": [
"pricing"
],
"triggers": [
"document_state_changed"
],
"workspace_id": "Nq8htXxFssmhRxAPSP4SBP",
"shared_key": "587c22285F57883db3ee",
"status": "ACTIVE"
}Changes
- warning
added the new
recipient_qes_verifiedenum value to the/response property for the response status - info
added the new
recipient_qes_verifiedenum value to the request property/
- warning