POST
/
v2
/
tracking
/
conversion
curl --request POST \
  --url https://api.getreditus.com/api/v2/tracking/conversion \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "affiliate_slug": "<string>",
  "email": "<string>",
  "uid": "<string>",
  "gr_id": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "type": "<string>",
    "attributes": {
      "email": "<string>",
      "uid": "<string>",
      "state": "<string>",
      "state_set_at": 123,
      "created_at": 123,
      "updated_at": 123
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
affiliate_slug
string
required

URL parameter of the affiliate (i.e. https://company.com?red=john -> john)

email
string

required if uid is not set - Email of the referral

uid
string

required if email is not set - Your internal ID of the user/customer

gr_id
string

Cookie set by the tracking script in the referral's browser. Used to match the exact click that converted.

Response

201
application/json
Successful conversion
data
object