Skip to content
ReppREST reference · v2

What waits for me

What waits for the account's own action, as the site's calendar page ("יומן") lists it: offers to choose from, space requests to answer, classes to rate.

Either side may be null: an account can be a business, a trainer, or both. Some of what waits is done only on the site, because it pays (choosing an offer) or needs a person (answering a no-show report); what an action of this API can do says so in its field.

Polling it is not a visit: it never keeps a trainer's "looking for work" switch on.

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

Request

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

Response

200 · application/json
{
  "business": {
    "choose_offers": [
      {
        "class_id": "a4e5f6b7-c8d9-4e0f-8a1b-2c3d4e5f6a7b",
        "style": "yoga",
        "date": "2026-12-01",
        "time": "18:00",
        "offers_waiting": 2
      }
    ],
    "send_again": [],
    "bookings_to_answer": [
      {
        "booking_id": "c2d3e4f5-a6b7-4c8d-9e0f-1a2b3c4d5e6f",
        "space": {
          "id": "b1c2d3e4-f5a6-4b7c-8d9e-0f1a2b3c4d5e",
          "name": "מתחם הקומה השנייה"
        },
        "trainer_name": "יוסי לוי",
        "date": "2026-12-02",
        "start_time": "11:00",
        "end_time": "13:00",
        "weekly": true
      }
    ],
    "classes_to_rate": [
      {
        "class_id": "a7b8c9d0-e1f2-4a3b-8c4d-5e6f7a8b9c0d",
        "style": "pilates",
        "date": "2026-11-27"
      }
    ]
  },
  "trainer": null
}
Response fields (34)
Response fields
FieldTypeDescription
businessobject, nullableWhat waits for the business, or null when the account has none.
business.choose_offersarray of objectRequests ahead with offers to choose from (choosing pays, so it is done on the site).
business.choose_offers[].class_idstringIdentifier.
business.choose_offers[].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.
business.choose_offers[].datestringA date in Israel, YYYY-MM-DD.
business.choose_offers[].timestringA time of day in Israel, HH:MM, 24 hours.
business.choose_offers[].offers_waitingintegerHow many offers wait for your choice.
business.send_againarray of objectRequests whose invitation to one trainer was declined or ran out: open them to everyone or invite another, on the site.
business.send_again[].class_idstringIdentifier.
business.send_again[].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.
business.send_again[].datestringA date in Israel, YYYY-MM-DD.
business.send_again[].timestringA time of day in Israel, HH:MM, 24 hours.
business.bookings_to_answerarray of objectSpace requests waiting for your yes: answer with POST /v1/bookings/{id}/decision.
business.bookings_to_answer[].booking_idstringIdentifier.
business.bookings_to_answer[].spaceobjectThe space.
business.bookings_to_answer[].trainer_namestring, nullableThe trainer who asked.
business.bookings_to_answer[].datestringA date in Israel, YYYY-MM-DD.
business.bookings_to_answer[].start_timestringA time of day in Israel, HH:MM, 24 hours.
business.bookings_to_answer[].end_timestringA time of day in Israel, HH:MM, 24 hours.
business.bookings_to_answer[].weeklybooleanA weekly booking.
business.classes_to_ratearray of objectClasses of the last 7 days waiting for your stars: POST /v1/ratings.
business.classes_to_rate[].class_idstringIdentifier.
business.classes_to_rate[].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.
business.classes_to_rate[].datestringA date in Israel, YYYY-MM-DD.
trainerobject, nullableWhat waits for the trainer, or null when the account has no trainer profile.
trainer.classes_to_ratearray of objectClasses of the last 7 days waiting for your stars: POST /v1/ratings.
trainer.classes_to_rate[].class_idstringIdentifier.
trainer.classes_to_rate[].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.
trainer.classes_to_rate[].datestringA date in Israel, YYYY-MM-DD.
trainer.reports_to_answerarray of objectA business reported you did not come: answer on the site.
trainer.reports_to_answer[].class_idstringIdentifier.
trainer.reports_to_answer[].reported_atstringAn exact moment, ISO 8601 with its offset.
trainer.offers_waitingintegerYour offers still waiting for a business's choice (nothing to do).
trainer.upcoming_classesintegerClasses ahead you were chosen for (nothing to do).
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.
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.