Base URL
Authentication
Hologram supports HTTP Basic authentication using API keys. Set the username toapikey
and use your API key as the password.
Using cURL
Using authorization header
You can also base64 encodeapikey:YOUR_API_KEY
and include it in the Authorization header:
API access levels
- Read Access: Available to Editor roles and higher.
- Write Access: Varies by endpoint based on role access, generally limited to Admin and Manager roles.
Requests
Request bodies can be provided in either JSON or form-urlencoded formats:JSON format (recommended)
Form-urlencoded format
Responses
Important: All Hologram dates and times are in UTC.
Response format
All API responses are JSON objects that include the following fields.Indicates whether the request was successful.
Contains the requested data or information about the operation performed. Only present when
success
is true.Information about why the request failed. Only present when
success
is false.Limited responses
Most GET responses will also include the following fields if a limit is included as part of the query string:Rate limiting
In order to provide a consistent quality of service to all of our customers, we enforce a rate limit on all API requests. If you exceed the rate limit you will receive a HTTP 429 response with a JSON response body like this:Generating an API key
Find your account API key in the Hologram Dashboard under the Settings section in the main menu, then opening the API page. Your API can be used to access all organizations you are a member of.Organization IDs
Many endpoints accept anorgid
parameter to filter for devices within a specific organization. Learn how to find your organization’s in our Help Center guide.
Caution: Keep your API key secure and never store it in publicly accessible places like GitHub repositories.