Skip to the page

Search the titles, headings and text of every guide and API reference page.

    Chapters

    Providers

    Add a provider

    POST/api/v1/providers

    Adds a dentist who renders treatment, so a claim can name them as its rendering provider. The NPI must be 10 digits with a valid check digit, and one provider can have it in an organization and mode: an NPI already in use under the same last name (case and punctuation aside) is answered with 409 CONFLICT naming the provider that has it, whose ID you can use instead; under another last name, with 409 NPI_CONFLICT, naming none. A provider holds one license per state; a claim with none for the state where its treatment happened is sent without one and carries the warning NO_LICENSE_FOR_STATE. Names and license numbers are sent on the claim: none may contain control characters, and a license number may hold only letters, digits, spaces and basic punctuation (no * ~ : ^ |; in a name those are replaced with a space in the claim file). Needs an Idempotency-Key header and a key with the submit permission.

    Needs a key with submit permission.

    Request

    Headers

    Headers
    NameTypeRequiredDescription
    Idempotency-KeystringrequiredMakes the request safe to repeat: a request with the same key and body returns the first answer (the reply has an idempotent-replayed header), and the same key with a different request is refused. 1 to 255 printable characters; a UUID is a good choice.At least 1 character.At most 255 characters.Matches `^[\x21-\x7e]{1,255}$`.

    Body

    Body
    NameTypeRequiredDescription
    first_namestringrequiredThe provider's first name.At most 35 characters.
    last_namestringrequiredThe provider's last name.At most 60 characters.
    credentialstringoptionalThe credential after the name, such as DDS or DMD.At most 10 characters.
    npistringrequiredThe provider's individual NPI: 10 digits with a valid check digit. One provider per NPI in an organization and mode.
    licensesarray of objectoptionalThe provider's state licenses, one per state, in the order to keep them. A claim sends the license of the state where the treatment happened (its service location, else the billing office) as the rendering provider's secondary identification, and none when the provider has no license for that state. On a change, the list replaces the licenses on file: an empty list removes them all.At most 56 items.
    licenses[].numberstringrequiredThe state license number.At most 30 characters.
    licenses[].statestringrequiredThe two-letter code of the state that issued the license.
    licenseobject or nulloptionalDeprecated: the older form of `licenses`, for one license. It means a list of that one license, and null means an empty list. Send `licenses` instead; sending both is refused.
    license.numberstringrequiredThe state license number.At most 30 characters.
    license.statestringrequiredThe two-letter code of the state that issued the license.
    taxonomy_codestringoptionalThe NUCC taxonomy code sent on the claim: 9 letters or digits and a final X. Default 1223G0001X (general dentist).
    statusstringoptionalinactive providers stay on the claims that name them but cannot be chosen for new ones. Default active.One of: `active`, `inactive`.
    payer_provider_idsarray of objectoptionalThe provider's IDs assigned by payers (a Medicaid provider ID, say), at most one per payer. A claim to that payer sends it as REF*G2 (the rendering provider, 2310B) unless the claim sends its own (payer_provider_ids). On a change, the list replaces the one on file: an empty list removes them all.At most 50 items.
    payer_provider_ids[].payer_idstringrequiredThe payer (a Claim House payer ID, pyr_...).
    payer_provider_ids[].identifierstringrequiredThe payer's own ID, 1 to 50 characters: letters, digits, spaces and ! " & ' ( ) + , - . / ; ? =.At most 50 characters.

    Response

    The provider. Status 200.

    Response fields
    NameTypeDescription
    idstringAn ID that starts with prv_.
    objectstringAlways `provider`.
    first_namestringAt most 35 characters.
    last_namestringAt most 60 characters.
    credentialstringThe credential after the name, such as DDS. Empty when there is none.At most 10 characters.
    npistringThe provider's individual NPI.
    licensesarray of objectThe state licenses on file, one per state, in the order they were given; empty when there is none. A claim sends the license of the state where the treatment happened (its service location, else the billing office), and none when the provider has no license for that state.
    licenses[].statestringThe two-letter code of the state that issued the license.
    licenses[].numberstringAt most 30 characters.
    licenseobject or nullDeprecated: the first of `licenses`, or null when there is none. Read `licenses`: this field will be removed.
    license.numberstring
    license.statestringThe two-letter code of the state that issued the license.
    taxonomy_codestringThe NUCC taxonomy code sent on claims.
    specialtystringThe specialty the taxonomy code stands for (General dentistry, Orthodontics...), or the code itself when it is not one of the dental codes.
    statusstringOne of: `active`, `inactive`.
    payer_provider_idsarray of objectThe provider's IDs assigned by payers (a Medicaid provider ID, say), at most one per payer. A claim to that payer sends it as REF*G2 (the rendering provider, 2310B) unless the claim sends its own (payer_provider_ids). On a change, the list replaces the one on file: an empty list removes them all.
    payer_provider_ids[].payer_idstringAn ID that starts with pyr_.
    payer_provider_ids[].identifierstring
    originstringWhere the provider came from: the dashboard, the API, or a file dropped over SFTP.One of: `dashboard`, `api`, `sftp`.
    modestringOne of: `test`, `live`.
    created_atstring (date-time)
    updated_atstring (date-time)

    Errors

    Errors
    HTTP statusCodeWhat it means
    401UNAUTHORIZEDA valid API key is required. Send it as "Authorization: Bearer <key>".
    403PERMISSION_DENIEDThis API key is not allowed to do that.
    422INVALID_REQUESTThe request is not valid.
    400IDEMPOTENCY_KEY_REQUIREDThis request needs an Idempotency-Key header: a value you make up (a UUID is good), new for each new request.
    400IDEMPOTENCY_KEY_INVALIDThe Idempotency-Key header must be 1 to 255 printable characters.
    422IDEMPOTENCY_KEY_REUSEDThat Idempotency-Key was already used with a different request.
    409IDEMPOTENCY_KEY_IN_USEA request with that Idempotency-Key is still running. Send it again with the same key after Retry-After seconds.
    429TOO_MANY_REQUESTSToo many requests of this kind lately. Wait, then try again.
    413PAYLOAD_TOO_LARGEThe request body is larger than 1 MB.
    504TIMEOUTThe request took too long. Send it again with the same Idempotency-Key and body after Retry-After seconds: a 409 means it is still finishing (wait and send again), and any other answer is final. If this 504 comes back, find what the request made by listing with ?idempotency_key=<the key>.
    409CONFLICTThe resource is not in a state that allows this, or it changed while the request was handled. Read it, then decide whether to send the request again.
    409NPI_CONFLICTThis NPI belongs to another dentist in your organization: a provider with another last name has it. Check the NPI and the last name.
    500INTERNALSomething went wrong on our side. Quote the request ID if you contact us.

    Example

    Example request

    Shell
    curl -X POST "https://app.myclaimhouse.com/api/v1/providers" \
      -H "Authorization: Bearer $CLAIMHOUSE_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{
      "first_name": "Riley",
      "last_name": "Example",
      "credential": "DDS",
      "npi": "1999990017",
      "licenses": [
        {
          "state": "GA",
          "number": "GA-000000"
        }
      ]
    }'

    Example response: 200

    JSON
    {
      "id": "prv_01JM000000E008000000000005",
      "object": "provider",
      "first_name": "Riley",
      "last_name": "Example",
      "credential": "DDS",
      "npi": "1999990017",
      "licenses": [
        {
          "state": "GA",
          "number": "GA-000000"
        }
      ],
      "license": {
        "number": "GA-000000",
        "state": "GA"
      },
      "taxonomy_code": "1223G0001X",
      "specialty": "General dentistry",
      "status": "active",
      "payer_provider_ids": [],
      "origin": "api",
      "mode": "test",
      "created_at": "2026-01-15T14:00:00+00:00",
      "updated_at": "2026-01-15T14:00:00+00:00"
    }

    An NPI a provider already has: 409

    JSON
    {
      "error": "CONFLICT",
      "message": "A provider with this NPI already exists: prv_01JM000000E008000000000005.",
      "errors": [
        {
          "field": "npi",
          "code": "invalid",
          "message": "A provider with this NPI already exists: prv_01JM000000E008000000000005."
        }
      ],
      "details": {
        "provider_id": "prv_01JM000000E008000000000005"
      },
      "request_id": "req_01JM000000E008000000000010"
    }

    An NPI another dentist has: 409

    JSON
    {
      "error": "NPI_CONFLICT",
      "message": "This NPI belongs to another dentist in your organization: a provider with another last name has it. Check the NPI and the last name.",
      "errors": [
        {
          "field": "npi",
          "code": "invalid",
          "message": "This NPI belongs to another dentist in your organization: a provider with another last name has it. Check the NPI and the last name."
        }
      ],
      "request_id": "req_01JM000000E008000000000010"
    }