Skip to main content
GET
Get team

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.

Query Parameters

include
string

Comma-separated related resources to embed. Allowed: leader.

Response

The requested team.

id
integer

The team's unique identifier.

Example:

501

tenant_id
integer

The id of your organization's account.

Example:

12

leader_id
integer

The id of the user who leads this team.

Example:

1159

name
string

The team's name.

Example:

"Roofing Sales Team"

comment
string | null

Free-form notes about the team. Null if not set.

is_active
boolean

Whether the team is active. Teams aren't deleted through the API — set this to false to deactivate one.

Example:

true