Analytics
Get visitor by GUID with geolocation data
Changed onget/analytics/visitors/guid/{visitor_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
visitor_idstring required
Visitor GUID (supports enc_ prefix for encrypted IDs)
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