Skip to main content
POST
/
api
/
v1
/
users
/
invite
Invite user
curl --request POST \
  --url https://ai-loop.alpeadria.com/api/v1/users/invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "permission": "admin"
}
'
{
  "message": "Invitation sent to [email protected]."
}
Admin only endpoint to invite a new user with specific permissions.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string
required
permission
enum<string>
Available options:
admin,
guest,
ailoop,
fleet

Response

200 - application/json

Invitation sent successfully.

message
string