List assignments
List the assignments of one training with learner, status and due date.
GET https://cotlet.dev/api/v1/workramp/trainings/{training_id}/assignments
read
Returns one row per learner, as the assignments table on the training shows it: status, due date and the date assigned. 30 to a page, with next_cursor while more remain. The status and group filters work like the table filters. Learners who were unassigned do not appear.
Parameters
| Name | Type | Description |
|---|---|---|
| training_id string required | string | Training ID from list_trainings. |
| status string | string | Status as the Status filter of the assignments table shows it. |
| group string | string | Group name. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl "https://cotlet.dev/api/v1/workramp/trainings/trn_7a21c4/assignments?group=Sales" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("workramp", "list_assignments", {"training_id":"trn_7a21c4","group":"Sales"}) const result = await cotlet.call('workramp', 'list_assignments', {"training_id":"trn_7a21c4","group":"Sales"}); cotlet call workramp list_assignments --data '{"training_id":"trn_7a21c4","group":"Sales"}' Example response
{
"training": "Security Awareness 2026",
"assignments": [
{
"learner_id": "usr_31f0a2",
"name": "Tom Becker",
"group": "Sales",
"status": "Overdue",
"due_date": "2026-10-13"
},
{
"learner_id": "usr_8b44e9",
"name": "Jake Ortiz",
"group": "Sales",
"status": "Overdue",
"due_date": "2026-10-20"
},
{
"learner_id": "usr_5c07d1",
"name": "Anna Lopez",
"group": "Sales",
"status": "Completed",
"due_date": "2026-10-25"
}
],
"next_cursor": null
}