Headless LMS

Create a student from the admin portal

POST
/api/students

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/students" \  -H "Content-Type: application/json" \  -d '{    "firstName": "string",    "lastName": "string",    "email": "user@example.com"  }'
{  "id": "string",  "name": "string",  "email": "string",  "image": "string",  "entitlementCount": -9007199254740991,  "avgProgress": -9007199254740991,  "joinedAt": "string",  "lastActiveAt": "string",  "hasAccount": true}
{  "error": "string",  "message": "string"}