Heropa's public API lets you manage users, events, courses, environments, templates and content from your own systems. Before you can call it, API access has to be enabled on your subscription and you need to create an API password.
API access is available on some Heropa subscription tiers. If it is not enabled for your company, you can request it via Heropa Support.
In this article:
Check whether your subscription includes API access
Check the base URL points at your tenant
Check whether your subscription includes API access
- Navigate to Administration → Settings and scroll to the bottom of the page.
- If the API username and password fields are not there, API access is not enabled for your company.
- Raise a support ticket via support@heropa.com requesting API access, and wait for confirmation that it has been enabled before continuing.
Create your API password
- Navigate to Administration → Settings.
- Scroll to the bottom of the page to the API username and password fields.
- Create your API password.
Keep your API password confidential and store it using your organisation's approved process for handling credentials. Anyone holding it can act against your tenant through the API.
Open the API documentation
From the API section at the bottom of Administration → Settings, open the API documentation.
Check the base URL points at your tenant
The API documentation should open with the base URL already set to your tenant.
Check this before you build any commands. A command built against the wrong base URL runs against the wrong tenant.
If the base URL has not been populated automatically, enter your tenant ID or tenant name in the URL yourself. It is worth having your tenant ID or tenant name to hand before you start, in case you need it.
Build your commands
Use the LiveDocs in the API documentation to build and try the commands you need. LiveDocs runs the request against your tenant, so treat anything you send as a real change.
Comments
0 comments
Article is closed for comments.