POST
/
auth
/
invite
Invite user
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/auth/invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com",
  "sendEmail": true,
  "message": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "redirect_url": "<string>",
  "role": "<string>"
}'
{
  "message": "Successful, Email verification Instructions have been sent to your email"
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Query Parameters

userId
string

The workspaceId/userId of the invitee

Body

application/json

Response

201
application/json

Success - Existing User Invite

The response is of type object.