Skip to main content
POST
cURL

Authorizations

X-API-KEY
string
header
required

Query Parameters

email
string

required if uid is null

Email of the lead/sign-up

uid
string

required if email is null

uid of the lead added on signup tracking

event_id
string

Unique ID of the cancellation event from your billing provider. Used for deduplication.

created_at
string<date-time>

ISO 8601 date string of when the cancellation occurred. Defaults to now.

skip_email_notification
boolean

Set to true to skip email notifications. Default is false.

Response

Success response

id
integer
Example:

33848911

type
string
Example:

"cancellation"

amount_cents
integer | null
Example:

null

reward
object | null
Example:

null

lead
object
promoter
object