Webhooks
Last updated
Last updated
POST
https://api.sparkloop.app/v1/campaigns/:campaign_uuid/webhooks
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://api.sparkloop.app/v1/campaigns/:campaign_uuid/webhooks
Webhooks are returned in descending order of creation.
GET
https://api.sparkloop.app/v1/campaigns/:campaign_uuid/webhooks/:uuid
PUT
https://api.sparkloop.app/v1/campaigns/:campaign_uuid/webhooks/:uuid
DELETE
https://api.sparkloop.app/v1/campaigns/:campaign_uuid/webhooks/:uuid
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
:campaign_uuid*
String
Campaign's UUID
X-Api-Key*
String
API Key
url*
String
Webhook's URL
new_referral
boolean
If you want to receive webhook notifications for new referrals
reward_unlocked
boolean
If you want to receive webhook notifications when rewards are unlocked
:campaign_uuid*
String
Campaign's UUID
X-Api-Key*
String
Api Key
:uuid*
String
Webhook's UUID
:campaign_uuid*
String
Campaign's UUID
X-Api-Key*
String
API Key
:uuid*
String
Webhook's UUID
:campaign_uuid*
String
Campaign's UUID
X-Api-Key*
String
API Key
url
String
Webhook's URL
new_referral
boolean
If you want to receive webhook notifications for new referrals
reward_unlocked
boolean
If you want to receive webhook notifications when rewards are unlocked
:uuid*
String
Webhook's UUID
:campaign_uuid*
String
Campaign's UUID
X-Api-Key*
String
API Key