Notifications Webhooks
Creates a new webhook for an account
Creates a new webhook subscription for an account. This allows your application to receive real-time notifications for specific events.
post/accounts/{account_id}/webhooks
Request
- Base URLhttps://api.cint.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"url": "https://example.com/webhook",
"events": [
"target-group-updated",
"quota-fill-registered"
],
"compression": "gzip"
}Response
The webhook was created successfully.
Important: The secret is only returned on creation. You must store it securely, as you will need it to verify the signature of incoming webhook requests.
Example response
{
"id": "01JPVZD75DW4KRP7MPFMF6KGZX",
"url": "https://example.com/webhook",
"events": [
"target-group-updated",
"quota-fill-registered"
],
"compression": "gzip",
"secret": "FP7UPZpATKBcYJj4va95PYud+a3gCidRERiLO+9MoFE=",
"created_at": "2023-01-01T23:00:00.000Z",
"updated_at": "2023-01-01T23:05:00.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.