Skip to main content
This guide creates a custom app, uploads an account with custom attributes and entitlements, and lists the app’s accounts. A custom app is an app that Lumos has no integration for, so you send its accounts yourself.

Authentication

Send an API token as a bearer token on every request to the Lumos API. To check that your token works, get the user it belongs to:
cURL
Authentication covers creating a token and what it can do.

1. Create a custom app

Send label_override, category_override, and description_override to Create App, with no app_class_id. category_override must be a label from List App Categories.
cURL
Create App returns 201 with the app. Note its id, which you send as app_id in the next call.

2. Upload accounts with custom attributes and entitlements

Send the app’s id and the accounts to Upload Accounts. Each account needs a unique_identifier. entitlements lists the access the account holds, and attributes carries custom attributes.
cURL
The upload runs in the background. The call returns 202 with an operation. Note the operation’s id. Uploading accounts lists every field an account can carry.

3. Wait for the upload to finish

Poll Get Operation until done is true:
cURL
When done is true, the operation carries result if the upload succeeded, or error if it failed. Long-running operations covers polling.

4. List the app’s accounts

cURL
List Accounts returns the accounts a page at a time, as Pagination describes.