headless lms

The app and organization of the domain the request comes from

GET /api/app. The app and organization of the domain the request comes from. Headless LMS Apps API reference.

GET
/api/app

Public: no session and no key. Answers for the domain in the Origin header, or else the Referer; it takes no domain as a parameter. A frontend's server sends its visitor's domain as Origin and the visitor's IP address as X-Forwarded-For. 404 when the request carries no domain or the domain is no app's. Limited to 100 requests in 10 seconds per client IP address (429, with Retry-After).

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/app"
{  "organization": {    "name": "string"  },  "app": {    "name": "string",    "courses": true,    "community": true  }}
{  "error": "string",  "message": "string",  "requestId": "string"}
{  "error": "string",  "message": "string",  "requestId": "string"}
{  "error": "string",  "message": "string",  "requestId": "string"}