Skip to content
ReppREST reference · v2

Requests

The business's "need a substitute" requests from 30 days ago on, soonest first, each with where it stands.

Cancelled requests are left out. A key of an account with no business gets 403 not_a_business.

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

Request

curl "https://api.dev.repp.co.il/v1/requests" \
  -H "Authorization: Bearer $REPP_API_KEY"

Response

200 · application/json
{
  "items": [
    {
      "id": "a4e5f6b7-c8d9-4e0f-8a1b-2c3d4e5f6a7b",
      "style": "yoga",
      "date": "2026-12-01",
      "time": "18:00",
      "starts_at": "2026-12-01T16:00:00+00:00",
      "duration_minutes": 60,
      "pay": 180,
      "region": "gush_dan",
      "address": "ביאליק 20, רמת גן",
      "status": "open",
      "close_mode": "choose",
      "cancel_policy": "regular",
      "offers_waiting": 2,
      "trainer": null,
      "invitation": null,
      "created_at": "2026-11-26T08:12:00+00:00"
    }
  ]
}
Response fields (24)
Response fields
FieldTypeDescription
itemsarray of RequestFrom 30 days ago on, soonest first.
items[].idstringIdentifier.
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, otherA training style: one of the keys in Catalog.
items[].datestringA date in Israel, YYYY-MM-DD.
items[].timestringA time of day in Israel, HH:MM, 24 hours.
items[].starts_atstringAn exact moment, ISO 8601 with its offset.
items[].duration_minutesintegerLength of the class in minutes.
items[].payintegerWhat the business pays the trainer.
items[].regionone of: gush_dan, shfela, sharon, haifa, jerusalem, north, south, judea_samariaA region of Israel: one of the keys in Catalog.
items[].addressstringThe address.
items[].statusone of: open, filled, missedopen: looking for a trainer. filled: a trainer was chosen and paid. missed: it began and no trainer was found.
items[].close_modeone of: choose, firstchoose: the business chooses among offers. first: the first trainer to accept takes it.
items[].cancel_policyone of: flexible, regular, strictFree cancellation until: flexible 2 hours before, regular 6 hours before, strict 24 hours before.
items[].offers_waitingintegerHow many offers wait for a choice.
items[].trainerobject, nullableThe chosen trainer, or null.
items[].trainer.idstringIdentifier.
items[].trainer.namestringThe trainer's name.
items[].trainer.verifiedbooleanHas the blue check.
items[].invitationobject, nullableA direct invitation to one trainer, or null when the request is open to everyone.
items[].invitation.trainer_idstringIdentifier.
items[].invitation.trainer_namestring, nullableThe invited trainer's name.
items[].invitation.stateone of: waiting, accepted, declined, expiredwaiting: no answer yet. accepted, declined. expired: the window ran out.
items[].invitation.untilstringWhen the invitation runs out.
items[].created_atstringAn exact moment, ISO 8601 with its offset.
Errors
StatusCodeMeaning
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.
403not_a_businessThe endpoint is for businesses and the key's account has none.
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.