Skip to content
ReppREST reference · v2

Status

Confirms your key is valid and tells you whose it is: the account's business and its trainer profile.

Call it first when you connect a new key. Either side may be null: an account can be a business, a trainer, or both.

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

Request

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

Response

200 · application/json
{
  "business": {
    "id": "7c1f6a52-3b8e-4d1a-9f0e-2a6b8c4d5e10",
    "name": "סטודיו נועה"
  },
  "trainer": null
}
Response fields (9)
Response fields
FieldTypeDescription
businessobject, nullableThe account's business, or null.
business.idstringIdentifier.
business.namestringThe business's name.
trainerobject, nullableThe account's trainer profile, or null.
trainer.idstringIdentifier.
trainer.namestringThe trainer's full name.
trainer.listedbooleanThe profile is complete and shown in the index.
trainer.looking_for_workbooleanThe "looking for work" switch is on.
trainer.verifiedbooleanHas the blue check.
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.