Skip to main content
POST
Create Team User

Authentication and permissions

Token requirements: User-based token (OAuth) or Organization-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
Permissions joined by + are all required; or separates alternatives. Full-access keys still cannot call endpoints marked unsupported. Team keys must allow every team checked by the request. OAuth access depends on the user’s roles and resource access.

Authorizations

Authorization
string
header
required

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

Path Parameters

team_id
string
required

Body

application/json
userId
string
required
role
enum<string>
required
Available options:
TEAM_USER_ROLE_UNSPECIFIED,
TEAM_USER_ROLE_AGENT,
TEAM_USER_ROLE_MANAGER,
TEAM_USER_ROLE_BUILDER,
TEAM_USER_ROLE_VIEWER,
TEAM_USER_ROLE_CONTRIBUTOR,
TEAM_USER_ROLE_DRAFTER,
TEAM_USER_ROLE_READONLY_AGENT,
TEAM_USER_ROLE_APP_BUILDER,
TEAM_USER_ROLE_APP_VIEWER,
TEAM_USER_ROLE_PERSONAL_TEAM_OWNER

Response

200 - application/json

Success

data
data · object