The x-api-key header value to be used on this API is your partner API key, which can be generated through the dashboard.
Your endpoint URL that will receive the event webhooks
The event you are subscribing to. Note that if an event is not specified, all events for the entity type specified will be subscribed to.
Integer representing an enum of one of the following entity type values to subscribe to :Show possible entity type values
- USER (1) : Indicating a user entity
- CAMPAIGN (2) : Indicating a campaign entity
- TRANSACTION (3) : Indicating a reward transaction entity
To delete an endpoint subscription , just use this API with an empty endpoint parameter
Return values
A true or false value indicating whether the subscription was succesful.
{
"code": "ok",
"data": {
"subscribed": true
}
}