RelayaRelayaDocs
Dashboard

Authentication

Authenticate your API requests using Bearer tokens. All requests must include a valid API key.

Bearer Token

Include your API key in the Authorization header of every request:

Authorization: Bearer rlya_live_abc123def456

API Key Types

PrefixEnvironmentDescription
rlya_live_ProductionAccess to live patient data and operations
rlya_test_SandboxSafe testing environment with mock data

Scopes

API keys can be restricted to specific scopes. Assign only the permissions your integration needs.

ScopeAccess
appointments:readList and retrieve appointments
appointments:writeCreate, update, and cancel appointments
patients:readList and retrieve patient records
patients:writeCreate and update patient records
voice:readAccess call logs and transcripts
voice:writeInitiate and transfer calls
scribe:readRetrieve clinical notes
scribe:writeSubmit audio and approve notes
webhooks:manageCreate and delete webhook subscriptions
analytics:readAccess analytics and reporting data

Security Best Practices

  • Never expose API keys in client-side code or public repositories.
  • Use environment variables to store keys in your application.
  • Rotate keys periodically and revoke any that may have been compromised.
  • Assign the minimum scopes required for your integration.
  • Use sandbox keys (rlya_test_) during development and testing.