Sari la conținut
plusmedical logo for light backgrounds

Errors

Every error uses one envelope. message is human-readable and localized (English by default, Romanian with Accept-Language: ro); branch on code, never on the message.

{
  "error": {
    "code": "insufficient_scope",
    "message": "The API key is missing the required scope: read:doctors.",
    "details": { "required_scope": "read:doctors" }
  }
}

Codes

HTTPCodeMeaning
401invalid_api_keyMissing, malformed, revoked or expired key
403insufficient_scopeThe key lacks the scope in details.required_scope
404not_foundResource does not exist — including resources of other organizations (no existence leaks)
409slot_takenThe appointment slot was taken concurrently — refetch availability
422validation_failedField-level validation failed; details maps fields to messages
422outside_working_hoursThe requested time is outside the doctor's/location's schedule
422http_errorA domain rule rejected the request (message explains)
429rate_limitedPer-key rate limit exceeded — see rate limits

Retry guidance