Analytics
Get visitor by numeric ID with geolocation data
Changed onget/analytics/visitors/id/{id}
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
idinteger required
Visitor numeric ID
Query parameters
project_idinteger required
Project ID
environment_idinteger
Environment ID (optional)
Response
Successfully retrieved visitor with geolocation
Example response
{
"first_seen": "2024-01-01T00:00:00",
"last_seen": "2024-01-01T00:00:00"
}Changes
- breaking
the response property
environment_idbecame nullable for the status - breaking
the response property
environment_idbecame optional for the status
- breaking
- info
added the optional property
first_channelto the response with the status
2 more changes in this revision
- info