Rethink Behavioral Health Client Contacts API

The ClientContacts API from Rethink Behavioral Health — 4 operation(s) for clientcontacts.

GitHub OpenAPI

Operations 4

GET /api/v1/ClientContacts/{clientId} return information of all client contacts #
POST /api/v1/ClientContacts/add add one or more client contacts #
POST /api/v1/ClientContacts/update update one or more client contacts #
POST /api/v1/ClientContacts/delete remove one or more client contacts #

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-clientcontacts-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-clientcontacts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rethink.Api Client Contacts API
  version: v1
security:
- Bearer: []
tags:
- name: ClientContacts
paths:
  /api/v1/ClientContacts/{clientId}:
    get:
      tags:
      - ClientContacts
      summary: return information of all client contacts
      parameters:
      - name: clientId
        in: path
        description: The id assigned to a client by Rehink Behavioral Heal
        required: true
        schema:
          type: integer
          format: int32
        example: 176890
      responses:
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ClientContactInfo'
      operationId: getApiV1ClientContactsByClientId
      x-operation-id-source: derived
  /api/v1/ClientContacts/add:
    post:
      tags:
      - ClientContacts
      summary: add one or more client contacts
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ClientContactInfo'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ClientContactInfo'
          application/*+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ClientContactInfo'
        required: true
      responses:
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientContactactsResponseModel'
        '400':
          description: invalid input, object invalid
      operationId: postApiV1ClientContactsAdd
      x-operation-id-source: derived
  /api/v1/ClientContacts/update:
    post:
      tags:
      - ClientContacts
      summary: update one or more client contacts
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ClientContactInfo'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ClientContactInfo'
          application/*+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ClientContactInfo'
        required: true
      responses:
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientContactactsResponseModel'
        '400':
          description: invalid input, object invalid
      operationId: postApiV1ClientContactsUpdate
      x-operation-id-source: derived
  /api/v1/ClientContacts/delete:
    post:
      tags:
      - ClientContacts
      summary: remove one or more client contacts
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int32
            example:
            - 140560
            - 146789
          text/json:
            schema:
              type: array
              items:
                type: integer
                format: int32
            example:
            - 140560
            - 146789
          application/*+json:
            schema:
              type: array
              items:
                type: integer
                format: int32
            example:
            - 140560
            - 146789
        required: true
      responses:
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: integer
                  format: int32
      operationId: postApiV1ClientContactsDelete
      x-operation-id-source: derived
components:
  schemas:
    ClientContactInfo:
      required:
      - clientId
      - firstName
      - lastName
      - relationship
      - timeZoneId
      type: object
      properties:
        clientContactId:
          type: integer
          format: int32
        clientId:
          type: integer
          format: int32
          example: 175890
        firstName:
          maxLength: 50
          minLength: 0
          type: string
          example: Eric
        lastName:
          maxLength: 50
          minLength: 0
          type: string
          example: Morales
        relationship:
          maxLength: 40
          minLength: 0
          type: string
          example: parent
        primaryPhone:
          maxLength: 13
          minLength: 0
          pattern: ^[0-9]+$
          type:
          - string
          - 'null'
          example: '1111111111'
        secondaryPhone:
          maxLength: 13
          minLength: 0
          pattern: ^[0-9]+$
          type:
          - string
          - 'null'
          example: '1111111111'
        tertiaryPhone:
          maxLength: 13
          minLength: 0
          pattern: ^[0-9]+$
          type:
          - string
          - 'null'
          example: '1111111111'
        email:
          maxLength: 100
          minLength: 0
          type:
          - string
          - 'null'
          format: email
          example: jane.morales@rethinkfirst.com
        addressStreet:
          maxLength: 100
          minLength: 0
          type:
          - string
          - 'null'
          example: 12345 21 Street
        city:
          maxLength: 100
          minLength: 0
          type:
          - string
          - 'null'
          example: New York City
        stateId:
          maximum: 52
          minimum: 1
          type:
          - integer
          - 'null'
          format: int32
          example: 35
        zipCode:
          pattern: ^(?=[0-9-]*$)(?:.{5}|.{9})$
          type:
          - string
          - 'null'
          example: '77451'
        timeZoneId:
          maximum: 105
          minimum: 1
          type: integer
          format: int32
          example: 8
        rethinkLogin:
          type: boolean
          example: false
        theraweLogin:
          type: boolean
          example: false
        isPrimary:
          type: boolean
        hasActiveAccount:
          type: boolean
        memberId:
          type:
          - integer
          - 'null'
          format: int32
      additionalProperties: false
    ResponseStatus:
      type: object
      properties:
        status:
          type:
          - string
          - 'null'
          example: success
        messages:
          type:
          - array
          - 'null'
          items:
            type: string
      additionalProperties: false
    ClientContactactsResponseModel:
      type: object
      properties:
        contacts:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ClientContactInfo'
        responseStatus:
          $ref: '#/components/schemas/ResponseStatus'
      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