Base URL
Authentication
Authorization header:Key concepts
- Every request that touches campaign data requires a
campaign_idparameter - Users (referrers and leads) have both an
id(internal Referral Factory ID) and anidentifier(email or code) - Some endpoints use
{id}in the URL, others use{identifier}— use the right one for each endpoint (see API documentation)
Core endpoints
GET /api/v2/users/{identifier}— retrieve a user by identifierPOST /api/v2/users— create a new referrer or leadPUT /api/v2/users/{id}— update a userPUT /api/v2/users/qualification— qualify or unqualify a leadDELETE /api/v2/users/{id}— delete a user
