Webhooks
Update webhook
Updates a webhook<br>Required scopes: <b>administration</b>
put/partner_api/v1/webhooks/{id}
Request
- Base URLhttps://api.contentsnare.com
- Auth
- OAuth 2Authorization code: /oauth/authorizationToken URL: /oauth/token scopes: administration
- or HTTP bearer
Path parameters
idstring required
Request body
Example request
{
"enabled": true,
"subscriptions": [
"client_created",
"client_updated",
"client_destroyed"
],
"url": "https://example.com/handle_webhook"
}Response
successful
Example response
{
"enabled": true,
"id": "whk_ObYa4GYbUdoN9X",
"subscriptions": [
"client_created",
"client_updated",
"client_destroyed"
],
"type": "api (or ui)",
"url": "https://example.com/handle_webhook"
}Changes
No recorded changes to this operation across all 1 revision of this API.