Update a Schedule

Endpoint: PUT /schedules/{schedule_id}

Description: Update an existing schedule. Some fields become required based on configuration (e.g., repeating schedules or all-day events).

Note:

  • Dates use MM/DD/YYYY format.
  • Time uses HH:mm (24-hour format).
  • If no timezone is provided, the company timezone will be used.

Request Body:

ParameterTypeDescription
assigned_by
required
integerID of the active user updating the schedule.
event_pid
required
stringEvent or series identifier for the schedule.
title
required
stringSchedule title.
description
optional
stringSchedule description.
job_id
optional
integerAssociated job ID.
timezone
optional
stringTimezone for the schedule. Defaults to company timezone if not provided. Example: America/Phoenix.
repeat
required
booleanIndicates whether the schedule repeats.
all_day
required
booleanWhether the schedule lasts all day.
color
required
stringSchedule color.
user_ids
required
arrayIDs of active users assigned to the schedule.
publish
optional
booleanWhether the schedule is published.
update_series
optional
booleanWhether to update all events in the series.
start_date
required
string (date)Schedule start date in MM/DD/YYYY format.
end_date
required
string (date)Schedule end date in MM/DD/YYYY format.
start_time
optional
string (time)Start time in HH:mm format. Required unless all_day is true.
end_time
optional
string (time)End time in HH:mm format. Required unless all_day is true.
use_different_address
optional
booleanWhether to use a custom address instead of the job address.
street
optional
stringStreet address when using a different address.
city
optional
stringCity when using a different address.
state
optional
stringState when using a different address.
country
optional
stringCountry when using a different address.
zip_code
optional
stringZIP or postal code when using a different address.
repeat_type
optional
stringRepeat type (e.g., daily, weekly). Required when repeat is true.
repeat_end_date
optional
string (date)End date for repetition in MM/DD/YYYY format. Required when repeat is true.
weeks
optional
stringComma-separated weekdays (e.g., monday,thursday). Required when repeat_type is weekly.

Request Body Sample

{
  "assigned_by": 679,
  "event_pid": "",
  "title": "Schedule 1",
  "description": "Description here",
  "job_id": 5118,
  "timezone": "America/Phoenix",
  "repeat": true,
  "all_day": false,
  "color": "red",
  "user_ids": [680],
  "publish": true,
  "update_series": false,
  "start_date": "01/01/2024",
  "end_date": "01/01/2024",
  "start_time": "06:00",
  "end_time": "08:00",
  "use_different_address": true,
  "street": "Street",
  "city": "City",
  "state": "State",
  "country": "Country",
  "zip_code": "Zipcode",
  "repeat_type": "weekly",
  "repeat_end_date": "01/29/2024",
  "weeks": "monday,thursday"
}

Language
URL
Click Try It! to start a request and see the response here!