Skip to main content
POST
Create

Body

application/json
resource_id
string<snowflake>
required
Example:

"872815618512410358"

team_id
string<snowflake>
required
Example:

"872815618512410358"

when
string
required

A single date (YYYY-MM-DD), a date interval (YYYY-MM-DD/YYYY-MM-DD), or an RRULE string. When using a date interval or RRULE, options.schedule_on_bank_holidays is required.

Example:

"RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR;DTSTART=20260101T120000;UNTIL=20260105T120000"

hour_ranges
object[]
required
options
object
required
schedule_template_id
string<snowflake>
Example:

"872815618512410358"

adjustment
object
break_time
object
remark
string

Response

Schedule(s) successfully created.