Skip to content
ReppREST reference · v2

Quickstart

Your first call in a few minutes: let your coding agent set it up, or do it by hand. Both end with a key in your environment and a real answer from the API.

With your coding agent

Claude Code, Cursor, Codex or any agent that can read a web page: paste this prompt into it. It points the agent at the docs written for agents, and tells it where the key lives. You still make the key yourself (step 1 below): an agent never should.

Prompt for your coding agent
Connect this project to Repp's API.

- Start with the docs' index for agents: https://docs.dev.repp.co.il/llms.txt (every page is Markdown: add .md to its address).
- The OpenAPI 3.1 description is at https://api.dev.repp.co.il/v1/openapi.json.
- Read the API key from the environment variable REPP_API_KEY. Never write the key into code or commit it.
- Send it as "Authorization: Bearer <key>", and check it first with GET https://api.dev.repp.co.il/v1/me.
- An action needs a key made as "read and actions" and a new Idempotency-Key header for each action.

Want the agent to read Repp itself while it works - your calendar, the index? Add the MCP server too; it asks you to sign in with your phone the first time.

Claude Code
claude mcp add --transport http repp https://api.dev.repp.co.il/mcp

By hand

1. Make a key. Sign in to Repp - the business site or the trainer site - and open החשבון שלי → מפתחות API. Name the key, keep קריאה בלבד (read only) for now, and create it. It is shown once: copy it.

2. Put it in the environment, where your code reads it - never in the code itself.

Terminal
export REPP_API_KEY="repp_…"

3. Check the key. Status answers whose key it is: the account's business, its trainer, or both.

curl "https://api.dev.repp.co.il/v1/me" \
  -H "Authorization: Bearer $REPP_API_KEY"
Response · 200
{
  "business": {
    "id": "7c1f6a52-3b8e-4d1a-9f0e-2a6b8c4d5e10",
    "name": "סטודיו נועה"
  },
  "trainer": null
}

4. Read something real. What waits for me lists what waits for the account's own action - offers to choose from, space requests to answer, classes to rate - as the site's calendar page does.

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

A 401 means the key is missing or mistyped; a 429 means slow down for a minute. Every error has the same body: see Errors.

Next steps