Headless LMS

Get the caller's identity within the session's org

GET /api/learn/viewer. Get the caller's identity within the session's org. Headless LMS Organizations API reference.

GET
/api/learn/viewer

Response Body

application/json

curl -X GET "https://example.com/api/learn/viewer"
{  "orgUserId": "string",  "role": "owner"}