POST
/v1/families/{id}/invite
curl \
--request POST 'https://classmanager.test/v1/families/fml_xxxxxxxx/invite' \
--header "Content-Type: application/json" \
--data '{"firstname":"Harry","lastname":"Potter","email":"h.potter@hogwarts.co.uk"}'
Request examples
{
"firstname": "Harry",
"lastname": "Potter",
"email": "h.potter@hogwarts.co.uk"
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (404)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (200)
{
"id": "lnk_123123123123",
"type": "staff_invitation",
"companyId": "co_123123123123",
"entityId": "stf_123123123",
"email": "user@example.com",
"firstname": "John",
"lastname": "Doe",
"expiresAt": "2025-05-04T09:42:00Z"
}