Skip to main content
GET
Get company appointment type

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.

appointmentTypeId
integer
required

The id of the appointment type.

Query Parameters

include
string

Comma-separated related resources to embed. Allowed: company, category, first_role, second_role, third_role.

Response

The requested appointment type.

id
integer

The appointment type's unique identifier.

Example:

27

tenant_id
integer

The id of your organization's account.

Example:

12

company_id
integer | null

The id of the company this appointment type belongs to.

Example:

6

appointment_category_id
integer

The id of the category this appointment type belongs to. There is currently no endpoint to list appointment categories — include category to embed the full object.

Example:

2

first_role_id
integer | null

The id of the company role assigned to the first attendee position for appointments of this type. Null if not set. See List company roles. Include first_role to embed the full object.

Example:

5

second_role_id
integer | null

The id of the company role assigned to the second attendee position for appointments of this type. Null if not set. See List company roles. Include second_role to embed the full object.

third_role_id
integer | null

The id of the company role assigned to the third attendee position for appointments of this type. Null if not set. See List company roles. Include third_role to embed the full object.

description
string

The appointment type's display label.

Example:

"Initial Consultation"

comment
string | null

Free-form notes about the appointment type. Null if not set.

subject
string | null

The default subject line applied when scheduling an appointment of this type. Null if not set.

Example:

"Initial Consultation Call"

time
string

The default start time applied when scheduling an appointment of this type, formatted as HH:MM:SS.

Example:

"09:00:00"

duration
integer

The default appointment length, in minutes.

Example:

60

is_active
boolean

Whether the appointment type is active.

Example:

true

is_default
boolean

Whether this is the default appointment type applied when scheduling a new appointment. Only one appointment type per organization can be the default.

Example:

true