Skip to main content
GET
Get company role

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

companyId
integer
required

The id of the company.

companyRoleId
integer
required

The id of the company role.

Query Parameters

include
string

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

Response

The requested company role.

id
integer

The company role's unique identifier.

Example:

5

tenant_id
integer

The id of your organization's account.

Example:

12

company_id
integer

The id of the company this role belongs to.

Example:

6

position
integer

The role's position in the display order used when listing a company's roles.

Example:

1

name
string

The role's display name.

Example:

"Sales Rep"

description
string | null

A description of the role's responsibilities. Null if not set.

Example:

"Primary point of contact for the customer during the sale."