HTTP Basic authentication using your Tenant ID and API secret.
- Username is the Tenant ID (i.e.
eu-west-2_AbcdEfghI) - Password is the API secret you would have received.
You can also authenticate using OAuth 2.0 client credentials (oauth2 security scheme) instead of Basic auth.
OAuth 2.0 client credentials authentication.
Use the following token endpoints (replace :tenantId with your Tenant ID):
Public API access tokens
- Staging:
https://public.api.learnstaging.link/oauth2/token/:tenantId - Production:
https://public.api.learn.link/oauth2/token/:tenantId - Staging MEA:
https://public.api.meastaging.learn.tech/oauth2/token/:tenantId - Production MEA:
https://public.api.mea.learn.tech/oauth2/token/:tenantId
- Staging:
Webhooks access tokens
- Staging:
https://user.api.learnstaging.link/oauth2/token/:tenantId - Production:
https://user.api.learn.link/oauth2/token/:tenantId - Staging MEA:
https://user.api.meastaging.learn.tech/oauth2/token/:tenantId - Production MEA:
https://user.api.mea.learn.tech/oauth2/token/:tenantId
- Staging:
All access tokens must be sent using the Authorization: Bearer <access_token> header.
Scopes
For API access (non-webhooks), the following scopes are available:
api/all– Full read and write access to the API.api/read– Read-only access to the API.api/write– Write access to the API.
For webhooks, the following scopes are available:
api/webhooks– Access to webhook functionality.api/all– Full read and write access to the API, including webhooks.
Tokens must include appropriate scopes for the endpoints you wish to call.
Used in combination with the limit parameter to page through the data.
Used in combination with the page parameter to page through the data.
Return only items updated on or after this date/time (ISO 8601).
Comma-separated list of extra data to nest into the response. Omit it and the response is unchanged.
permissions- every permission domain currently supported, today audiences and spaces. New domains are added to this token over time.audiencePermissions- audience management permissions only.spacePermissions- space permissions only.
When any permission domain is expanded the maximum perPage is reduced from 1000 to 100.
Only return users whose status is in this list. Comma-separated string. Allowed values (any combination): active, inactive, expired, new.
Exclude users whose status is in this list. Comma-separated string. Allowed values (any combination): active, inactive, expired, new.
Only return users whose role is in this list. Comma-separated string. Allowed values (any combination): administrator, learneradmin, learner.
Exclude users whose role is in this list. Comma-separated string. Allowed values (any combination): administrator, learneradmin, learner.
Filter by a single user status. One value only (not comma-separated). Allowed values: active, inactive, expired, new.
The users
A user object
The user's ID
The user's ref
The user's first name
The user's last name
The user's email
The user's role
The user's status
The user's positions
User Position
The user ID
The user's line manager details
The manager's user ID
The manager's full name (firstName + lastName)
The manager's unique reference identifier
Defines whether the user is active
Additional fields
The user's language code
Defines whether the user has been deleted
The user's compliance score
The user's level
Defines whether the user has a profile picture
The user's time zone
The user's summary
The user's relevancy score
Defines whether the user has agreed to the terms
Defines whether the user has been onboarded
Defines whether the user is using single sign-on
The user's permissions. Present only when the request expanded them with the expand query parameter; omitted otherwise.
Audiences the user holds a management role on. Audience membership is reported separately, in the audiences field of the user object.
One audience a user holds management permissions on.
The audience's ID.
The audience's name.
The audience's reference, when it has one.
The permissions a user holds on a single audience, grouped by the role that grants them. A role key is present only if the user holds that role on the audience, so the keys present are themselves the role attribution.
The administrator permissions set - only available on structures/ parent audiences.
Whether the user can create/edit child audiences.
Whether the user can add or edit managers for child audiences.
The audience manager permissions set
Whether the user can add/remove members for the audience.
Whether the user can manage users within the audience.
Whether the user can share/unshare content for the audience.
Whether the user can create/edit/remove assignments for the audience.
Whether the user can view analytics for audience members.
The people manager permissions set
Whether the user can view analytics and reports.
Whether the user can view insights into how the audience is using content and search.
Whether the user can add/edit goals for audience members.
Whether the user can manage audience members.
Whether the user can view the learn page of audience members.
Whether the user can run compliance reports on assignments associated to audience members.
Spaces the user holds access to. Reports only permissions granted to this user, so a space open to everyone is listed only where the user also holds a role on it.
One space the user holds access to, whether granted to them directly or through a group they belong to.
A space the user has left, or has been removed from, is not reported at all - even where a group would otherwise still grant it.
Reported as stored: a space that has since been deleted or archived is still listed while its membership record exists.
The space's ID.
The roles the user holds on the space, deduplicated across direct and group-derived grants, and sorted.
A role outside the published catalogue is still reported here, and contributes nothing to permissions.
What those roles let the user do, deduplicated and sorted. Empty when none of the user's roles is recognised.
Details of the pagination, for endpoints that also return the deprecated pageNumber field.
Total number of results matching the query
Total number of pages available
Current page number
Number of results per page
Deprecated alias for page, carrying the same value. Use page instead; pageNumber will be removed in a future release.
Bad Request
Bad Request
Unauthorized
Unauthorized
Not Found
Not found
Internal Server Error
Internal Server Error