Skip to content

Authentication

Authenticating with the Lumen Insight API is super simple. All you need is an API key with sufficient permissions.

API keys can be generated within your systems dashboard.

  1. Log in to your Lumen Insight dashboard.

  2. Navigate to the API Keys page.
    If you don’t see this page then you may not have permission. Please contact your administrator to get access.

  3. Click the Create API Key button.

  4. Choose a memorable name for your API key. This is just for you to identify it with in audit logs.

  5. Select the permissions you want to grant this API key.
    Please only select the permissions you need. The more permissions you select, the more risk you are taking on.

  6. Click Create and copy the API key to your clipboard.

Add the API key header to all your requests to the Lumen Insight API. The header should look like this:

X-API-KEY: <your-api-key>

Some API endpoints are designed to be used by visitors through the registration portal.
You can impersonate any user to perform actions on their behalf. This is useful for automating appointment requests or registrations.

Your API key will need the permission: IMPERSONATE_PORTAL_USER

You must also include these headers (in addition to the X-API-KEY header) to identify the registered user making the request:

X-IMPERSONATED-USER-FIRST-NAME: <first-name>
X-IMPERSONATED-USER-LAST-NAME: <last-name>
X-IMPERSONATED-USER-EMAIL: <email>