List trainings
List guides, paths, challenges and SCORM courses in your WorkRamp.
GET https://cotlet.dev/api/v1/workramp/trainings
read
Returns the title, type and ID of each training, 30 to a page, with next_cursor while more remain. The training_id is what the assignment tools take. Any admin account can read the list.
Parameters
| Name | Type | Description |
|---|---|---|
| type string | string | Content type: guide, path, challenge or scorm. Omit for all. |
| query string | string | Part of the title. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/workramp/trainings \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("workramp", "list_trainings") const result = await cotlet.call('workramp', 'list_trainings'); cotlet call workramp list_trainings Example response
{
"trainings": [
{
"training_id": "trn_7a21c4",
"title": "Security Awareness 2026",
"type": "guide",
"has_pass_mark": true
},
{
"training_id": "trn_92be10",
"title": "Onboarding",
"type": "path",
"has_pass_mark": false
}
],
"next_cursor": null
}