---
title: "Permissions"
section: explanation
order: 1
description: "The CollaborateMD WebAPI uses role-based access control (RBAC); each operation requires one or more roles."
---

The CollaborateMD WebAPI uses **role-based access control (RBAC).** Each operation requires one or more roles.
If you need additional permission, please contact Interface Support.

## Roles in Use

The API defines seven roles:

| Role                      | Purpose                                  | Type of Application                                   |
|---------------------------|------------------------------------------|-------------------------------------------------------|
| Patient/Claim/Appointment | Create patients, claims, & appointments. | EHRs and CRMs                                         |
| Claim Submission          | Submit claims to the clearinghouse       | Custom Integrations                                   |
| Eligibility               | Check patient insurance eligibility      | Custom Integrations                                   |
| Payment                   | Process patient payments and refunds     | Payment Processors, Statement Vendors                 |
| Reporting                 | Run custom reports                       | Custom Integrations, Analytics, Business Intelligence |
| Data Snapshots            | Download daily data snapshots            | Custom Integrations, Analytics, Business Intelligence |
| Batch Reporting           | Run custom reports across customers.     | Certain Integrations Only*                            |

\* Because data from multiple customers is batched together, this role is only available to certain integrations.

## Operations Always Allowed

Some operations are allowed to all registered partners:

- `GET /v1/customer/{custno}/codes/fee-schedule/{seqno}` — look up a fee schedule
- `GET /v1/customer/{custno}/payer/{payer}` — look up payer information
- `GET /v1/customer/{custno}/referring/find` — search for a referring provider
- `POST /v1/customer/{custno}/referring` — create a referring provider
- `GET /v1/customers` — list customer IDs accessible to your credential

## Requesting a Role

If you need a role you do not have, please contact Interface Support.
Describe the application that you are building or integrating and the reason that the role is needed.

## Credential Context

Your credentials include:

- **Username and password** — sent via HTTP Basic authentication
- **Assigned roles** — determine which operations you can call
- **Customer access** — determines which customer numbers you can query.
See `GET /v1/customers` to get the current list, and contact Interface Support
if you are adding a new customer.

## Troubleshooting Permission Errors

### 401 Unauthorized

If an operation returns an HTTP Status code of `401 Unauthorized`, you have entered an incorrect username or password.
If you need your password reset, please contact Interface Support.

### 403 Forbidden

If an operation returns an HTTP Status code of `403 Forbidden`, you do not have the required role.
See [Requesting a Role](#requesting-a-role).

#### Special Note: Snapshot Access

If you have been granted the `Data Snapshots` role, but you still receive a `403 Forbidden`
error when trying to download a snapshot,
please contact Interface Support to ensure that you have access to all customers contained in the data snapshot.

### Customer Access

If an operation returns `Status: ERROR` with the message "Your credentials do not have access to the requested customer":

1. Verify the customer number in the request is spelled correctly.
2. Use the `GET /v1/customers` endpoint to get the list of customer numbers you can access.

If you are adding a new customer, contact Interface Support to update your credentials.

## Example: Checking a Patient's Eligibility

To call `GET /v1/customer/{custno}/patient/{patient}/eligibility`:

- **Required role:** `ELIGIBILITY`
- **Required context:** the correct `{custno}` and `{patient}` parameters
- **To request:** Ask our Interface Support team for access to Eligibility requests

Once you have the role, you can make the request.
