Get learner access
One learner's profile with the content on the Access tab and any waitlisted content.
GET https://cotlet.dev/api/v1/thought-industries/learner
read
Opens the learner profile and reads the Access tab: each piece of content with its type and status, and the Waitlisted Content container when the learner is on a waitlist. Waitlisted Content shows only for accounts allowed to provision learner access. Use it before enroll_learner to see what the learner already has.
Parameters
| Name | Type | Description |
|---|---|---|
| learner string required | string | Learner email or learner_id from list_learners. |
Request
curl "https://cotlet.dev/api/v1/thought-industries/learner?learner=learner" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("thought-industries", "get_learner", {"learner":"learner"}) const result = await cotlet.call('thought-industries', 'get_learner', {"learner":"learner"}); cotlet call thought-industries get_learner --data '{"learner":"learner"}' Example response
{
"learner_id": "3f9a2b18-7c4d-4e2a-9b1f-0c5d6e7f8a90",
"name": "Priya Nair",
"email": "priya.nair@example.com",
"panorama": "Retail",
"content": [
{
"content_id": "8f2a1c34-5b6d-4e7f-9a01-2b3c4d5e6f70",
"title": "Onboarding 101",
"type": "course",
"status": "started"
}
],
"waitlisted": []
}