Skip to main content
GET
/
internal
/
schedules
/
{schedule}
Retrieve a specific schedule (internal)
curl --request GET \
  --url https://example.com/chrono/internal/schedules/{schedule} \
  --header 'X-Bearer-Token: <api-key>'
{
  "id": "6fbad4f2-1eb8-4ef7-abd0-bc1ef1a7e5f9",
  "name": "My Operating Hours",
  "timezone": "America/Los_Angeles",
  "active": true,
  "updated_at": "2025-03-04T16:00:00Z",
  "created_at": "2025-03-01T08:30:00Z",
  "hours": [
    {
      "day": "monday",
      "start": "09:00",
      "end": "17:00"
    }
  ],
  "metadata": [
    {
      "key": "some_label",
      "value": "some_value"
    }
  ]
}

Authorizations

X-Bearer-Token
string
header
required

Internal token required for internal route access. May also be passed as Authorization: Bearer <token>, but typically X-Bearer-Token is the expected header.

Path Parameters

schedule
string<uuid>
required

The schedule UUID

Response

A single schedule object

id
string<uuid>
required
Example:

"6fbad4f2-1eb8-4ef7-abd0-bc1ef1a7e5f9"

name
string
required
Example:

"My Operating Hours"

timezone
string
required
Example:

"America/Los_Angeles"

active
boolean
required
Example:

true

updated_at
string<date-time>
required
Example:

"2025-03-04T16:00:00Z"

created_at
string<date-time>
required
Example:

"2025-03-01T08:30:00Z"

hours
object[]
required
metadata
object[]
required
I