LangLion Developer Wiki

⚠️ APIv2 is legacy

APIv2 is considered legacy and is no longer recommended for new integrations.

We strongly encourage you to use APIv4 for all new integrations and to migrate existing integrations where possible.

Please refer to our latest APIv4 documentation for up-to-date information and integration guidelines:

Click here to view the APIv4 example documentation - your own documentation is at https://[your-instance].langlion.com/api/v4/docs

2026-11-25

  • All /api/v2/{entity} endpoints now require an administrator access token; previously some entities without a dedicated endpoint answered without a token. See authentication.
  • GET /api/v2/fields now requires an administrator access token (see custom fields).

2026-10-27

  • POST /api/v2/schoolClassStudent returns HTTP 404 with error code studentNotFound or schoolClassNotFound when the given student or group does not exist

2026-04-29

  • PATCH /api/v2/schoolClassStudent: the assignment is identified by the scsId parameter (previously id); a request with only id returns the error "Request parameter 'scsId' is missing". See Swagger.

2026-02-16

  • PUT /api/v2/fieldValue supports multi-select custom fields: pass the ids of the selected options as an array, e.g. value[]=12&value[]=15

2025-08-13

  • Fixed PUT /api/v2/newLessonStudent: the attendanceStatusId parameter is saved as documented in attendance

2025-08-05

  • Added POST and PATCH methods for Transaction to create and update transactions
  • Added POST and PATCH methods for TransactionPayment to create and update transaction payments

2025-05-29

  • Fixed DELETE /api/v2/schoolClassStudent: it removes the student's assignment to a group given by id and returns it as schoolClassStudent

2025-02-24

  • POST /api/v2/schoolClassStudent returns an error when the student does not belong to the school (department) of the group

2024-10-02

2024-06-15

  • PUT /api/v2/fieldValue updates the existing value of a custom field instead of adding a new one
  • Added GET /api/v2/fieldSelects?fieldId={id} returning the options of a select custom field

2024-05-21

  • Added isPlanned parameter to POST and PATCH /api/v2/schoolClass (returned in the list of groups)

2024-05-19

  • Added POST and PATCH methods for Teacher to create and update teachers

2023-12-28

  • Added documentation for webhooks mechanism

2023-12-21

  • Added PUT method for NewLessonStudent to update student's attendance
  • Added PUT method for FieldValue to update values of custom fields

2023-11-27

2023-10-06

2023-10-01

  • Added JS sample code using Fetch in documentation for authentication endpoint

2023-09-28

2023-09-21

2023-09-18

  • Added documentation for creating/updating students

2023-09-15