Learning platforms (LTI)
These endpoints manage the learning platforms whose courses open your quizzes and get the scores back. When LTI isn’t available to your organization, the list says offered: false and the other endpoints answer 404.
The launches themselves (/v1/public/lti/...) are made by the platforms, not by your code, and take no key.
List the learning platforms
Section titled “List the learning platforms”GET/v1/lti/platforms
Key permission: get_lti_platforms (List learning platforms)
Headers: X-Api-Key, X-Api-Secret
Response: 200, with offered (whether LTI is available) and items, each with these fields:
| Field | Type | Meaning |
|---|---|---|
id |
string | Its identifier. |
name |
string | Its name in Doxtly. |
product |
string | moodle, canvas, teams or other. |
issuer |
string | The platform’s issuer (Platform ID). |
clientId |
string | The client ID the platform gave Doxtly. |
isActive |
boolean | Whether its courses can open quizzes. |
createdAt |
string | When it was registered. |
Get a learning platform
Section titled “Get a learning platform”GET/v1/lti/platforms/{id}
Key permission: read_lti_platform (Read a learning platform)
Response: 200, with the fields of the list, and:
| Field | Type | Meaning |
|---|---|---|
deploymentIds |
array | The deployment IDs it accepts. |
loginUrl, tokenUrl, keysUrl |
string | The platform’s authentication request, access token and public keyset addresses. |
tokenAudience |
string or null | The audience of Doxtly’s token requests, when not the token address. |
tool |
object | Doxtly’s addresses to give the platform: loginUrl, launchUrl and keysUrl. |
links |
array | The places in its courses that opened a quiz, latest first: quizId, quizTitle, title, contextTitle, gradeColumn, learners, failedScores, lastLaunchedAt. |
Doxtly’s private key is never part of an answer.
Register a learning platform
Section titled “Register a learning platform”POST/v1/lti/platforms
Key permission: create_lti_platform (Register learning platforms)
Body: name, product, issuer, clientId, deploymentIds, loginUrl, tokenUrl, keysUrl, and optionally tokenAudience and isActive (default true). Every address starts with https:// and is on the public internet. One issuer and client ID can be registered once in your organization.
Response: 201, with the platform as Get a learning platform gives it. Doxtly makes a key pair for the registration.
Update a learning platform
Section titled “Update a learning platform”PUT/v1/lti/platforms/{id}
Key permission: update_lti_platform (Update learning platforms)
Body: the fields of Register a learning platform. The key pair stays, so the platform needs nothing new.
Response: 200, with the platform.
Delete a learning platform
Section titled “Delete a learning platform”DELETE/v1/lti/platforms/{id}
Key permission: delete_lti_platform (Delete learning platforms)
Deletes the registration with its key. Its courses no longer open your quizzes; attempts already taken stay with the quizzes.
Response: 204.