Update webhook subscription
PATCH/webhooks/{id}
Update a webhook subscription by ID.
Headers
AuthorizationRequired
Bearer authentication of the form Bearer <token>, where token is your auth token
Path parameters
idstringRequired
Webhook subscription ID
Request
Webhook subscription params
is_activeboolean
Indicates whether the webhook subscription should be created as active
topicenumRequired
The topic of the webhook subscription
urlstringRequired
The URL to which webhook events will be sent
Example Request
curl -X PATCH https://api.parsel.app/webhooks/123e4567-e89b-12d3-a456-426614174000
-H "Authorization: Bearer <bearer_token>"
-H "Content-Type: application/json"
-d '{
"is_active": true,
"topic": "LABEL_TRACKING_UPDATED",
"url": "https://example.com/webhook"
}'