Rethink Behavioral Health Referring Providers API

The ReferringProviders API from Rethink Behavioral Health — 5 operation(s) for referringproviders.

GitHub OpenAPI

Operations 5

GET /api/v1/ReferringProviders Returns all Referring Providers for the current Company Account #
POST /api/v1/ReferringProviders/add Adds new Referring Provider to the current Company Account #
POST /api/v1/ReferringProviders/update Updates existing Referring Provider #
POST /api/v1/ReferringProviders/delete Deletes Referring Provider by id #
POST /api/v1/ReferringProviders/reactivate Reactivates deleted Referring Provider by id #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/rethink-behavioral-health:rethink-behavioral-health-referringproviders-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

rethink-behavioral-health-referringproviders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rethink.Api Referring Providers API
  version: v1
security:
- Bearer: []
tags:
- name: ReferringProviders
paths:
  /api/v1/ReferringProviders:
    get:
      tags:
      - ReferringProviders
      summary: Returns all Referring Providers for the current Company Account
      parameters:
      - name: IncludeDeleted
        in: query
        description: Indicates whether response includes deleted records or not
        schema:
          type: boolean
          example: true
        example: true
      - name: After
        in: query
        description: All records with Last Modified Date Time after the date timestamp will be returned.
        schema:
          type: string
          format: date-time
          example: '2021-12-30T00:00:00Z'
        example: '2021-12-30T00:00:00Z'
      - name: PageSize
        in: query
        description: Data page size
        schema:
          maximum: 50
          minimum: 10
          type: integer
          format: int32
          example: 10
        example: 10
      - name: CurrentPage
        in: query
        description: Data page number
        schema:
          maximum: 2147483647
          minimum: 1
          type: integer
          format: int32
          example: 1
        example: 1
      responses:
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferringProviderGetResponseSearchResponse'
        '400':
          description: Invalid account, invalid input
      operationId: getApiV1ReferringProviders
      x-operation-id-source: derived
  /api/v1/ReferringProviders/add:
    post:
      tags:
      - ReferringProviders
      summary: Adds new Referring Provider to the current Company Account
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReferringProviderAddRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ReferringProviderAddRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ReferringProviderAddRequest'
        required: true
      responses:
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
        '200':
          description: Referring Provider added
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferringProviderResponse'
        '400':
          description: Invalid input, object invalid or current Referring Provider exists
      operationId: postApiV1ReferringProvidersAdd
      x-operation-id-source: derived
  /api/v1/ReferringProviders/update:
    post:
      tags:
      - ReferringProviders
      summary: Updates existing Referring Provider
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReferringProviderUpdateRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ReferringProviderUpdateRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ReferringProviderUpdateRequest'
        required: true
      responses:
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
        '200':
          description: Referring Provider updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferringProviderResponse'
        '400':
          description: Invalid input, object invalid, current Referring Provider doesn't exist or deleted or specified Referring Provider already exists
      operationId: postApiV1ReferringProvidersUpdate
      x-operation-id-source: derived
  /api/v1/ReferringProviders/delete:
    post:
      tags:
      - ReferringProviders
      summary: Deletes Referring Provider by id
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReferringProviderDeleteRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ReferringProviderDeleteRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ReferringProviderDeleteRequest'
        required: true
      responses:
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
        '200':
          description: Referring Provider deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferringProviderDeleteResponse'
        '400':
          description: Invalid input, invalid id, current Referring Provider doesn't exist or already deleted
      operationId: postApiV1ReferringProvidersDelete
      x-operation-id-source: derived
  /api/v1/ReferringProviders/reactivate:
    post:
      tags:
      - ReferringProviders
      summary: Reactivates deleted Referring Provider by id
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReferringProviderReactivateRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ReferringProviderReactivateRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ReferringProviderReactivateRequest'
        required: true
      responses:
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
        '200':
          description: Referring Provider reactivated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferringProviderDeleteResponse'
        '400':
          description: Invalid input, invalid id, current Referring Provider doesn't exist or not deleted or specified Referring Provider already exists
      operationId: postApiV1ReferringProvidersReactivate
      x-operation-id-source: derived
components:
  schemas:
    ReferringProviderDeleteResponse:
      type: object
      properties:
        referringProviderId:
          type:
          - integer
          - 'null'
          format: int32
          example: 10064
        responseStatus:
          $ref: '#/components/schemas/ResponseStatus'
      additionalProperties: false
    ReferringProviderGetResponseSearchResponse:
      type: object
      properties:
        count:
          type: integer
          format: int32
        totalDataCount:
          type: integer
          format: int32
        totalPages:
          type: integer
          format: int32
        pageSize:
          type: integer
          format: int32
        currentPage:
          type: integer
          format: int32
        data:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ReferringProviderGetResponse'
        responseStatus:
          $ref: '#/components/schemas/ResponseStatus'
      additionalProperties: false
    ReferringProviderResponse:
      type: object
      properties:
        referringProviderId:
          type:
          - integer
          - 'null'
          format: int32
          example: 10064
        firstName:
          type:
          - string
          - 'null'
          example: Jennifer
        lastName:
          type:
          - string
          - 'null'
          example: Aites
        npiNumber:
          type:
          - string
          - 'null'
          example: '1194744870'
        taxonomyCode:
          type:
          - string
          - 'null'
          example: 2084N0402X
        facility:
          type:
          - string
          - 'null'
          example: Boston Childrens Hospital
        address1:
          type:
          - string
          - 'null'
          example: 300 Longwood Ave, Boston MA 02115
        address2:
          type:
          - string
          - 'null'
          example: null
        city:
          type:
          - string
          - 'null'
          example: Boston
        zip:
          type:
          - string
          - 'null'
          example: '02115'
        stateId:
          type:
          - integer
          - 'null'
          format: int32
          example: 20
        phone:
          type:
          - string
          - 'null'
          example: '9123546303'
        fax:
          type:
          - string
          - 'null'
          example: '9123558655'
        isActive:
          type:
          - boolean
          - 'null'
          example: true
        dateCreated:
          type: string
          format: date-time
          example: '2020-12-10T17:45:58.453'
        dateLastModified:
          type:
          - string
          - 'null'
          format: date-time
          example: '2020-12-24T10:15:06.127'
        dateDeleted:
          type:
          - string
          - 'null'
          format: date-time
          example: '2021-01-15T13:45:47.237'
        responseStatus:
          $ref: '#/components/schemas/ResponseStatus'
      additionalProperties: false
    ResponseStatus:
      type: object
      properties:
        status:
          type:
          - string
          - 'null'
          example: success
        messages:
          type:
          - array
          - 'null'
          items:
            type: string
      additionalProperties: false
    ReferringProviderAddRequest:
      required:
      - address1
      - firstName
      - lastName
      - zip
      type: object
      properties:
        firstName:
          maxLength: 25
          minLength: 0
          type: string
          example: Jennifer
        lastName:
          maxLength: 100
          minLength: 0
          type: string
          example: Aites
        npiNumber:
          maxLength: 10
          minLength: 0
          type:
          - string
          - 'null'
          example: '1194744870'
        taxonomyCode:
          pattern: ^[0-9A-Z]{10}$
          type:
          - string
          - 'null'
          example: 2084N0402X
        facility:
          maxLength: 100
          minLength: 0
          pattern: ^[a-zA-Z0-9 '-]+$
          type:
          - string
          - 'null'
          example: Boston Childrens Hospital
        address1:
          maxLength: 100
          minLength: 0
          type: string
          example: 300 Longwood Ave, Boston MA 02115
        address2:
          maxLength: 100
          minLength: 0
          type:
          - string
          - 'null'
          example: null
        city:
          maxLength: 100
          minLength: 0
          type:
          - string
          - 'null'
          example: Boston
        zip:
          maxLength: 9
          minLength: 0
          pattern: ^(?=[0-9]*$)(?:.{5}|.{9})$
          type: string
          example: '02115'
        stateId:
          maximum: 52
          minimum: 1
          type:
          - integer
          - 'null'
          format: int32
          example: 20
        phone:
          maxLength: 13
          minLength: 0
          pattern: ^[0-9]+$
          type:
          - string
          - 'null'
          example: '9123546303'
        fax:
          maxLength: 13
          minLength: 0
          pattern: ^[0-9]+$
          type:
          - string
          - 'null'
          example: '9123558655'
        isActive:
          type:
          - boolean
          - 'null'
          example: true
      additionalProperties: false
    ReferringProviderGetResponse:
      type: object
      properties:
        referringProviderId:
          type: integer
          format: int32
          example: 10064
        firstName:
          type:
          - string
          - 'null'
          example: Jennifer
        lastName:
          type:
          - string
          - 'null'
          example: Aites
        npiNumber:
          type:
          - string
          - 'null'
          example: '1194744870'
        taxonomyCode:
          type:
          - string
          - 'null'
          example: 2084N0402X
        facility:
          type:
          - string
          - 'null'
          example: Boston Childrens Hospital
        address1:
          type:
          - string
          - 'null'
          example: 300 Longwood Ave, Boston MA 02115
        address2:
          type:
          - string
          - 'null'
          example: null
        city:
          type:
          - string
          - 'null'
          example: Boston
        zip:
          type:
          - string
          - 'null'
          example: '02115'
        stateAbbreviation:
          type:
          - string
          - 'null'
          example: MA
        phone:
          type:
          - string
          - 'null'
          example: '9123546303'
        fax:
          type:
          - string
          - 'null'
          example: '9123558655'
        isActive:
          type: boolean
          example: true
        dateCreated:
          type: string
          format: date-time
          example: '2020-12-10T17:45:58.453'
        dateLastModified:
          type:
          - string
          - 'null'
          format: date-time
          example: '2020-12-24T10:15:06.127'
        dateDeleted:
          type:
          - string
          - 'null'
          format: date-time
          example: '2021-01-15T13:45:47.237'
      additionalProperties: false
    ReferringProviderReactivateRequest:
      required:
      - referringProviderId
      type: object
      properties:
        referringProviderId:
          type: integer
          format: int32
          example: 1234
      additionalProperties: false
    ReferringProviderUpdateRequest:
      required:
      - address1
      - firstName
      - lastName
      - referringProviderId
      - zip
      type: object
      properties:
        referringProviderId:
          maximum: 2147483647
          minimum: 1
          type: integer
          format: int32
          example: 10064
        firstName:
          maxLength: 25
          minLength: 0
          type: string
          example: Jennifer
        lastName:
          maxLength: 100
          minLength: 0
          type: string
          example: Aites
        npiNumber:
          maxLength: 10
          minLength: 0
          type:
          - string
          - 'null'
          example: '1194744870'
        taxonomyCode:
          pattern: ^[0-9A-Z]{10}$
          type:
          - string
          - 'null'
          example: 2084N0402X
        facility:
          maxLength: 100
          minLength: 0
          pattern: ^[a-zA-Z0-9 '-]+$
          type:
          - string
          - 'null'
          example: Boston Childrens Hospital
        address1:
          maxLength: 100
          minLength: 0
          type: string
          example: 300 Longwood Ave, Boston MA 02115
        address2:
          maxLength: 100
          minLength: 0
          type:
          - string
          - 'null'
          example: null
        city:
          maxLength: 100
          minLength: 0
          type:
          - string
          - 'null'
          example: Boston
        zip:
          maxLength: 9
          minLength: 0
          pattern: ^(?=[0-9]*$)(?:.{5}|.{9})$
          type: string
          example: '02115'
        stateId:
          maximum: 52
          minimum: 1
          type:
          - integer
          - 'null'
          format: int32
          example: 20
        phone:
          maxLength: 13
          minLength: 0
          pattern: ^[0-9]+$
          type:
          - string
          - 'null'
          example: '9123546303'
        fax:
          maxLength: 13
          minLength: 0
          pattern: ^[0-9]+$
          type:
          - string
          - 'null'
          example: '9123558655'
        isActive:
          type:
          - boolean
          - 'null'
          example: true
      additionalProperties: false
    ReferringProviderDeleteRequest:
      required:
      - referringProviderId
      type: object
      properties:
        referringProviderId:
          type: integer
          format: int32
          example: 10064
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: "JWT Authorization header using the Bearer scheme. <br /><br /> \n                      Enter 'Bearer' [space] and then your token in the text input below.\n                      <br /><br />Example: 'Bearer 12345abcdef'"
      name: Authorization
      in: header