ESTAGE Support
IdeasMy tickets

Create a schedule

Permission schedules:writeRate limit writesIdempotent with Idempotency-Key

name, timezone? (project zone by default), rules: [{ day_of_week 0-6, start_time HH:MM, end_time }], overrides: [{ date, start_time?, end_time? }] (no times = closed that day), scope? project|selected|global + shared_project_ids.

POSThttps://api.estage.com/v1/schedules

Authorization

ESTAGE-API-Keystringheaderrequired

A project key, est_live_…, from Settings → API keys. Call from server code only.

Body

application/json
namestringrequired≤ 255 chars
timezonestringnullable

IANA zone; defaults to the project's timezone (UTC if it has none).

rulesarray of objectnullable

Weekly open hours.

Show 3 fields
day_of_weekintegerrequired≥ 0≤ 6

0 = Sunday … 6 = Saturday.

start_timestringrequired

HH:MM in the schedule's timezone.

end_timestringrequired

Must be after start_time; intervals of one day must not overlap.

overridesarray of objectnullable

Date exceptions to the weekly hours.

Show 3 fields
datestringrequireddate
start_timestringnullable
end_timestringnullable

Send both times for custom hours that day, or neither to close the day. One date cannot be both closed and given hours.

scopestringnullable

Who may use it: this project (default), the projects in shared_project_ids, or every project of the same owner.

One of project, selected, global

shared_project_idsarray of integernullable≤ 200 items

Required when scope is selected: other projects of the same owner.

Headers

Idempotency-Keystring≤ 255 chars

Any unique string per attempt. A retry with the same key gets the first answer back instead of doing the work twice.

RequestcURL
curl --request POST \
  --url 'https://api.estage.com/v1/schedules' \
  --header 'ESTAGE-API-Key: est_live_your-api-key' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: your-unique-key' \
  --data '{
    "name": "Weekday mornings",
    "timezone": "Europe/Lisbon",
    "rules": [
      {
        "day_of_week": 1,
        "start_time": "09:00",
        "end_time": "12:00"
      },
      {
        "day_of_week": 3,
        "start_time": "09:00",
        "end_time": "12:00"
      }
    ],
    "overrides": [
      {
        "date": "2026-12-24"
      }
    ]
  }'
Created
{
  "data": {
    "id": 37,
    "name": "Weekday mornings",
    "timezone": "Europe/Lisbon",
    "scope": "project",
    "is_owner": true,
    "shared_project_ids": [],
    "rules": [
      {
        "day_of_week": 1,
        "start_time": "09:00",
        "end_time": "12:00"
      },
      {
        "day_of_week": 3,
        "start_time": "09:00",
        "end_time": "12:00"
      }
    ],
    "overrides": [
      {
        "date": "2026-12-24",
        "start_time": null,
        "end_time": null
      }
    ],
    "meeting_types_count": 0,
    "created_at": "2026-11-13T10:00:00Z",
    "updated_at": "2026-11-13T10:00:00Z"
  }
}
Example. Errors are { error: { code, message, details } }.