Skip to main content
POST
Create team member

Authorizations

Authorization
string
header
required

Authenticate with an API access token in the Authorization header: Authorization: Bearer <token>. Create a token from the API Access Tokens page in Contractors Cloud, under Integrations.

Path Parameters

teamId
integer
required

The id of the team.

Body

application/json
user_id
integer
required

The id of the user to add to the team. Required; must reference a user in your organization who isn't already a member of this team.

Example:

1204

is_active
boolean

Whether the membership is active. Optional; defaults to true.

Example:

true

Response

The created team member.

id
integer

The team member's unique identifier.

Example:

8801

tenant_id
integer

The id of your organization's account.

Example:

12

team_id
integer

The id of the team this membership belongs to.

Example:

501

user_id
integer

The id of the user who is a member of the team. Can't be changed after creation — delete and recreate the membership to reassign it to a different user.

Example:

1204

is_active
boolean

Whether this membership is active.

Example:

true