How Scopes Work
- When you create your app, you declare which scopes it needs
- When a clinic installs your app, they review and approve those scopes
- Your API key inherits the approved scopes
- Each API endpoint checks for the required scope before returning data
Available Scopes
Patient Data
| Scope | Endpoints | Description |
|---|---|---|
read:patients | GET /v1/patients | List patients with search and pagination |
GET /v1/patients/{id} | Get a specific patient by ID |
Appointments
| Scope | Endpoints | Description |
|---|---|---|
read:appointments | GET /v1/appointments | List appointments with filters |
GET /v1/appointments/{id} | Get a specific appointment by ID |
Providers
| Scope | Endpoints | Description |
|---|---|---|
read:providers | GET /v1/providers | List providers |
GET /v1/providers/{id} | Get a specific provider by ID |
Facilities
| Scope | Endpoints | Description |
|---|---|---|
read:facilities | GET /v1/facilities | List facilities |
GET /v1/facilities/{id} | Get a specific facility by ID |
Billing
| Scope | Endpoints | Description |
|---|---|---|
read:bills | GET /v1/bills | List bills with pagination |
GET /v1/bills/{id} | Get detailed bill with line items and coding groups |
Claims
| Scope | Endpoints | Description |
|---|---|---|
read:claims | GET /v1/claims | List claims with pagination |
GET /v1/claims/{id} | Get detailed claim with insurance info |
Inventory
| Scope | Endpoints | Description |
|---|---|---|
read:inventory | GET /v1/inventory/changes | List inventory changes |
GET /v1/inventory/changes/{id} | Get a specific inventory change | |
GET /v1/inventory/changes/{id}/products | Get products for an inventory change | |
GET /v1/inventory/stock-levels | Get current stock levels | |
read:products | GET /v1/inventory/products | List products in the catalog |
GET /v1/inventory/products/{id} | Get a specific product |
Marketplace
| Scope | Endpoints | Description |
|---|---|---|
read:marketplace | GET /v1/marketplace/me | Get your app’s identity and organization info |
Checking Your Scopes
Use the/v1/marketplace/me endpoint to see which scopes your API key currently has:
