Rethink Behavioral Health Staff Credentials API

The StaffCredentials API from Rethink Behavioral Health — 5 operation(s) for staffcredentials.

GitHub OpenAPI

Operations 5

GET /api/v1/Staffs/credentials Returns all Credentials assigned to the current Company Account Staffs #
POST /api/v1/Staffs/credentials/add Add one or more Staff Credential information into Rethink #
POST /api/v1/Staffs/credentials/update Update one or more Staff Credential information #
POST /api/v1/Staffs/credentials/delete Remove one or more Staff Credential information #
POST /api/v1/Staffs/credentials/reactivate Reactivates one or more deleted Staff Credential information #

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-staffcredentials-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-staffcredentials-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rethink.Api Staff Credentials API
  version: v1
security:
- Bearer: []
tags:
- name: StaffCredentials
paths:
  /api/v1/Staffs/credentials:
    get:
      tags:
      - StaffCredentials
      summary: Returns all Credentials assigned to the current Company Account Staffs
      parameters:
      - name: IncludeAttachment
        in: query
        description: Indicates whether response includes attachment or not
        schema:
          type: boolean
          example: true
        example: true
      - 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/StaffCredentialGetResponseSearchResponse'
        '400':
          description: Invalid account, invalid input
      operationId: getApiV1StaffsCredentials
      x-operation-id-source: derived
  /api/v1/Staffs/credentials/add:
    post:
      tags:
      - StaffCredentials
      summary: Add one or more Staff Credential information into Rethink
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/StaffCredentialAddRequestModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/StaffCredentialAddRequestModel'
          application/*+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/StaffCredentialAddRequestModel'
        required: true
      responses:
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
        '200':
          description: Staff Credentials added
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StaffCredentialsResponseModel'
        '400':
          description: Invalid input, object invalid or Staff Credential already exists
      operationId: postApiV1StaffsCredentialsAdd
      x-operation-id-source: derived
  /api/v1/Staffs/credentials/update:
    post:
      tags:
      - StaffCredentials
      summary: Update one or more Staff Credential information
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/StaffCredentialUpdateRequestModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/StaffCredentialUpdateRequestModel'
          application/*+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/StaffCredentialUpdateRequestModel'
        required: true
      responses:
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
        '200':
          description: Saff Credentials updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StaffCredentialsResponseModel'
        '400':
          description: Invalid input, object invalid, current Staff Credential doesn't exist or deleted or Staff Credential already exists
      operationId: postApiV1StaffsCredentialsUpdate
      x-operation-id-source: derived
  /api/v1/Staffs/credentials/delete:
    post:
      tags:
      - StaffCredentials
      summary: Remove one or more Staff Credential information
      requestBody:
        description: List of Staff Credential ids for remove.
        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: Staff Credentials deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StaffRemoveCredentialModel'
        '400':
          description: Invalid input, invalid id, Staff Credential doesn't exist or already deleted
      operationId: postApiV1StaffsCredentialsDelete
      x-operation-id-source: derived
  /api/v1/Staffs/credentials/reactivate:
    post:
      tags:
      - StaffCredentials
      summary: Reactivates one or more deleted Staff Credential information
      requestBody:
        description: List of Staff Credential ids for reactivate.
        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: Staff Credential reactivated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StaffRemoveCredentialModel'
        '400':
          description: Invalid input, invalid id, Staff Credential doesn't exist or not deleted or Staff Credential already exists
      operationId: postApiV1StaffsCredentialsReactivate
      x-operation-id-source: derived
components:
  schemas:
    StaffCredentialResponseModel:
      type: object
      properties:
        staffCredentialId:
          type:
          - integer
          - 'null'
          format: int32
          example: 49957
        credentialId:
          type:
          - integer
          - 'null'
          format: int32
          example: 122
        staffId:
          type:
          - integer
          - 'null'
          format: int32
          example: 349126
        issueDate:
          type:
          - string
          - 'null'
          example: '2020-12-10'
        expiredDate:
          type:
          - string
          - 'null'
          example: '2020-12-10'
        licenseNumber:
          type:
          - string
          - 'null'
          example: CPR1010
        licenseNotes:
          type:
          - string
          - 'null'
          example: Amanda Morton is Supervisor
        isDefault:
          type:
          - boolean
          - 'null'
        attachment:
          type:
          - string
          - 'null'
          example: dGVzdCBhdHRhY2hlbWVudA==
        attachmentFileName:
          type:
          - string
          - 'null'
          example: abc.txt
        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
    ResponseStatus:
      type: object
      properties:
        status:
          type:
          - string
          - 'null'
          example: success
        messages:
          type:
          - array
          - 'null'
          items:
            type: string
      additionalProperties: false
    StaffCredentialGetResponseSearchResponse:
      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/StaffCredentialGetResponse'
        responseStatus:
          $ref: '#/components/schemas/ResponseStatus'
      additionalProperties: false
    StaffCredentialGetResponse:
      type: object
      properties:
        staffCredentialId:
          type: integer
          format: int32
          example: 49957
        credentialId:
          type: integer
          format: int32
          example: 122
        staffId:
          type: integer
          format: int32
          example: 349126
        issueDate:
          type:
          - string
          - 'null'
          example: '2020-12-10'
        expiredDate:
          type:
          - string
          - 'null'
          example: '2020-12-10'
        licenseNumber:
          type:
          - string
          - 'null'
          example: CPR1010
        licenseNotes:
          type:
          - string
          - 'null'
          example: Amanda Morton is Supervisor
        isDefault:
          type:
          - boolean
          - 'null'
        attachment:
          type:
          - string
          - 'null'
          example: dGVzdCBhdHRhY2hlbWVudA==
        attachmentFileName:
          type:
          - string
          - 'null'
          example: abc.txt
        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
    StaffCredentialsResponseModel:
      type: object
      properties:
        credentials:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/StaffCredentialResponseModel'
        responseStatus:
          $ref: '#/components/schemas/ResponseStatus'
      additionalProperties: false
    StaffCredentialAddRequestModel:
      required:
      - credentialId
      - issueDate
      - staffId
      type: object
      properties:
        credentialId:
          type: integer
          format: int32
          example: 122
        staffId:
          type: integer
          format: int32
          example: 349126
        issueDate:
          minLength: 1
          type: string
          example: '2020-12-10'
        expiredDate:
          type:
          - string
          - 'null'
          example: '2020-12-10'
        licenseNumber:
          maxLength: 100
          minLength: 0
          type:
          - string
          - 'null'
          example: CPR1010
        licenseNotes:
          maxLength: 500
          minLength: 0
          type:
          - string
          - 'null'
          example: Amanda Morton is Supervisor
        isDefault:
          type:
          - boolean
          - 'null'
        attachment:
          type:
          - string
          - 'null'
          example: dGVzdCBhdHRhY2hlbWVudA==
        attachmentFileName:
          maxLength: 100
          minLength: 0
          type:
          - string
          - 'null'
          example: abc.txt
      additionalProperties: false
    StaffCredentialUpdateRequestModel:
      required:
      - credentialId
      - issueDate
      - staffCredentialId
      - staffId
      type: object
      properties:
        staffCredentialId:
          type: integer
          format: int32
          example: 49957
        credentialId:
          type: integer
          format: int32
          example: 122
        staffId:
          type: integer
          format: int32
          example: 349126
        issueDate:
          minLength: 1
          type: string
          example: '2020-12-10'
        expiredDate:
          type:
          - string
          - 'null'
          example: '2020-12-10'
        licenseNumber:
          maxLength: 100
          minLength: 0
          type:
          - string
          - 'null'
          example: CPR1010
        licenseNotes:
          maxLength: 500
          minLength: 0
          type:
          - string
          - 'null'
          example: Amanda Morton is Supervisor
        isDefault:
          type:
          - boolean
          - 'null'
        attachment:
          type:
          - string
          - 'null'
          example: dGVzdCBhdHRhY2hlbWVudA==
        attachmentFileName:
          maxLength: 100
          minLength: 0
          type:
          - string
          - 'null'
          example: abc.txt
      additionalProperties: false
    StaffRemoveCredentialModel:
      type: object
      properties:
        ids:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        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