PilotFoxDocs

Identify the tracker's visitor

POST
/api/i

What the tracker's identify() sends: links the visitor making the request (its IP address and User-Agent, as for events) to the user id uid, with optional traits. No credential; 8 KB at most (413 past it), and the event rate limit (429). 204 whether it was stored or dropped by the site's exclusions or bot rules; 400 for a malformed body, 404 for an unknown site.

Request Body

  1. body
site*string
Length1 <= length
uid*string
traits?unknown
bs?number
bm?number

Response Body

Taken, or dropped by the site's exclusions or bot rules: ingest never says which

Example Request
curl -X POST 'https://pilotfox.app/api/i' \  -H 'Content-Type: application/json' \  -d '{  "site": "string",  "uid": "string"}'
Example Response204
Empty