API Authorization

The Locktera API is an HTTPS REST API, and requests must be authorized by an API key. The API key used determines what user is recorded in audit logs, as well as what actions are permitted by the API.

To authorize an API request, include the API key as an Authorization header in Bearer format, e.g.:

GET /me
Authorization: Bearer $API_KEY_HERE

As an easy way to ensure your API key is working and valid, you can use the /me endpoint to retrieve information about your current user.