Webhooks
Create webhook
Creates a new webhook<br>Required scopes: <b>administration</b>
post/partner_api/v1/webhooks
Request
- Base URLhttps://api.contentsnare.com
- Auth
- OAuth 2Authorization code: /oauth/authorizationToken URL: /oauth/token scopes: administration
- or HTTP bearer
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.