Skip to main content
POST
HTTP request

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <token>, where <token> is a personal access token (PAT) or an OAuth2 access token. A PAT authenticates as the user who owns it. See Authentication.

Scopes

write

Write access (all other requests)

Path Parameters

teamId
integer
required

Id of the team.

Required range: x >= 0

Body

application/json
email
string
required

Email address of the user to add.

Example:

"jane@example.com"

Response

Member invited

id
string<uuid>
required

Identifies the member or the pending invitation, e.g. to remove it.

Example:

"7d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a"

email
string
required

Email address of the member.

Example:

"jane@example.com"

name
string | null
required

Name of the member. null for an invitation.

Example:

"Jane Doe"

isOwner
boolean
required

Whether the member owns the team.

Example:

false

status
enum<string>
required

accepted for a member, invited for a pending invitation.

Available options:
accepted,
invited
Example:

"accepted"

invitedAt
string<date-time> | null
required

Date of the invitation. null for an accepted member.

Example:

null