Invite User

Invite new user in your account

Invite a new user

POST https://api.xenia.team/v1/users

Invite a new user

Headers

NameTypeDescription

Authorization*

JWT Token

Access token

Request Body

NameTypeDescription

firstName*

string

fist name of the user

lastName

string

last name of the user

email*

email

email of the user

phone*

string

phone of the user

photo

URL

profile picture url

{
    "id": "e77b6442-de60-401c-a173-0afc84a5747e",
    "firstName": "John",
    "lastName" "Wick",
    "email": "john@company.com",
    "phone": "+14844608118",
    "photo": "https://cdn.xenia.team/images/e77b6442.png",
    "status": "active",
    "workspaceId": "e77b6442-de60-401c-a173-0afc84a5747e",
    "locations": ["e77b6442-de60-401c-a173-0afc84a5747e"],
    "createdAt": 1701743645
    "updatedAt": 2001743645
}

Last updated