Visitor

Find a visitor by either their shortId (the human-friendly id used in the Dashboard URL) or their internal visitorId (UUID). Returns the full visitor record including name, email, country, device, and other attributes.

POST
https://api.seline.com/api/v1/visitor
Click anywhere to copy

Either shortId or visitorId must be provided. If both are passed, shortId takes precedence.

Parameters

projectId
stringRequired for account API keys
Project id to query. Required when using an account-wide API key. Ignored for project API keys.
shortId
stringRequired if no visitorId is provided
Visitor's shortId. It's the human-friendly id shown in the Dashboard URL (e.g. kxw18m).
visitorId
stringRequired if no shortId is provided
Visitor's internal id (UUID). Use this when you have the full id from another endpoint response.
Example request
curl -X POST 'https://api.seline.com/api/v1/visitor' \
-H 'Authorization: Bearer API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"shortId": "kxw18m"
}'
Click anywhere to copy
Response
{
"id": "a3f0...e1b8",
"shortId": "kxw18m",
"name": "Alex K.",
"email": "alex@example.com",
"country": "US",
"device": "desktop",
"browser": "Chrome",
"os": "macOS",
"firstSeenAt": "2025-08-04T19:23:11Z",
"lastEventAt": "2025-09-09T13:02:48Z"
}
Click anywhere to copy