- Authenticate with the Lumos API.
- Create a sample application.
- Create an account in the sample application.
- List accounts in the sample application.
Prerequisites:
- Lumos API Key (available in your dashboard).
- Postman or a similar API client.
- Basic knowledge of REST APIs.
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_.
1. Creating a sample application
cURL
2. Creating a sample account with permissions
cURL
3. Listing the created account
cURL
Testing the API
You can further test the API by using:- Developer Portal: developers.lumos.com
- Postman: Postman Collection.