Read admin profile
GET/v2/onboard/admin
Reads the profile of the admin that the API key belongs to. The answer is a flat object with no wrapper.
Responses
- 200
- 401
- 404
- 500
The profile of the admin.
- application/json
- Schema
- Example (from schema)
Schema
The identifier of the admin.
The e-mail address of the admin.
The name of the admin.
The phone number of the admin. Empty when not set.
The identifier of the avatar image. Empty when the admin has no avatar.
The URL of the avatar image. Read the image with the read admin avatar image operation.
The external identifier of the admin. Empty when not set.
The identifier of the identity provider of the admin. Empty when not set.
The date and time of the last login of the admin.
The role identifier of the admin in the organisation.
The role name of the admin in the organisation.
The name of the organisation.
{
"id": "6a1f0c2e9b3d4e5f6a7b8c9d",
"email": "[email protected]",
"name": "Jane Doe",
"phone": "",
"avatarImageId": "6a1f0c2e9b3d4e5f6a7b8c9e",
"avatarImageUrl": "https://demo-api.igrant.io/onboard/admin/avatarimage",
"externalId": "",
"identityProviderId": "",
"lastVisited": "2026-10-27T09:12:44Z",
"roleId": 1,
"roleName": "Admin",
"organizationName": "Example Organisation"
}
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
The organisation or the admin is not found.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Internal server error
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}