Skip to main content
POST
Create team company

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
company_id
integer
required

The id of the company to assign to the team. Required; must reference a company in your organization that isn't already assigned to this team.

Example:

6

Response

The created team company assignment.

id
integer

The team company assignment's unique identifier.

Example:

2210

tenant_id
integer

The id of your organization's account.

Example:

12

team_id
integer

The id of the team this assignment belongs to.

Example:

501

company_id
integer

The id of the company assigned to the team.

Example:

6