> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.joincandidhealth.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.joincandidhealth.com/_mcp/server.

# Upload a fee schedule (a collection of rates)

POST https://api.joincandidhealth.com/api/fee-schedules/v3
Content-Type: application/json

Uploads a new fee schedule.

Each rate may either be totally new as qualified by its dimensions or a new version for an existing rate.

If adding a new version to an existing rate, the rate must be posted with the next version number (previous version + 1) or a EntityConflictError will
be returned.

Use the dry run flag to discover already existing rates and to run validations.  If validations for any rate fail, no rates will
be saved to the system.

Reference: https://docs.joincandidhealth.com/api-reference/fee-schedules/v-3/upload-fee-schedule

## Authentication

- OAuth2 — send the obtained token as `Authorization: Bearer <token>`

## Servers

- `https://api.joincandidhealth.com` (Production, default)
- `https://api-staging.joincandidhealth.com` (Staging)
- `https://sandbox-api.joincandidhealth.com` (CandidSandbox)
- `https://staging-api.joincandidhealth.com` (CandidStaging)
- `http://localhost:5050` (Local)

## Request

### Body (application/json)

This endpoint expects an object.

- `dry_run` (boolean, required)
- `rates` (list of RateUpload, required)

## Response

### 200

- `list of Rate`

## Errors

### 422 Fee Schedule Validation HTTP Error

- `errorName` ("FeeScheduleValidationHttpError", required)
- `content` (list of RateUploadWithPossibleErrors, required)

## Types

### RateUpload

- `type`: `new_rate`
  - `dimensions` (Dimensions, required) — Dimension values that qualify a rate. For the optional dimensions, a null value signifies "all apply". For set-type dimensions, an empty set signifies "all apply". Only one of, but not both, of `network_types` and `payer_plan_group_id` may be populated.
  - `entries` (list of RateEntry, required)
- `type`: `new_version`
  - `entries` (list of RateEntry, required)
  - `previous_version` (integer, required) — New versions of rates must indicate the exact version they modify. When the system attempts to save this new version, if the latest version in the system does not equal this previous_version, the request will be rejected with a EntityConflictError.
  - `rate_id` (UUID, required)

### Rate

A comprehensive rate including the current rate value and all values for historic time ranges. The time ranges specified by each RateEntry are disjoint. A rate must always have at least one entry.

- `rate_id` (UUID, required)
- `dimensions` (Dimensions, required) — The dimension values that distinguish this rate from others.
- `version` (integer, required) — The version of this rate in the system.
- `updated_at` (date, required)
- `updated_by` (UUID, required)
- `entries` (list of RateEntry, required)

### RateUploadWithPossibleErrors

- `rate_upload` (RateUpload, required)
- `possible_errors` (list of ValidationError, required)
- `existing_rate` (Rate, optional) — A comprehensive rate including the current rate value and all values for historic time ranges. The time ranges specified by each RateEntry are disjoint. A rate must always have at least one entry.

### Dimensions

Dimension values that qualify a rate. For the optional dimensions, a null value signifies "all apply". For set-type dimensions, an empty set signifies "all apply". Only one of, but not both, of `network_types` and `payer_plan_group_id` may be populated.

- `payer_uuid` (UUID, required)
- `organization_billing_provider_id` (UUID, required)
- `states` (set of enum, required)
  - Allowed values: `AA`, `AE`, `AP`, `AL`, `AK`, `AS`, `AZ`, `AR`, `CA`, `CO`, `CT`, `DC`, `DE`, `FL`, `FM`, `GA`, `GU`, `HI`, `ID`, `IL`, `IN`, `IA`, `KS`, `KY`, `LA`, `ME`, `MD`, `MA`, `MH`, `MI`, `MN`, `MP`, `MS`, `MO`, `MT`, `NE`, `NV`, `NH`, `NJ`, `NM`, `NY`, `NC`, `ND`, `OH`, `OK`, `OR`, `PA`, `PR`, `PW`, `RI`, `SC`, `SD`, `TN`, `TX`, `UT`, `VI`, `VT`, `VA`, `WA`, `WV`, `WI`, `WY`, `FC`
- `zip_codes` (set of string, required)
- `license_types` (set of enum, required)
  - Allowed values: `MD`, `NP`, `PA`, `LMFT`, `LCPC`, `LCSW`, `PMHNP`, `FNP`, `LPCC`, `DO`, `RD`, `SLP`, `APRN`, `LPC`, `PHD`, `PSYD`, `LMSW`, `LMHC`, `OTHER_MASTERS`, `BCBA`, `UNKNOWN`, `RPH`, `PHT`, `LAC`, `LMT`, `DC`, `ND`, `MA`, `PT`, `IBCLC`, `RN`, `DPT`, `LCMHC`, `CNM`, `RNFA`, `ACSW`, `APC`, `BCABA`, `BHA`, `OD`, `DPM`, `DA`, `DDS`, `DEH`, `DMD`, `PTA`, `LCADC`, `LCAT`, `LCMHCS`, `LCMHCA`, `LCSWA`, `LICSW`, `LISW`, `LMFTS`, `LMFTA`, `LPCI`, `LSCSW`, `MHCA`, `MHT`, `RBT`, `RCSWI`, `RHMCI`, `LPN`, `OTD`, `OMS`, `MFTA`, `APCC`, `DNP`, `AGNPBC`, `ANP`, `FNPPP`, `LCSWR`, `ALC`, `RMFTI`, `LAMFT`, `LPCA`, `LSWI`, `CSW`, `CPC`, `LGMFT`, `LLPC`, `PLPC`, `PLMFT`, `LMHCA`, `CIT`, `CT`, `MFT`, `LSW`, `PLMHP`, `PCMSW`, `LMHP`, `OTR/L`, `RPA`, `COTA`, `CRNP`, `SLP-CF`, `NP-C`, `PA-C`, `AMFT`, `CDN`, `CGC`, `CNS`, `MDPHD`, `AuD`, `ATC`, `LAT`, `OTA`, `LSSP`, `SLPA`, `EdD`, `SWT`, `IMFT`, `RT`
- `facility_type_codes` (set of enum, required)
  - Allowed values: `01`, `02`, `03`, `04`, `05`, `06`, `07`, `08`, `09`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `23`, `24`, `25`, `26`, `31`, `32`, `33`, `34`, `41`, `42`, `49`, `50`, `51`, `52`, `53`, `54`, `55`, `56`, `57`, `58`, `60`, `61`, `62`, `65`, `71`, `72`, `81`, `99`
- `network_types` (set of enum, required)
  - Allowed values: `12`, `13`, `14`, `15`, `16`, `17`, `AM`, `CH`, `DS`, `HM`, `LM`, `MA`, `MB`, `MC`, `OF`, `TV`, `VA`, `WC`, `ZZ`, `CI`, `BL`
- `payer_plan_group_ids` (set of UUID, required)
- `cpt_code` (string, required)
- `modifiers` (set of enum, required)
  - Allowed values: `AV`, `AU`, `AW`, `AY`, `07`, `08`, `09`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `22`, `23`, `24`, `25`, `26`, `27`, `28`, `32`, `33`, `47`, `50`, `51`, `52`, `53`, `54`, `55`, `56`, `57`, `58`, `59`, `62`, `63`, `66`, `73`, `74`, `76`, `77`, `78`, `79`, `80`, `81`, `82`, `90`, `91`, `92`, `93`, `95`, `96`, `97`, `99`, `A1`, `A2`, `A3`, `A4`, `A5`, `A6`, `A7`, `A8`, `A9`, `AA`, `AB`, `AD`, `AE`, `AF`, `AG`, `AH`, `AI`, `AJ`, `AK`, `AM`, `AO`, `AP`, `AQ`, `AR`, `AS`, `AT`, `AZ`, `BA`, `BL`, `BO`, `BP`, `BR`, `BU`, `CA`, `CB`, `CC`, `CD`, `CE`, `CF`, `CG`, `CH`, `CI`, `CJ`, `CK`, `CL`, `CM`, `CN`, `CR`, `CS`, `CT`, `CO`, `CQ`, `DA`, `E1`, `E2`, `E3`, `E4`, `EA`, `EB`, `EC`, `ED`, `EE`, `EJ`, `EM`, `EP`, `ER`, `ET`, `EV`, `EX`, `EY`, `F1`, `F2`, `F3`, `F4`, `F5`, `F6`, `F7`, `F8`, `F9`, `FA`, `FB`, `FC`, `FP`, `FQ`, `FR`, `FS`, `FT`, `FX`, `FY`, `G0`, `G1`, `G2`, `G3`, `G4`, `G5`, `G6`, `G7`, `G8`, `G9`, `GA`, `GB`, `GC`, `GE`, `GF`, `GG`, `GH`, `GJ`, `GK`, `GL`, `GM`, `GN`, `GO`, `GP`, `GQ`, `GR`, `GS`, `GT`, `GU`, `GV`, `GW`, `GX`, `GY`, `GZ`, `HA`, `HB`, `HC`, `HD`, `HE`, `HF`, `HG`, `HH`, `HI`, `HJ`, `HK`, `HL`, `HM`, `HN`, `HO`, `HP`, `HQ`, `HR`, `HS`, `HT`, `HU`, `HV`, `HW`, `HX`, `HY`, `HZ`, `J1`, `J2`, `J3`, `J4`, `J5`, `JA`, `JB`, `JC`, `JD`, `JE`, `JG`, `JW`, `JZ`, `K0`, `K1`, `K2`, `K3`, `K4`, `KA`, `KB`, `KC`, `KD`, `KE`, `KF`, `KG`, `KH`, `KI`, `KJ`, `KK`, `KL`, `KM`, `KN`, `KO`, `KP`, `KQ`, `KR`, `KS`, `KT`, `KU`, `KV`, `KW`, `KX`, `KY`, `KZ`, `LC`, `LD`, `LL`, `LM`, `LR`, `LS`, `LT`, `LU`, `M2`, `MA`, `MB`, `MC`, `MD`, `ME`, `MF`, `MG`, `MH`, `MS`, `N1`, `N2`, `N3`, `NB`, `NR`, `NU`, `P1`, `P2`, `P3`, `P4`, `P5`, `P6`, `PA`, `PB`, `PC`, `PD`, `PI`, `PL`, `PM`, `PN`, `PO`, `PS`, `PT`, `Q0`, `Q1`, `Q2`, `Q3`, `Q4`, `Q5`, `Q6`, `Q7`, `Q8`, `Q9`, `QA`, `QB`, `QC`, `QD`, `QE`, `QF`, `QG`, `QH`, `QJ`, `QK`, `QL`, `QM`, `QN`, `QP`, `QQ`, `QR`, `QS`, `QT`, `QW`, `QX`, `QY`, `QZ`, `RA`, `RB`, `RC`, `RD`, `RE`, `RI`, `RR`, `RT`, `SA`, `SB`, `SC`, `SD`, `SE`, `SF`, `SG`, `SH`, `SJ`, `SL`, `SM`, `SN`, `SQ`, `SS`, `ST`, `SU`, `SV`, `SW`, `SY`, `T1`, `T2`, `T3`, `T4`, `T5`, `T6`, `T7`, `T8`, `T9`, `TA`, `TB`, `TC`, `TD`, `TE`, `TF`, `TG`, `TH`, `TJ`, `TK`, `TL`, `TM`, `TN`, `TP`, `TQ`, `TR`, `TS`, `TT`, `TU`, `TV`, `TW`, `U1`, `U2`, `U3`, `U4`, `U5`, `U6`, `U7`, `U8`, `U9`, `UA`, `UB`, `UC`, `UD`, `UE`, `UF`, `UG`, `UH`, `UJ`, `UK`, `UN`, `UP`, `UQ`, `UR`, `US`, `V1`, `V2`, `V3`, `W1`, `W2`, `W3`, `WC`, `WH`, `X4`, `XE`, `XP`, `XS`, `XU`, `XY`, `ZZ`

### RateEntry

A rate value in cents for a specific time range. Rate entries can be deactivated, which is set by using the delete_rate endpoint. Deactivated rate entries are not considered when matching against service lines.

- `start_date` (date, required)
- `rate_cents` (integer, required)
- `is_deactivated` (boolean, required)
- `end_date` (date, optional)

### ValidationError

- `type`: `overlapping_rate_entries`
  - `message` (string, required)
  - `rate_a` (RateEntry, required) — A rate value in cents for a specific time range. Rate entries can be deactivated, which is set by using the delete_rate endpoint. Deactivated rate entries are not considered when matching against service lines.
  - `rate_b` (RateEntry, required) — A rate value in cents for a specific time range. Rate entries can be deactivated, which is set by using the delete_rate endpoint. Deactivated rate entries are not considered when matching against service lines.
- `type`: `version_conflict`
  - `entity_name` (string, required)
- `type`: `organization_provider_not_found`
  - `id` (string, required)
- `type`: `duplicate_rate`
- `type`: `empty_entries`
- `type`: `payer_plan_group_not_found`
  - `id` (string, required)
- `type`: `payer_plan_group_does_not_match_rate_payer`
  - `payer_plan_group_payer_uuid` (UUID, required)
  - `rate_payer_uuid` (UUID, required)
- `type`: `payer_plan_group_network_type_mutual_exclusion`
  - `entity_name` (string, required)

## Examples

**Request**

```json
{
  "dry_run": true,
  "rates": [
    {
      "type": "new_rate",
      "dimensions": {
        "payer_uuid": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
        "organization_billing_provider_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
        "states": [
          "AA"
        ],
        "zip_codes": [
          "zip_codes"
        ],
        "license_types": [
          "MD"
        ],
        "facility_type_codes": [
          "01"
        ],
        "network_types": [
          "12"
        ],
        "payer_plan_group_ids": [
          "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
        ],
        "cpt_code": "cpt_code",
        "modifiers": [
          "AV"
        ]
      },
      "entries": [
        {
          "start_date": "2023-01-15",
          "rate_cents": 1,
          "is_deactivated": true
        },
        {
          "start_date": "2023-01-15",
          "rate_cents": 1,
          "is_deactivated": true
        }
      ]
    },
    {
      "type": "new_rate",
      "dimensions": {
        "payer_uuid": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
        "organization_billing_provider_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
        "states": [
          "AA"
        ],
        "zip_codes": [
          "zip_codes"
        ],
        "license_types": [
          "MD"
        ],
        "facility_type_codes": [
          "01"
        ],
        "network_types": [
          "12"
        ],
        "payer_plan_group_ids": [
          "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
        ],
        "cpt_code": "cpt_code",
        "modifiers": [
          "AV"
        ]
      },
      "entries": [
        {
          "start_date": "2023-01-15",
          "rate_cents": 1,
          "is_deactivated": true
        },
        {
          "start_date": "2023-01-15",
          "rate_cents": 1,
          "is_deactivated": true
        }
      ]
    }
  ]
}
```

**Response**

```json
[
  {
    "rate_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    "dimensions": {
      "payer_uuid": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "organization_billing_provider_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "states": [
        "AA"
      ],
      "zip_codes": [
        "zip_codes"
      ],
      "license_types": [
        "MD"
      ],
      "facility_type_codes": [
        "01"
      ],
      "network_types": [
        "12"
      ],
      "payer_plan_group_ids": [
        "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
      ],
      "cpt_code": "cpt_code",
      "modifiers": [
        "AV"
      ]
    },
    "version": 1,
    "updated_at": "2023-01-15",
    "updated_by": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    "entries": [
      {
        "start_date": "2023-01-15",
        "rate_cents": 1,
        "is_deactivated": true,
        "end_date": "2023-01-15"
      },
      {
        "start_date": "2023-01-15",
        "rate_cents": 1,
        "is_deactivated": true,
        "end_date": "2023-01-15"
      }
    ]
  },
  {
    "rate_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    "dimensions": {
      "payer_uuid": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "organization_billing_provider_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "states": [
        "AA"
      ],
      "zip_codes": [
        "zip_codes"
      ],
      "license_types": [
        "MD"
      ],
      "facility_type_codes": [
        "01"
      ],
      "network_types": [
        "12"
      ],
      "payer_plan_group_ids": [
        "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
      ],
      "cpt_code": "cpt_code",
      "modifiers": [
        "AV"
      ]
    },
    "version": 1,
    "updated_at": "2023-01-15",
    "updated_by": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    "entries": [
      {
        "start_date": "2023-01-15",
        "rate_cents": 1,
        "is_deactivated": true,
        "end_date": "2023-01-15"
      },
      {
        "start_date": "2023-01-15",
        "rate_cents": 1,
        "is_deactivated": true,
        "end_date": "2023-01-15"
      }
    ]
  }
]
```

**SDK Code**

```python
import requests

url = "https://api.joincandidhealth.com/api/fee-schedules/v3"

payload = {
    "dry_run": True,
    "rates": [
        {
            "type": "new_rate",
            "dimensions": {
                "payer_uuid": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
                "organization_billing_provider_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
                "states": ["AA"],
                "zip_codes": ["zip_codes"],
                "license_types": ["MD"],
                "facility_type_codes": ["01"],
                "network_types": ["12"],
                "payer_plan_group_ids": ["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"],
                "cpt_code": "cpt_code",
                "modifiers": ["AV"]
            },
            "entries": [
                {
                    "start_date": "2023-01-15",
                    "rate_cents": 1,
                    "is_deactivated": True
                },
                {
                    "start_date": "2023-01-15",
                    "rate_cents": 1,
                    "is_deactivated": True
                }
            ]
        },
        {
            "type": "new_rate",
            "dimensions": {
                "payer_uuid": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
                "organization_billing_provider_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
                "states": ["AA"],
                "zip_codes": ["zip_codes"],
                "license_types": ["MD"],
                "facility_type_codes": ["01"],
                "network_types": ["12"],
                "payer_plan_group_ids": ["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"],
                "cpt_code": "cpt_code",
                "modifiers": ["AV"]
            },
            "entries": [
                {
                    "start_date": "2023-01-15",
                    "rate_cents": 1,
                    "is_deactivated": True
                },
                {
                    "start_date": "2023-01-15",
                    "rate_cents": 1,
                    "is_deactivated": True
                }
            ]
        }
    ]
}
headers = {
    "Authorization": "<token>.",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.joincandidhealth.com/api/fee-schedules/v3';
const options = {
  method: 'POST',
  headers: {Authorization: '<token>.', 'Content-Type': 'application/json'},
  body: '{"dry_run":true,"rates":[{"type":"new_rate","dimensions":{"payer_uuid":"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32","organization_billing_provider_id":"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32","states":["AA"],"zip_codes":["zip_codes"],"license_types":["MD"],"facility_type_codes":["01"],"network_types":["12"],"payer_plan_group_ids":["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"],"cpt_code":"cpt_code","modifiers":["AV"]},"entries":[{"start_date":"2023-01-15","rate_cents":1,"is_deactivated":true},{"start_date":"2023-01-15","rate_cents":1,"is_deactivated":true}]},{"type":"new_rate","dimensions":{"payer_uuid":"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32","organization_billing_provider_id":"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32","states":["AA"],"zip_codes":["zip_codes"],"license_types":["MD"],"facility_type_codes":["01"],"network_types":["12"],"payer_plan_group_ids":["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"],"cpt_code":"cpt_code","modifiers":["AV"]},"entries":[{"start_date":"2023-01-15","rate_cents":1,"is_deactivated":true},{"start_date":"2023-01-15","rate_cents":1,"is_deactivated":true}]}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.joincandidhealth.com/api/fee-schedules/v3"

	payload := strings.NewReader("{\n  \"dry_run\": true,\n  \"rates\": [\n    {\n      \"type\": \"new_rate\",\n      \"dimensions\": {\n        \"payer_uuid\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"organization_billing_provider_id\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"states\": [\n          \"AA\"\n        ],\n        \"zip_codes\": [\n          \"zip_codes\"\n        ],\n        \"license_types\": [\n          \"MD\"\n        ],\n        \"facility_type_codes\": [\n          \"01\"\n        ],\n        \"network_types\": [\n          \"12\"\n        ],\n        \"payer_plan_group_ids\": [\n          \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\"\n        ],\n        \"cpt_code\": \"cpt_code\",\n        \"modifiers\": [\n          \"AV\"\n        ]\n      },\n      \"entries\": [\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        },\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        }\n      ]\n    },\n    {\n      \"type\": \"new_rate\",\n      \"dimensions\": {\n        \"payer_uuid\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"organization_billing_provider_id\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"states\": [\n          \"AA\"\n        ],\n        \"zip_codes\": [\n          \"zip_codes\"\n        ],\n        \"license_types\": [\n          \"MD\"\n        ],\n        \"facility_type_codes\": [\n          \"01\"\n        ],\n        \"network_types\": [\n          \"12\"\n        ],\n        \"payer_plan_group_ids\": [\n          \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\"\n        ],\n        \"cpt_code\": \"cpt_code\",\n        \"modifiers\": [\n          \"AV\"\n        ]\n      },\n      \"entries\": [\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        },\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        }\n      ]\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "<token>.")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.joincandidhealth.com/api/fee-schedules/v3")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = '<token>.'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"dry_run\": true,\n  \"rates\": [\n    {\n      \"type\": \"new_rate\",\n      \"dimensions\": {\n        \"payer_uuid\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"organization_billing_provider_id\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"states\": [\n          \"AA\"\n        ],\n        \"zip_codes\": [\n          \"zip_codes\"\n        ],\n        \"license_types\": [\n          \"MD\"\n        ],\n        \"facility_type_codes\": [\n          \"01\"\n        ],\n        \"network_types\": [\n          \"12\"\n        ],\n        \"payer_plan_group_ids\": [\n          \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\"\n        ],\n        \"cpt_code\": \"cpt_code\",\n        \"modifiers\": [\n          \"AV\"\n        ]\n      },\n      \"entries\": [\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        },\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        }\n      ]\n    },\n    {\n      \"type\": \"new_rate\",\n      \"dimensions\": {\n        \"payer_uuid\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"organization_billing_provider_id\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"states\": [\n          \"AA\"\n        ],\n        \"zip_codes\": [\n          \"zip_codes\"\n        ],\n        \"license_types\": [\n          \"MD\"\n        ],\n        \"facility_type_codes\": [\n          \"01\"\n        ],\n        \"network_types\": [\n          \"12\"\n        ],\n        \"payer_plan_group_ids\": [\n          \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\"\n        ],\n        \"cpt_code\": \"cpt_code\",\n        \"modifiers\": [\n          \"AV\"\n        ]\n      },\n      \"entries\": [\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        },\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        }\n      ]\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.joincandidhealth.com/api/fee-schedules/v3")
  .header("Authorization", "<token>.")
  .header("Content-Type", "application/json")
  .body("{\n  \"dry_run\": true,\n  \"rates\": [\n    {\n      \"type\": \"new_rate\",\n      \"dimensions\": {\n        \"payer_uuid\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"organization_billing_provider_id\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"states\": [\n          \"AA\"\n        ],\n        \"zip_codes\": [\n          \"zip_codes\"\n        ],\n        \"license_types\": [\n          \"MD\"\n        ],\n        \"facility_type_codes\": [\n          \"01\"\n        ],\n        \"network_types\": [\n          \"12\"\n        ],\n        \"payer_plan_group_ids\": [\n          \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\"\n        ],\n        \"cpt_code\": \"cpt_code\",\n        \"modifiers\": [\n          \"AV\"\n        ]\n      },\n      \"entries\": [\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        },\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        }\n      ]\n    },\n    {\n      \"type\": \"new_rate\",\n      \"dimensions\": {\n        \"payer_uuid\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"organization_billing_provider_id\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"states\": [\n          \"AA\"\n        ],\n        \"zip_codes\": [\n          \"zip_codes\"\n        ],\n        \"license_types\": [\n          \"MD\"\n        ],\n        \"facility_type_codes\": [\n          \"01\"\n        ],\n        \"network_types\": [\n          \"12\"\n        ],\n        \"payer_plan_group_ids\": [\n          \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\"\n        ],\n        \"cpt_code\": \"cpt_code\",\n        \"modifiers\": [\n          \"AV\"\n        ]\n      },\n      \"entries\": [\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        },\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        }\n      ]\n    }\n  ]\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.joincandidhealth.com/api/fee-schedules/v3', [
  'body' => '{
  "dry_run": true,
  "rates": [
    {
      "type": "new_rate",
      "dimensions": {
        "payer_uuid": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
        "organization_billing_provider_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
        "states": [
          "AA"
        ],
        "zip_codes": [
          "zip_codes"
        ],
        "license_types": [
          "MD"
        ],
        "facility_type_codes": [
          "01"
        ],
        "network_types": [
          "12"
        ],
        "payer_plan_group_ids": [
          "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
        ],
        "cpt_code": "cpt_code",
        "modifiers": [
          "AV"
        ]
      },
      "entries": [
        {
          "start_date": "2023-01-15",
          "rate_cents": 1,
          "is_deactivated": true
        },
        {
          "start_date": "2023-01-15",
          "rate_cents": 1,
          "is_deactivated": true
        }
      ]
    },
    {
      "type": "new_rate",
      "dimensions": {
        "payer_uuid": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
        "organization_billing_provider_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
        "states": [
          "AA"
        ],
        "zip_codes": [
          "zip_codes"
        ],
        "license_types": [
          "MD"
        ],
        "facility_type_codes": [
          "01"
        ],
        "network_types": [
          "12"
        ],
        "payer_plan_group_ids": [
          "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
        ],
        "cpt_code": "cpt_code",
        "modifiers": [
          "AV"
        ]
      },
      "entries": [
        {
          "start_date": "2023-01-15",
          "rate_cents": 1,
          "is_deactivated": true
        },
        {
          "start_date": "2023-01-15",
          "rate_cents": 1,
          "is_deactivated": true
        }
      ]
    }
  ]
}',
  'headers' => [
    'Authorization' => '<token>.',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.joincandidhealth.com/api/fee-schedules/v3");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "<token>.");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"dry_run\": true,\n  \"rates\": [\n    {\n      \"type\": \"new_rate\",\n      \"dimensions\": {\n        \"payer_uuid\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"organization_billing_provider_id\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"states\": [\n          \"AA\"\n        ],\n        \"zip_codes\": [\n          \"zip_codes\"\n        ],\n        \"license_types\": [\n          \"MD\"\n        ],\n        \"facility_type_codes\": [\n          \"01\"\n        ],\n        \"network_types\": [\n          \"12\"\n        ],\n        \"payer_plan_group_ids\": [\n          \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\"\n        ],\n        \"cpt_code\": \"cpt_code\",\n        \"modifiers\": [\n          \"AV\"\n        ]\n      },\n      \"entries\": [\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        },\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        }\n      ]\n    },\n    {\n      \"type\": \"new_rate\",\n      \"dimensions\": {\n        \"payer_uuid\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"organization_billing_provider_id\": \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\",\n        \"states\": [\n          \"AA\"\n        ],\n        \"zip_codes\": [\n          \"zip_codes\"\n        ],\n        \"license_types\": [\n          \"MD\"\n        ],\n        \"facility_type_codes\": [\n          \"01\"\n        ],\n        \"network_types\": [\n          \"12\"\n        ],\n        \"payer_plan_group_ids\": [\n          \"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32\"\n        ],\n        \"cpt_code\": \"cpt_code\",\n        \"modifiers\": [\n          \"AV\"\n        ]\n      },\n      \"entries\": [\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        },\n        {\n          \"start_date\": \"2023-01-15\",\n          \"rate_cents\": 1,\n          \"is_deactivated\": true\n        }\n      ]\n    }\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "<token>.",
  "Content-Type": "application/json"
]
let parameters = [
  "dry_run": true,
  "rates": [
    [
      "type": "new_rate",
      "dimensions": [
        "payer_uuid": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
        "organization_billing_provider_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
        "states": ["AA"],
        "zip_codes": ["zip_codes"],
        "license_types": ["MD"],
        "facility_type_codes": ["01"],
        "network_types": ["12"],
        "payer_plan_group_ids": ["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"],
        "cpt_code": "cpt_code",
        "modifiers": ["AV"]
      ],
      "entries": [
        [
          "start_date": "2023-01-15",
          "rate_cents": 1,
          "is_deactivated": true
        ],
        [
          "start_date": "2023-01-15",
          "rate_cents": 1,
          "is_deactivated": true
        ]
      ]
    ],
    [
      "type": "new_rate",
      "dimensions": [
        "payer_uuid": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
        "organization_billing_provider_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
        "states": ["AA"],
        "zip_codes": ["zip_codes"],
        "license_types": ["MD"],
        "facility_type_codes": ["01"],
        "network_types": ["12"],
        "payer_plan_group_ids": ["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"],
        "cpt_code": "cpt_code",
        "modifiers": ["AV"]
      ],
      "entries": [
        [
          "start_date": "2023-01-15",
          "rate_cents": 1,
          "is_deactivated": true
        ],
        [
          "start_date": "2023-01-15",
          "rate_cents": 1,
          "is_deactivated": true
        ]
      ]
    ]
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.joincandidhealth.com/api/fee-schedules/v3")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```