Each employee can maintain a saved visitor list in OnLocation. Use the saved visitor API to retrieve all saved visitors, add a new saved visitor, or update or delete a saved visitor.
Learn more about saved visitors in the OnLocation Help Center.
Returns a list of all saved visitors added by employees.
A comma separated list of tag:value search parameters, a colon separator performs an exact match, a percent separator performs a starts-with search and greater/less than search number/date ranges.
List of registered visitors
Access denied to this resource
Resource not found
Internal server error
curl -i -X GET \ https://api.whosonlocation.com/v1/visitor/person
[- {
- "id": 293,
- "created": "2021-11-29T11:10:44+13:00",
- "modified": "2021-11-30T11:10:44+13:00",
- "location_id": 301,
- "created_staff_id": 823431,
- "staff_id": 823431,
- "name": "Frequent Visitor name",
- "email": "frequent.visitor@whosonlocation.com",
- "from": "Another Organisation",
- "phone": "+1 206 555 0123",
- "mobile": "+1 206 555 0123",
- "title": "Mr",
- "assistance": false,
- "type": "frequent",
- "groups": [
- [
- 197,
- 198
]
]
}
]
Retrieves a single saved visitor, filtering with the provided ID.
A visitor's details
Access denied to resource
Resource not found
Internal server error
curl -i -X GET \ https://api.whosonlocation.com/v1/visitor/person/:id
{- "id": 293,
- "created": "2021-11-29T11:10:44+13:00",
- "modified": "2021-11-30T11:10:44+13:00",
- "location_id": 301,
- "created_staff_id": 823431,
- "staff_id": 823431,
- "name": "Frequent Visitor name",
- "email": "frequent.visitor@whosonlocation.com",
- "from": "Another Organisation",
- "phone": "+1 206 555 0123",
- "mobile": "+1 206 555 0123",
- "title": "Mr",
- "assistance": false,
- "type": "frequent",
- "groups": [
- [
- 197,
- 198
]
]
}
Deletes a saved visitor using with the provided ID.
Saved visitor deleted
Access denied to resource
Resource not found
Internal server error
curl -i -X DELETE \ https://api.whosonlocation.com/v1/visitor/person/:id