WebhookCreateRequest
Request to create a webhook subscription. url must be http/https; events must be a non-empty list of known event types. The signing secret is generated server-side and returned once (clients do not supply it).
urlstringnullable
Destination URL deliveries are POSTed to; must be http or https
Example:
https://example.com/webhooks/adbridgeeventsstring[]nullable
Non-empty list of event types to subscribe to
Possible values: [offer.accepted, offer.rejected, optin.completed, invitation.accepted, creative.ready, creative.failed]
WebhookCreateRequest
{
"url": "https://example.com/webhooks/adbridge",
"events": [
"offer.accepted"
]
}