API

The Web Services API allows for Create/Update/Delete of Temporary Visitor Credentials to allow temporary access to a building or allow for pre-registration of Visitors via a CRM or HMS.

Resources

EvTrack exposes an REST API which can be called remotely or locally to access and manage Visitor Invites. An overview of the REST API is located here:

Getting Started

  1. Configure API Key, Navigate to Configuration > API Keys and add a new API Key. More Info
  2. Test API with cURL:

Example Visitor Invite Registration:

curl -X 'POST' \
  'https://service.evtrack.com/api/ws/v1/invites' \
  -H 'accept: application/json' \
  -H 'Authorization: LeM7xfYqRM2ylpOhQIYmOnDNKJCGChkfiPb7HE/z4+igETi+kunzwNOj1NY9+705fT589c1oh04HHSohamdE40zuZpv/3EweWMnVzSXo89c=' \
  -H 'Content-Type: application/json' \
  -d '{
  "activation": "2021-07-07T13:25:43.366Z",
  "email": "grant@evtrack.com",
  "expiry": "2021-07-10T13:25:43.366Z",
  "first_name": "Grant",
  "last_name": "Miller",
  "location": "542 Main Street",
  "mobile": "+12125680012"
}'
Response
{
  "code": 201,
  "message": "created",
  "registrationId": "57fa54a4-d6a5-4a04-a559-b97d6043dccf",
  "visitorId": "b793da5f-476c-4f54-9eb5-daa4db21d70d",
  "type": "QR_CODE",
  "accessCode": "d617278d",
  "inviteLink": "https://app.evtrack.com/i/u/57fa54a4-d6a5-4a04-a559-b97d6043dccf"
}

Example User Database Search by Mobile Number:

curl -X 'GET' \
  'https://service.evtrack.com/api/ws/v1/users?start=0&limit=500&mobile=%2B12125680012' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer LeM7xfYqRM2ylpOhQIYmOnDNKJCGChkfiPb7HE/z4+igETi+kunzwNOj1NY9+705fT589c1oh04HHSohamdE40zuZpv/3EweWMnVzSXo89c='
Response
{
  "entries": [
    {
      "uuid": "21bf9d3b-8c8f-4eec-a398-c9650d0dc2c0",
      "email": "grant@evtrack.com",
      "first_name": "Grant",
      "last_name": "Miller",
      "mobile": "+12125680012"
    }
  ],
  "start_index": 0,
  "count_returned": 1,
  "total_count": 50
}