Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

API key passed as a Bearer token in the Authorization header. You can find your API Key on Your FirstPromoter Dashboard. Navigate to Settings → Integrations section → Manage API Keys

Headers

Account-ID
string
required

Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations

Body

application/json
email
string
required

Email of the lead/sign-up. Required if uid is not provided.

uid
string

uid of the lead added on signup tracking. Required if email is not provided.

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