Subscribe a webhook (REST hook)
POST
/a/hooksThis endpoint is deprecated and may be removed in a future version.
Registers a target URL for one event. Used by the Zapier and Make apps for instant triggers; the endpoint then appears in Tools → Webhooks.
Authentication
API Key (header: X-Api-Key)
Domain ID — your network's tenant ID (header: X-Domain-Id)
Affiliate ID (header: X-Affiliate-Id)
No API key yet? Start a 14-day free trial and generate a key from your dashboard's security settings. No credit card required.
Request Body *
Content-Type: application/json
| Field | Type | Required | Description |
|---|---|---|---|
target_url | string | Yes | |
event | string (conversion.created | conversion.status_changed | affiliate.signup | affiliate.status_changed | cap.reached) | Yes | |
campaign_id | integer | No | |
affiliate_id | integer | No | |
app | string (zapier | make) | No |
Responses
| Status | Description |
|---|---|
| 201 | Subscribed |
| 422 | Validation error |
Response fields (inside data)
| Field | Type | Description |
|---|---|---|
id | integer | |
event | string |