Skip to main content
POST
Create appointment

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.

Body

application/json
notify
boolean

Whether to send calendar invite emails to all attendees. Optional; defaults to false. Only takes effect when the appointment is confirmed and is upcoming or currently in progress — this is the only way an appointment reaches attendees' external calendars, such as a connected Google Calendar.

slot_type
enum<string>

Whether this is a confirmed appointment or a placeholder that holds a calendar slot with looser requirements until it's confirmed. Optional; defaults to confirmed.

Available options:
confirmed,
placeholder
Example:

"confirmed"

company_id
integer

The id of the company to schedule the appointment under. Must be a company in your organization. Required.

Example:

6

project_id
integer | null

The id of the project to link this appointment to. Must belong to the submitted company_id. Optional.

Example:

9103

company_appointment_type_id
integer | null

The id of the company's configured appointment type for this appointment (see List company appointment types). Required when slot_type is confirmed (or omitted); optional and nullable for placeholders.

Example:

27

title
string | null

The appointment's title. Required when slot_type is confirmed (or omitted); optional for placeholders, which default to Placeholder when omitted.

Maximum string length: 100
Example:

"In-Home Estimate - Smith Residence"

description
string | null

Free-form notes about the appointment. Optional.

starts_at
string

Timestamp when the appointment starts, formatted as YYYY-MM-DD HH:MM:SS. Required — must be before ends_at for confirmed appointments, and in the future for placeholders. Setting both starts_at and ends_at to midnight (00:00:00) creates an all-day appointment.

Example:

"2025-02-20 09:00:00"

ends_at
string

Timestamp when the appointment ends, formatted as YYYY-MM-DD HH:MM:SS. Required — must be after starts_at.

Example:

"2025-02-20 10:00:00"

address_street
string | null

The street portion of the appointment's address. Optional.

Maximum string length: 100
Example:

"482 Birchwood Ave"

address_city
string | null

The city portion of the appointment's address. Optional.

Maximum string length: 50
Example:

"Madison"

address_state
string | null

The two-letter state or province code for the appointment's address. Optional.

Required string length: 2
Example:

"WI"

address_zip
string | null

The postal code for the appointment's address. Optional.

Maximum string length: 10
Example:

"53703"

address_latitude
string | null

The latitude of the appointment's address. Optional — when omitted along with address_longitude, the address is geocoded automatically.

address_longitude
string | null

The longitude of the appointment's address. Optional — when omitted along with address_latitude, the address is geocoded automatically.

attendees
object[]

The appointment's attendees. Required with at least one item when slot_type is confirmed (or omitted); optional for placeholders. The first attendee referencing a user becomes the appointment's primary attendee.

Minimum array length: 1

Response

The created appointment.

id
integer

The appointment's unique identifier.

Example:

8420

tenant_id
integer

The id of your organization's account.

Example:

12

company_id
integer | null

The id of the company this appointment belongs to. Null when the appointment isn't associated with a company.

Example:

6

project_id
integer | null

The id of the project this appointment is linked to. Null if not linked to a project.

Example:

9103

appointment_type_id
integer | null

The id of the appointment's type classification. Null if not set. List available values with List available options using type appointment-type; include type to embed the full object.

appointment_result_id
integer | null

The id of the outcome recorded for this appointment, set through Update appointment once the appointment has started. Null until a result is recorded. List available values with List available options using type appointment-result; include result to embed the full object.

appointment_category_id
integer | null

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

company_appointment_type_id
integer | null

The id of the company's configured appointment type for this appointment (see List company appointment types). Null if not set.

Example:

27

first_attendee_id
integer | null

The id of the user who is this appointment's primary attendee. Derived automatically — the id of the first attendee in attendees whose model_type is user. Values sent for this field are ignored. Null if no user attendee is present. Include first_attendee to embed the full object.

Example:

1159

second_attendee_id
integer | null

The id of the user who is this appointment's second user attendee, derived the same way as first_attendee_id. Null if not present. Include second_attendee to embed the full object.

third_attendee_id
integer | null

The id of the user who is this appointment's third user attendee, derived the same way as first_attendee_id. Null if not present. Include third_attendee to embed the full object.

fourth_attendee_id
integer | null

The id of the user who is this appointment's fourth user attendee, derived the same way as first_attendee_id. Null if not present. Include fourth_attendee to embed the full object.

created_by
integer | null

The id of the user who created this appointment. Null if unknown.

Example:

1159

title
string | null

The appointment's title. Null if not set. Placeholders default to Placeholder when no title is provided.

Example:

"In-Home Estimate - Smith Residence"

description
string | null

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

starts_at
string

Timestamp when the appointment starts, formatted as YYYY-MM-DD HH:MM:SS.

Example:

"2025-02-20 09:00:00"

ends_at
string

Timestamp when the appointment ends, formatted as YYYY-MM-DD HH:MM:SS.

Example:

"2025-02-20 10:00:00"

slot_type
enum<string>

Whether this is a confirmed appointment or a placeholder holding a calendar slot. Defaults to confirmed.

Available options:
confirmed,
placeholder
Example:

"confirmed"

is_internal
boolean

Whether this appointment was created in Contractors Cloud (true) or synced from a connected external calendar (false). Appointments synced from an external calendar can't be updated or deleted through this API.

Example:

true

is_all_day
boolean

Whether the appointment spans the entire day — true when both starts_at and ends_at fall at midnight (00:00:00).

Example:

false

is_in_the_past
boolean

Whether the appointment's end time has already passed.

Example:

false

is_in_progress
boolean

Whether the current time falls between the appointment's start and end times.

Example:

false

is_in_the_future
boolean

Whether the appointment's start time is still ahead.

Example:

true

address_street
string | null

The street portion of the appointment's address. Null if not provided.

Example:

"482 Birchwood Ave"

address_city
string | null

The city portion of the appointment's address. Null if not provided.

Example:

"Madison"

address_state
string | null

The two-letter state or province code for the appointment's address. Null if not provided.

Example:

"WI"

address_zip
string | null

The postal code for the appointment's address. Null if not provided.

Example:

"53703"

address_latitude
string | null

The latitude of the appointment's address, as a decimal string. Null if the address hasn't been geocoded.

Example:

"43.073100"

address_longitude
string | null

The longitude of the appointment's address, as a decimal string. Null if the address hasn't been geocoded.

Example:

"-89.401200"

google_event_id
string | null

An identifier linking this appointment to an event in a connected external calendar. Null for appointments created in Contractors Cloud.

google_connection_log
string | null

Details from the most recent sync with the connected external calendar this appointment came from. Null if never synced.

google_owner_email
string | null

The email address of the connected external calendar this appointment came from. Null for appointments created in Contractors Cloud.

google_owner_name
string | null

The display name of the connected external calendar this appointment came from. Null for appointments created in Contractors Cloud.

customer_invite_email
string | null

An email address for the customer invited to this appointment. Null if not set.

additional_emails
string[]

Additional email addresses invited to this appointment, beyond the listed attendees.

Example:
created_at
string | null

Timestamp when the appointment was created, formatted as YYYY-MM-DD HH:MM:SS.

Example:

"2025-02-10 09:20:00"

updated_at
string | null

Timestamp when the appointment was last updated, formatted as YYYY-MM-DD HH:MM:SS.

Example:

"2025-02-10 09:20:00"

colors
string[]

Display colors representing the appointment's user attendees, used by calendar views.

Example:
attendees
object[]

The appointment's attendees. Always present.