Identity API
ResetPassword
Performs a password reset on an existing user.
Requires authorisation with a school secret. The specified user must exist within the authenticated establishment
Authorizations:
query Parameters
username required | string Username of the existing user |
password | string Password to use (optional - one will be generated if omitted) |
ChangeAtNextLogin | boolean Force password reset on next login |
UnlockLogin | boolean Unlock login if currently locked |
Responses
Response samples
- 200
- default
{- "Success": true,
- "Password": "string"
}
GetUsers
Retreive a list of users for the authenticated establishment
Authorizations:
query Parameters
presenceType | string Enum: "Learners" "Teach" "NonTeach" Type of presence to return |
Responses
Response samples
- 200
[- {
- "Id": "string",
- "DisplayName": "string",
- "FirstName": "string",
- "Surname": "string",
- "LastLoggedIn": "string",
- "UserName": "string",
- "Roles": "string",
- "PresenceType": "string",
- "WorkEmail": "string",
- "Email": "string"
}
]
GenerateQRCode
Generates QR code images with custom payload. Authenticated with a Management secret
Authorizations:
query Parameters
text required | string payload |
centerImagePercent | number Center image percentage size |
centerImageUrl | string publicly accessible URL for center/background image |
QRType | string QR code type - QRCode for standard, ArtCode for "artistic" codes |
Responses
CreateLogin
Create a login for an existing presence ands sends a registration email to the workemail address of the presence.
Authenticated with a school secret. Presence must be a member of the authenticated establishment
Authorizations:
query Parameters
OrgId required | string Estab local id |
PresenceId required | string Presence local id |
Request Body schema: application/json
OrgId | string |
PresenceId | string |
Responses
Request samples
- Payload
{- "OrgId": "string",
- "PresenceId": "string"
}
Response samples
- 200
[- {
- "id": "string",
- "displayName": "string",
- "firstName": "string",
- "surname": "string",
- "lastLoggedIn": "string",
- "userName": "string",
- "roles": "string",
- "presenceType": "string",
- "workEmail": "string",
- "email": "string"
}
]
CreateUser
Create a manual presence with login and sends registration email to user
Authorizations:
Request Body schema: application/json
orgId | string |
partnerId | string |
Array of objects | |
authProcessFlow | boolean |
Responses
Request samples
- Payload
{- "orgId": "string",
- "partnerId": "string",
- "manualUser": [
- {
- "title": "string",
- "firstName": "string",
- "lastName": "string",
- "displayName": "string",
- "email": "string",
- "mobile": "string"
}
], - "authProcessFlow": true
}
Response samples
- 200
{- "manualUser": [
- {
- "title": "string",
- "firstName": "string",
- "lastName": "string",
- "displayName": "string",
- "email": "string",
- "mobile": "string"
}
]
}