Events

Create an event

POST https://api.sparkloop.app/v2/subscribers/:identifier/events

Path Parameters

Name
Type
Description

identifier*

String

Subscriber's UUID or email address

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"

campaign_uuid*

String

Referral campaign UUID, e.g. MF9a78983d1c.

{
    "event": {
        "value": 1490,    
        "subscriber_uuid": "sub_3138d33419",
        "created_at": "2021-11-29T10:14:20.955Z"
    }
}

Last updated