Invitation
Invite users and handle onboarding flows.
Get organizations invitations by organization user
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
Entity ID
^[0-9a-fA-F]{24}$Query parameters
limitintegerOptionalDefault:
The limit of per page
10pageintegerOptionalDefault:
Current page number
1sortstringOptionalExample:
Sort
{"value":"createdAt"}statusstringOptional
Status
Responses
200
OK
application/json
Responseall of
and
401
Unauthorized
application/json
403
Forbidden
application/json
get
/organizations/{organizationId}/invitationsGET /api/v1/organizations/{organizationId}/invitations HTTP/1.1
Host: abp-api.akinon.net
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"totalDocs": 1,
"limit": 10,
"page": 1,
"totalPages": 1,
"pagingCounter": 1,
"hasPrevPage": true,
"hasNextPage": true,
"prevPage": 1,
"nextPage": 1,
"docs": [
{
"email": "text",
"token": "text",
"organization": {
"_id": "text",
"name": "text",
"slug": "text",
"description": "text",
"owner": "text",
"isExecutive": false,
"status": 0,
"privileges": [
"project:read",
"project:write"
],
"imageUrl": "text",
"createdAt": "2025-12-06T15:34:43.954Z",
"updatedAt": "2025-12-06T15:34:43.954Z"
},
"user": "63ea10b94a472e003305232b",
"registered": {
"completedAt": "2025-12-06T15:34:43.954Z",
"user": "63ea10b94a472e003305232b"
},
"status": "pending",
"validatedAt": "2025-12-06T15:34:43.954Z",
"_id": "63ea10b94a472e003305232b",
"createdAt": "2025-12-06T15:34:43.954Z",
"updatedAt": "2025-12-06T15:34:43.954Z"
}
]
}Create a organization invitation by organization user
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
Entity ID
^[0-9a-fA-F]{24}$Body
rolesstring[]Optional
Entity ID
validatedAtstring · date-timeRequired
Date
Responses
201
Created
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
post
/organizations/{organizationId}/invitationsPOST /api/v1/organizations/{organizationId}/invitations HTTP/1.1
Host: abp-api.akinon.net
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 86
{
"email": "[email protected]",
"roles": [
"text"
],
"validatedAt": "2025-12-06T15:34:43.954Z"
}{
"email": "text",
"token": "text",
"organization": {
"_id": "text",
"name": "text",
"slug": "text",
"description": "text",
"owner": "text",
"isExecutive": false,
"status": 0,
"privileges": [
"project:read",
"project:write"
],
"imageUrl": "text",
"createdAt": "2025-12-06T15:34:43.954Z",
"updatedAt": "2025-12-06T15:34:43.954Z"
},
"user": "63ea10b94a472e003305232b",
"registered": {
"completedAt": "2025-12-06T15:34:43.954Z",
"user": "63ea10b94a472e003305232b"
},
"status": "pending",
"validatedAt": "2025-12-06T15:34:43.954Z",
"_id": "63ea10b94a472e003305232b",
"createdAt": "2025-12-06T15:34:43.954Z",
"updatedAt": "2025-12-06T15:34:43.954Z"
}Get a invitation code status
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
tokenstringRequired
Invitation token
Responses
200
OK
application/json
Responsestring · enumPossible values:
get
/public/invitations/{token}/checkGET /api/v1/public/invitations/{token}/check HTTP/1.1
Host: abp-api.akinon.net
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
OK
registeredLast updated
Was this helpful?

