Send a user invitation
Sends an email invitation to join the system. Requires role (admin, user, supervisor, guest, or client) and optional team/category assignments. Generates a unique registration link valid until accepted or revoked.
Body·
required
application/json
- Type: integeracceptedmin:0max:1
Whether the invited user has already accepted the invitation (0 = pending, 1 = accepted)
- Type: array integer[]categories
IDs of categories the invited user will be assigned to upon acceptance
- Type: stringemail
Invited user mail
- Type: stringhash
One-time token embedded in the invitation link sent to the invited user
- Type: string enumrole
Invited user role
values- user
- admin
- Type: array integer[]teams
IDs of teams the invited user will be added to upon acceptance
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/user/invitation
curl https://test.boost.space/api/user/invitation \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"id": 42,
"email": "user@example.com",
"role": "user",
"hash": "string",
"created": "2026-01-15T09:30:00Z",
"accepted": 1,
"teams": [
1
],
"categories": [
1
]
}'
{
"id": 42,
"email": "user@example.com",
"role": "user",
"hash": "string",
"created": "2026-01-15T09:30:00Z",
"accepted": 1,
"teams": [
1
],
"categories": [
1
]
}