A visitor event is a record listing the details of a visit, including the visitor's name, where they visited, contact details, basic question answers, and sign in/out mode and time.
Use the visitor event API to retrieve your visitor event list, add a new visitor event, or update or delete a visitor event.
Returns a list of visitor sign in and out events.
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 visitor sign in and out events
Access denied to this resource
Resource not found
Internal server error
curl -i -X GET \ 'https://api.whosonlocation.com/v1/visitor/event?q=string&order=string&limit=0' \ -H 'If-Modified-Since: string'
[- {
- "id": 138,
- "created": "2021-11-25T14:47:34+13:00",
- "modified": "2021-11-25T15:01:08+13:00",
- "location_id": 301,
- "created_staff_id": 349,
- "visiting_staff_id": 823,
- "signed_in": "2021-11-25T14:47:36+13:00",
- "signed_out": "2021-11-25T15:01:08+13:00",
- "mode_in": "Kiosk",
- "mode_out": "Kiosk",
- "signed_in_by": 823,
- "signed_out_by": 823,
- "name": "Elayne Trakand",
- "email": "example-email@whosonlocation.com",
- "from": "Andor",
- "phone": "+1 206 555 0123",
- "mobile": "+1 206 555 0123",
- "title": "Ms",
- "assistance": false,
- "expected": false,
- "printed": true,
- "pass": true,
- "purpose": "Just visiting",
- "carpark_question": false,
- "carpark_registration": "MRU366",
- "carpark_number": "5",
- "cardnumber": "cn001",
- "id_verification_checked": true,
- "id_verification_type": "licence",
- "accessdenied": false,
- "id_verification_reference": "Reference verification",
- "visiting_staff_name": "Staff Member",
- "location_name": "Head Office",
- "lacp_in_name": "Reception",
- "lacp_out_name": "Reception",
- "signed_in_by_name": "Person in reception",
- "signed_out_by_name": "Person in reception",
- "onsite": "13 minutes 32 seconds",
- "type": "visit",
- "lacp_in_id": 239,
- "lacp_out_id": 239
}
]
Creates a new visitor sign in and out event.
Event created
Access denied to this resource
Internal server error
{- "name": "Elayne Trakand",
- "type": "visit",
- "location_id": 301,
- "visiting_staff_id": 534,
- "signed_in": "2021-11-25T12:01:09.380Z",
- "signed_out": "2021-11-25T13:01:09.380Z",
- "email": "example.email@example.org",
- "from": "Andor",
- "phone": "+1 206 555 0123",
- "mobile": "+1 206 555 0123",
- "title": "Ms",
- "assistance": false,
- "purpose": "visiting",
- "carpark_registration": "MRU366",
- "carpark_number": "5",
- "cardnumber": "cn001",
- "id_verification_reference": true,
- "id_verification_type": "licence",
- "lacp_in_id": 239,
- "lacp_out_id": 239
}
{- "id": 138,
- "created": "2021-11-25T14:47:34+13:00",
- "modified": "2021-11-25T15:01:08+13:00",
- "location_id": 301,
- "created_staff_id": 349,
- "visiting_staff_id": 823,
- "signed_in": "2021-11-25T14:47:36+13:00",
- "signed_out": "2021-11-25T15:01:08+13:00",
- "mode_in": "Kiosk",
- "mode_out": "Kiosk",
- "signed_in_by": 823,
- "signed_out_by": 823,
- "name": "Elayne Trakand",
- "email": "example-email@whosonlocation.com",
- "from": "Andor",
- "phone": "+1 206 555 0123",
- "mobile": "+1 206 555 0123",
- "title": "Ms",
- "assistance": false,
- "expected": false,
- "printed": true,
- "pass": true,
- "purpose": "Just visiting",
- "carpark_question": false,
- "carpark_registration": "MRU366",
- "carpark_number": "5",
- "cardnumber": "cn001",
- "id_verification_checked": true,
- "id_verification_type": "licence",
- "accessdenied": false,
- "id_verification_reference": "Reference verification",
- "visiting_staff_name": "Staff Member",
- "location_name": "Head Office",
- "lacp_in_name": "Reception",
- "lacp_out_name": "Reception",
- "signed_in_by_name": "Person in reception",
- "signed_out_by_name": "Person in reception",
- "onsite": "13 minutes 32 seconds",
- "type": "visit",
- "lacp_in_id": 239,
- "lacp_out_id": 239
}
Retrieves a single visitor sign in and out event, filtering with the provided ID.
Event returned
Access denied to resource
Resource not found
Internal server error
curl -i -X GET \ https://api.whosonlocation.com/v1/visitor/event/:id
{- "id": 138,
- "created": "2021-11-25T14:47:34+13:00",
- "modified": "2021-11-25T15:01:08+13:00",
- "location_id": 301,
- "created_staff_id": 349,
- "visiting_staff_id": 823,
- "signed_in": "2021-11-25T14:47:36+13:00",
- "signed_out": "2021-11-25T15:01:08+13:00",
- "mode_in": "Kiosk",
- "mode_out": "Kiosk",
- "signed_in_by": 823,
- "signed_out_by": 823,
- "name": "Elayne Trakand",
- "email": "example-email@whosonlocation.com",
- "from": "Andor",
- "phone": "+1 206 555 0123",
- "mobile": "+1 206 555 0123",
- "title": "Ms",
- "assistance": false,
- "expected": false,
- "printed": true,
- "pass": true,
- "purpose": "Just visiting",
- "carpark_question": false,
- "carpark_registration": "MRU366",
- "carpark_number": "5",
- "cardnumber": "cn001",
- "id_verification_checked": true,
- "id_verification_type": "licence",
- "accessdenied": false,
- "id_verification_reference": "Reference verification",
- "visiting_staff_name": "Staff Member",
- "location_name": "Head Office",
- "lacp_in_name": "Reception",
- "lacp_out_name": "Reception",
- "signed_in_by_name": "Person in reception",
- "signed_out_by_name": "Person in reception",
- "onsite": "13 minutes 32 seconds",
- "type": "visit",
- "lacp_in_id": 239,
- "lacp_out_id": 239
}
Updates a visitor sign in and out event based on the provided ID.
Information used to create the visitor event record
Updated event
Access denied to this resource
Internal server error
{- "type": "visit",
- "location_id": 301,
- "visiting_staff_id": 534,
- "signed_in": "2021-11-25T12:01:09.380Z",
- "signed_out": "2021-11-25T13:01:09.380Z",
- "mode_id": "Kiosk",
- "mode_out": "Kiosk",
- "signed_in_by": 823,
- "signed_out_by": 823,
- "name": "Elayne Trakand",
- "email": "example.email@whosonlocation.com",
- "from": "Andor",
- "phone": "+1 206 555 0123",
- "mobile": "+1 206 555 0123",
- "title": "Ms",
- "assistance": false,
- "expected": false,
- "pass": true,
- "purpose": "Just visiting",
- "carpark_question": false,
- "carpark_registration": "MRU366",
- "carpark_number": "5",
- "cardnumber": "cn001",
- "id_verification_reference": true,
- "id_verification_type": "licence",
- "accessdenied": false,
- "visiting_staff_name": "Staff Member",
- "signed_in_by_name": "Person in reception",
- "signed_out_by_name": "Person in reception",
- "onsite": "13 minutes 32 seconds",
- "lacp_in_id": 239,
- "lacp_out_id": 239
}
Deletes the specified visitor sign in and out event.
Event deleted
Access denied to resource
Resource not found
Internal server error
curl -i -X DELETE \ https://api.whosonlocation.com/v1/visitor/event/:id