Skip to content

Attribute the current user as referred by a code (first-touch, one-time, best-effort)

POST
/api/v1/referrals/attribute
curl --request POST \
--url https://example.com/api/v1/referrals/attribute \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "code": "example" }'
Media typeapplication/json
object
code
required
string
>= 1 characters <= 64 characters
Examplegenerated
{
"code": "example"
}