Rethink Behavioral Health Staff Locations API

The StaffLocations API from Rethink Behavioral Health — 5 operation(s) for stafflocations.

GitHub OpenAPI

Operations 5

GET /api/v1/StaffLocations Returns all Staff Locations for the current Company Account #
POST /api/v1/StaffLocations/add Add new Location to Staff #
POST /api/v1/StaffLocations/update Update existing staff location #
POST /api/v1/StaffLocations/delete Delete staff location #
POST /api/v1/StaffLocations/reactivate Reactivate staff location #

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-stafflocations-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-stafflocations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rethink.Api Staff Locations API
  version: v1
security:
- Bearer: []
tags:
- name: StaffLocations
paths:
  /api/v1/StaffLocations:
    get:
      tags:
      - StaffLocations
      summary: Returns all Staff Locations 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/StaffLocationModelSearchResponse'
        '400':
          description: Invalid account
      operationId: getApiV1StaffLocations
      x-operation-id-source: derived
  /api/v1/StaffLocations/add:
    post:
      tags:
      - StaffLocations
      summary: Add new Location to Staff
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StaffLocationAddRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/StaffLocationAddRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/StaffLocationAddRequest'
        required: true
      responses:
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
        '200':
          description: Staff Location added
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StaffLocationResponseModel'
        '400':
          description: Invalid input, object invalid or current Staff Location exists
      operationId: postApiV1StaffLocationsAdd
      x-operation-id-source: derived
  /api/v1/StaffLocations/update:
    post:
      tags:
      - StaffLocations
      summary: Update existing staff location
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StaffLocationUpdateRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/StaffLocationUpdateRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/StaffLocationUpdateRequest'
        required: true
      responses:
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
        '200':
          description: Staff Location updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StaffLocationResponseModel'
        '400':
          description: Invalid input, object invalid or current Staff Location does not exists
      operationId: postApiV1StaffLocationsUpdate
      x-operation-id-source: derived
  /api/v1/StaffLocations/delete:
    post:
      tags:
      - StaffLocations
      summary: Delete staff location
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StaffLocationDeleteRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/StaffLocationDeleteRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/StaffLocationDeleteRequest'
        required: true
      responses:
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
        '200':
          description: Staff Location deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StaffLocationDeleteResponse'
        '400':
          description: Invalid input, current Staff Location doesn't exists or already deleted
      operationId: postApiV1StaffLocationsDelete
      x-operation-id-source: derived
  /api/v1/StaffLocations/reactivate:
    post:
      tags:
      - StaffLocations
      summary: Reactivate staff location
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StaffLocationReactivateRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/StaffLocationReactivateRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/StaffLocationReactivateRequest'
        required: true
      responses:
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: string
        '200':
          description: Staff Location reactivated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StaffLocationDeleteResponse'
        '400':
          description: Invalid input, current Staff Location doesn't exists or not deleted
      operationId: postApiV1StaffLocationsReactivate
      x-operation-id-source: derived
components:
  schemas:
    StaffLocationUpdateRequest:
      required:
      - locationId
      - staffId
      - staffLocationsId
      type: object
      properties:
        staffLocationsId:
          type: integer
          format: int32
          example: 8796
        locationId:
          type: integer
          format: int32
          example: 1234
        staffId:
          type: integer
          format: int32
          example: 34567
      additionalProperties: false
    StaffLocationDeleteRequest:
      required:
      - staffLocationsId
      type: object
      properties:
        staffLocationsId:
          type: integer
          format: int32
          example: 8796
      additionalProperties: false
    StaffLocationDeleteResponse:
      type: object
      properties:
        staffLocationsId:
          type:
          - integer
          - 'null'
          format: int32
          example: 1234
        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
    StaffLocationAddRequest:
      required:
      - locationId
      - staffId
      type: object
      properties:
        locationId:
          type: integer
          format: int32
          example: 1234
        staffId:
          type: integer
          format: int32
          example: 34567
      additionalProperties: false
    StaffLocationResponseModel:
      type: object
      properties:
        staffLocationsId:
          type:
          - integer
          - 'null'
          format: int32
          example: 8796
        locationId:
          type:
          - integer
          - 'null'
          format: int32
          example: 1234
        staffId:
          type:
          - integer
          - 'null'
          format: int32
          example: 34567
        responseStatus:
          $ref: '#/components/schemas/ResponseStatus'
      additionalProperties: false
    StaffLocationReactivateRequest:
      required:
      - staffLocationsId
      type: object
      properties:
        staffLocationsId:
          type: integer
          format: int32
          example: 8796
      additionalProperties: false
    StaffLocationModel:
      type: object
      properties:
        staffLocationsId:
          type: integer
          format: int32
        locationId:
          type: integer
          format: int32
        staffId:
          type: integer
          format: int32
      additionalProperties: false
    StaffLocationModelSearchResponse:
      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/StaffLocationModel'
        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