Skip to content
ReppREST reference · v2

Calendar

What is in the account's calendar, as the site's own calendar shows it.

For a business: its classes (with a trainer, and still looking) and its spaces' bookings (confirmed, and waiting for its yes). For a trainer: the classes it was chosen for, the open classes it offered on, and its bookings.

Nothing cancelled is listed, and a class still looking leaves the calendar once it has begun. The range is at most 124 days, both ends counted.

GEThttps://api.dev.repp.co.il/v1/calendarKey

Request

curl "https://api.dev.repp.co.il/v1/calendar?side=business&from=2026-12-01&to=2026-12-31" \
  -H "Authorization: Bearer $REPP_API_KEY"

Response

200 · application/json
{
  "items": [
    {
      "kind": "class",
      "id": "a4e5f6b7-c8d9-4e0f-8a1b-2c3d4e5f6a7b",
      "state": "filled",
      "date": "2026-12-01",
      "start_time": "18:00",
      "end_time": "19:00",
      "starts_at": "2026-12-01T16:00:00+00:00",
      "ends_at": "2026-12-01T17:00:00+00:00",
      "style": "yoga",
      "space": null,
      "business_name": "סטודיו נועה",
      "other_name": "דנה כהן",
      "address": "ביאליק 20, רמת גן",
      "amount": 180,
      "weekly": false
    },
    {
      "kind": "booking",
      "id": "c2d3e4f5-a6b7-4c8d-9e0f-1a2b3c4d5e6f",
      "state": "pending",
      "date": "2026-12-02",
      "start_time": "11:00",
      "end_time": "13:00",
      "starts_at": "2026-12-02T09:00:00+00:00",
      "ends_at": "2026-12-02T11:00:00+00:00",
      "style": null,
      "space": {
        "id": "b1c2d3e4-f5a6-4b7c-8d9e-0f1a2b3c4d5e",
        "name": "מתחם הקומה השנייה"
      },
      "business_name": "סטודיו נועה",
      "other_name": "יוסי לוי",
      "address": "ביאליק 20, רמת גן",
      "amount": 180,
      "weekly": true
    }
  ]
}
Query parameters
NameTypeDefaultDescription
sideRequiredone of: business, trainer—Which side of the account: business or trainer.
fromYYYY-MM-DD—First day, inclusive. Default: today in Israel.
toYYYY-MM-DD—Last day, inclusive. Default: 30 days after from.
Response fields (18)
Response fields
FieldTypeDescription
itemsarray of CalendarEventIn order of time.
items[].kindone of: class, bookingclass: a class. booking: a space booking.
items[].idstringIdentifier.
items[].stateone of: open, filled, offered, pending, confirmedopen: still looking for a trainer. filled: has its trainer. offered: you offered and wait to be chosen. pending: waits for the business's yes. confirmed: confirmed.
items[].datestringA date in Israel, YYYY-MM-DD.
items[].start_timestringA time of day in Israel, HH:MM, 24 hours.
items[].end_timestringEnd time. Past midnight it is a time of the next day; ends_at is exact.
items[].starts_atstringAn exact moment, ISO 8601 with its offset.
items[].ends_atstringAn exact moment, ISO 8601 with its offset.
items[].styleone of: pilates, barre, strength, crossfit, trx, calisthenics, cardio, hiit, spinning, running, aqua, yoga, mobility, meditation, personal, martial_arts, boxing, krav_maga, dance, zumba, kids, seniors, other, nullableThe class's style, or null for a booking.
items[].spaceobject, nullableThe space, or null for a class.
items[].space.idstringIdentifier.
items[].space.namestringThe space's name.
items[].business_namestringThe business's name.
items[].other_namestring, nullableThe other side: the trainer (for a business) or the business (for a trainer), or null while there is none.
items[].addressstringThe address.
items[].amountintegerThe deal's amount, in whole shekels.
items[].weeklybooleanPart of a weekly booking.
Errors
StatusCodeMeaning
400bad_parameterA parameter is not one the endpoint accepts. The message names it.
400bad_rangeto is before from, or the range is longer than 124 days.
401missing_keyThe endpoint needs a key and no Authorization header came.
401bad_keyThe key is not one of ours, was revoked, or its account was closed or blocked.
429too_many_requestsOver the rate limit. Wait the seconds in Retry-After (60) and go on.
500server_errorSomething failed on our side. Try again shortly.