Skip to content
ReppREST reference · v2

Testing

Try the whole flow on Repp's demo, then build against your test keys and a test business before asking for live keys.

The demo

embed.dev.repp.co.il/demo is a made-up business system with the real SDK in it: six classes of this week, each with its status chip and a "find a substitute trainer" button, the connect card, and a log of the events it hears. Its partner is rpk_test_demo, already connected to Repp's own test business.

The demo, the test keys and the test business live on Repp's test site, where payments are pretend. On production the demo answers that it is off.

Your test keys

  • Use rpk_test_… in your page and rsk_test_… on your server, and register the origins of your test environment.
  • Your pages on http://localhost work with a test key without registering.
  • We give you a test business on Repp's test site to connect to.

Before you ask for live keys

  • Your server builds every session from its own data: the business and the person from your sign-in, never from the browser.
  • Each role of your system maps to owner, manager or staff as it should.
  • fetchClientSecret throws when your server says no, and your page handles load_error and session_expired.
  • Your webhook endpoint verifies Repp-Signature on the raw body, answers 2xx fast, handles each event id once and skips an event older than the last one applied. Try it with POST /partner/v1/webhook-endpoint/test.
  • The room.booking_* webhooks block and free rooms in your calendar, keyed by booking and date; room_bookings and room_booking_changed only refresh an open page.
  • shutdown() runs when a person signs out.
  • Your Content Security Policy lets Repp's script and frames in (see Security).

Try it is not offered on Sessions: it needs your secret key, which belongs on your server only. Contact us for live keys.