POST
/
api
/
auth
/
invite
curl --request POST \
  --url https://copilotz.com/api/auth/invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Gabriel Carechio",
  "email": "gabriel@axion.company",
  "phone": "5511961877409",
  "password": "123456"
}'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json

Request payload for inviting a new user.

name
string
required

Full name of the invitee.

Example:

"Gabriel Carechio"

email
string
required

Email address of the invitee.

Example:

"gabriel@axion.company"

phone
string
required

Phone number of the invitee.

Example:

"5511961877409"

password
string
required

Password for the invitee's account.

Example:

"123456"

Response

200 - application/json
Successful response

Successful invitation response.