Create an API token and use the REST API
Generate an API token under Settings, API Tokens, and use it to call the Sublime LMS REST API for courses, learners, enrollments and recertification.
Generate a token Link to “Generate a token”
- Open Settings and choose API Tokens.
- Enter a Token name that says what it's for, such as the system that will use it.
- Choose Generate token and copy it. Store it somewhere safe.
- Regenerate or revoke a token from the same screen when it's no longer needed.
Call the API Link to “Call the API”
Send the token as a Bearer token in the Authorization header. A token acts as your organisation and can reach only your organisation's data. Responses are JSON, and list endpoints are paginated.
The API covers courses, modules and lessons, learners, enrollments, recertification and alumni graduations, and inbound webhooks can create learners and enrollments from your other systems. The full reference is at /api on your portal's address.
Was this article helpful?
Still need help?
Ask the Sublime AI Assistant. It answers what it can straight away, and passes the conversation to our team, with your contact details and the question, when a person is needed.