Lumos API Hostname
Authentication
Lumos authenticates API requests using API keys. You will need to pass in a header to all requests to the Lumos API like this one.Example cURL command
Creating an API Token
- Go to the API Tokens page in the Lumos settings.
- Click “Add API Token.”
- Enter a Name and a Description.
- Click “Create API Token.”
lsk_.
Testing the API
You can test the API using the command line or an app such as Postman. To use Postman:- In Postman, go to Import (or File → Import) and enter this URL: https://api.lumos.com/openapi.json. Postman will create a collection from the spec.
- Set Authorization to Bearer and use your API token as the value (in the collection or on individual requests).
Pagination
Many Lumos endpoints for listing data support paginated responses. These endpoints usepage and size as query parameters to control pagination.
Example Paginated Request