Skip to content
ReppREST reference · v2

My spaces

The business's own spaces, paused ones too, with their address, hours and how they are booked.

A key of an account with no business gets 403 not_a_business.

GEThttps://api.dev.repp.co.il/v1/my-spacesKey

Request

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

Response

200 · application/json
{
  "items": [
    {
      "id": "b1c2d3e4-f5a6-4b7c-8d9e-0f1a2b3c4d5e",
      "name": "מתחם הקומה השנייה",
      "active": true,
      "price_per_hour": 90,
      "capacity": 12,
      "days": [
        0,
        1,
        2,
        3,
        4
      ],
      "open_from": "11:00",
      "open_to": "16:00",
      "region": "gush_dan",
      "address": "ביאליק 20, רמת גן",
      "booking_mode": "approval",
      "cancel_policy": "regular"
    }
  ]
}
Response fields (13)
Response fields
FieldTypeDescription
itemsarray of MySpaceEvery space of the business, paused ones too, oldest first.
items[].idstringIdentifier.
items[].namestringThe space's name.
items[].activebooleanOpen for rent. A paused space is not in the index.
items[].price_per_hourintegerRent for one hour, in whole shekels.
items[].capacityintegerHow many people fit in it.
items[].daysarray of integerThe weekdays it can be rented, 0 = Sunday.
items[].open_fromstringOpening time.
items[].open_tostringClosing time.
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[].booking_modeone of: instant, approvalinstant: a booking is confirmed at once. approval: it waits for your yes.
items[].cancel_policyone of: flexible, regular, strictFree cancellation until: flexible 2 hours before, regular 6 hours before, strict 24 hours before.
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.