SMAO API Documentation
Public APICalendars

List calendars (paginated)

GET
/calendars

Authorization

bearerAuth
AuthorizationBearer <token>

API key in the Authorization: Bearer <key> header. Keys are created in the SMAO dashboard (Settings → API Keys).

In: header

Query Parameters

cursor?string

Opaque cursor from a prior meta.next_cursor. Base64url-encoded (unpadded) — do not parse or construct it manually.

Match^[A-Za-z0-9_-]+$
limit?integer

Items per page (1–100, default 50).

Range1 <= value <= 100
Default50

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/calendars"
{  "data": [    {      "id": "string",      "name": "string",      "timezone": "string",      "schedules": [        {          "id": "string",          "type": "opening_hours",          "weekly_schedule": {            "mon": {              "is_open": true,              "slots": [                {                  "from": "string",                  "to": "string"                }              ]            },            "tue": {              "is_open": true,              "slots": [                {                  "from": "string",                  "to": "string"                }              ]            },            "wed": {              "is_open": true,              "slots": [                {                  "from": "string",                  "to": "string"                }              ]            },            "thu": {              "is_open": true,              "slots": [                {                  "from": "string",                  "to": "string"                }              ]            },            "fri": {              "is_open": true,              "slots": [                {                  "from": "string",                  "to": "string"                }              ]            },            "sat": {              "is_open": true,              "slots": [                {                  "from": "string",                  "to": "string"                }              ]            },            "sun": {              "is_open": true,              "slots": [                {                  "from": "string",                  "to": "string"                }              ]            }          },          "overrides": [            {              "date": "string",              "type": "closed",              "reason": "string",              "slots": [                {                  "from": "string",                  "to": "string"                }              ]            }          ]        }      ],      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "meta": {    "has_more": true,    "next_cursor": "string"  }}