Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Body

application/json
role
enum<string>
required

The role of the user to invite

Available options:
OWNER,
MEMBER,
DEVELOPER,
BILLING,
VIEWER,
CONTRIBUTOR
Example:

"MEMBER"

email
string<email>

The email address of the user to invite

Example:

"john@example.com"

uid
string

The id of the user to invite

Example:

"kr1PsOIzqEL5Xg6M4VZcZosf"

Response

The member was successfully added to the team

id
string
required
email
string | null
required
teamId
string | null
required
roleId
number | null
required
createdBy
number | null
required
createdAt
number
required
updatedAt
number
required