Skip to content
ReppREST reference · v2

One request

One of the business's requests, with the trainers who offered: name, blue check and rating.

The API never sends a phone number. 404 when the request is not the business's, or was cancelled.

GEThttps://api.dev.repp.co.il/v1/requests/{id}Key

Request

curl "https://api.dev.repp.co.il/v1/requests/a4e5f6b7-c8d9-4e0f-8a1b-2c3d4e5f6a7b" \
  -H "Authorization: Bearer $REPP_API_KEY"

Response

200 · application/json
{
  "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",
  "offers": [
    {
      "trainer": {
        "id": "3f2b9c1e-8a7d-4e6f-b5a4-1c2d3e4f5a6b",
        "name": "דנה כהן",
        "verified": true,
        "rating": {
          "average": 4.8,
          "count": 12
        }
      },
      "status": "pending",
      "offered_at": "2026-11-26T09:30:00+00:00"
    },
    {
      "trainer": {
        "id": "d4e5f6a7-b8c9-4d0e-8f1a-2b3c4d5e6f7a",
        "name": "עומר ברק",
        "verified": false,
        "rating": null
      },
      "status": "pending",
      "offered_at": "2026-11-26T10:05:00+00:00"
    }
  ]
}
Path parameters
NameTypeDefaultDescription
idRequireduuid—The request's id.
Response fields (31)
Response fields
FieldTypeDescription
idstringIdentifier.
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.
datestringA date in Israel, YYYY-MM-DD.
timestringA time of day in Israel, HH:MM, 24 hours.
starts_atstringAn exact moment, ISO 8601 with its offset.
duration_minutesintegerLength of the class in minutes.
payintegerWhat the business pays the trainer.
regionone of: gush_dan, shfela, sharon, haifa, jerusalem, north, south, judea_samariaA region of Israel: one of the keys in Catalog.
addressstringThe address.
statusone of: open, filled, missedopen: looking for a trainer. filled: a trainer was chosen and paid. missed: it began and no trainer was found.
close_modeone of: choose, firstchoose: the business chooses among offers. first: the first trainer to accept takes it.
cancel_policyone of: flexible, regular, strictFree cancellation until: flexible 2 hours before, regular 6 hours before, strict 24 hours before.
offers_waitingintegerHow many offers wait for a choice.
trainerobject, nullableThe chosen trainer, or null.
trainer.idstringIdentifier.
trainer.namestringThe trainer's name.
trainer.verifiedbooleanHas the blue check.
invitationobject, nullableA direct invitation to one trainer, or null when the request is open to everyone.
invitation.trainer_idstringIdentifier.
invitation.trainer_namestring, nullableThe invited trainer's name.
invitation.stateone of: waiting, accepted, declined, expiredwaiting: no answer yet. accepted, declined. expired: the window ran out.
invitation.untilstringWhen the invitation runs out.
created_atstringAn exact moment, ISO 8601 with its offset.
offersarray of OfferThe offers, oldest first.
offers[].trainerobjectThe trainer who offered. The API never sends a phone number.
offers[].trainer.idstringIdentifier.
offers[].trainer.namestringThe trainer's name.
offers[].trainer.verifiedbooleanHas the blue check.
offers[].trainer.ratingRating, nullableThe rating, or null while nobody has rated yet.
offers[].statusone of: pending, chosenpending: waits for a choice. chosen: chosen.
offers[].offered_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.
404not_foundNo such endpoint, or no such item for this caller.
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.