Skip to main content
POST
Create a webhook endpoint

Authorizations

Authorization
string
header
required

Workspace API key, e.g. sa_live_…. Scopes: read / write / track / *.

Body

application/json
url
string<uri>
required
Example:

"https://your-app.com/hooks/affixo"

events
string[]

Event names to subscribe to, or ["*"] for all (the default). Available events: affiliate.created, conversion.created, conversion.reversed, commission.confirmed, commission.reversed, payout.paid, fulfilment.pending, fulfilment.completed, fulfilment.cancelled.

Example:
description
string
Example:

"Production webhook"

Response

Endpoint created (includes secret)

object
string
Example:

"webhook_endpoint"

data
object