Events
Create an event
POST
https://api.sparkloop.app/v1/campaigns/:campaign_uuid/subscribers/:subscriber_uuid/events
Path Parameters
Name
Type
Description
campaign_uuid*
string
Campaign's UUID, for example MF9a78983d1c
subscriber_uuid*
String
Subscriber's UUID or email address
Headers
Name
Type
Description
X-Api-Key*
string
Your API key
Request Body
Name
Type
Description
value*
float
Monetary value of the event. For example 23.9
descripton
string
Description of the event. For internal use only. Eg: "Purchase of Premium membership"
{
"event": {
"value": 1490,
"campaign_uuid": "MFeeb4c28df0",
"subscriber_uuid": "sub_3138d33419",
"created_at": "2021-11-29T10:14:20.955Z"
}
}
Last updated
Was this helpful?