Rethink Behavioral Health Services API
The Services API from Rethink Behavioral Health — 5 operation(s) for services.
The Services API from Rethink Behavioral Health — 5 operation(s) for services.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/rethink-behavioral-health:rethink-behavioral-health-services-api"
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.
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: 3.2.0
info:
title: Rethink.Api Services API
version: v1
security:
- Bearer: []
tags:
- name: Services
paths:
/api/v1/Services:
get:
tags:
- Services
summary: Returns all Services 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/ServiceGetResponseSearchResponse'
'400':
description: Invalid account
operationId: getApiV1Services
x-operation-id-source: derived
/api/v1/Services/add:
post:
tags:
- Services
summary: Adds new Service to the current Company Account
requestBody:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceAddRequest'
text/json:
schema:
$ref: '#/components/schemas/ServiceAddRequest'
application/*+json:
schema:
$ref: '#/components/schemas/ServiceAddRequest'
required: true
responses:
'401':
description: Unauthorized
content:
application/json:
schema:
type: string
'200':
description: Service added
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceResponse'
'400':
description: Invalid input, object invalid or Service with specified name already exists
operationId: postApiV1ServicesAdd
x-operation-id-source: derived
/api/v1/Services/update:
post:
tags:
- Services
summary: Updates existing Service
requestBody:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceUpdateRequest'
text/json:
schema:
$ref: '#/components/schemas/ServiceUpdateRequest'
application/*+json:
schema:
$ref: '#/components/schemas/ServiceUpdateRequest'
required: true
responses:
'401':
description: Unauthorized
content:
application/json:
schema:
type: string
'200':
description: Service updated
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceResponse'
'400':
description: Invalid input, object invalid, current Service doesn't exist or deleted or Service with specified name already exists
operationId: postApiV1ServicesUpdate
x-operation-id-source: derived
/api/v1/Services/delete:
post:
tags:
- Services
summary: Deletes Service by id
requestBody:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceDeleteRequest'
text/json:
schema:
$ref: '#/components/schemas/ServiceDeleteRequest'
application/*+json:
schema:
$ref: '#/components/schemas/ServiceDeleteRequest'
required: true
responses:
'401':
description: Unauthorized
content:
application/json:
schema:
type: string
'200':
description: Service deleted
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceDeleteResponse'
'400':
description: Invalid input, invalid id, current Service doesn't exist or already deleted
operationId: postApiV1ServicesDelete
x-operation-id-source: derived
/api/v1/Services/reactivate:
post:
tags:
- Services
summary: Reactivates deleted Service by id
requestBody:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceReactivateRequest'
text/json:
schema:
$ref: '#/components/schemas/ServiceReactivateRequest'
application/*+json:
schema:
$ref: '#/components/schemas/ServiceReactivateRequest'
required: true
responses:
'401':
description: Unauthorized
content:
application/json:
schema:
type: string
'200':
description: Service reactivated
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceDeleteResponse'
'400':
description: Invalid input, invalid id, current Service doesn't exist or not deleted or Service with specified name already exists
operationId: postApiV1ServicesReactivate
x-operation-id-source: derived
components:
schemas:
ServiceUpdateRequest:
required:
- serviceBaseRate
- serviceId
- serviceName
type: object
properties:
serviceId:
type: integer
format: int32
example: 1111
serviceName:
maxLength: 175
minLength: 0
type: string
example: Parent Training
serviceBaseRate:
minimum: 0
type: number
format: double
example: 100
isActiveService:
type:
- boolean
- 'null'
example: true
additionalProperties: false
ServiceGetResponse:
type: object
properties:
serviceId:
type: integer
format: int32
example: 1111
serviceName:
type:
- string
- 'null'
example: Parent Training
serviceBaseRate:
type: number
format: double
example: 100
isActiveService:
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
ServiceGetResponseSearchResponse:
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/ServiceGetResponse'
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
ServiceDeleteRequest:
required:
- serviceId
type: object
properties:
serviceId:
type: integer
format: int32
example: 1234
additionalProperties: false
ServiceAddRequest:
required:
- serviceBaseRate
- serviceName
type: object
properties:
serviceName:
maxLength: 175
minLength: 0
type: string
example: Parent Training
serviceBaseRate:
minimum: 0
type: number
format: double
example: 100
isActiveService:
type:
- boolean
- 'null'
example: true
additionalProperties: false
ServiceReactivateRequest:
required:
- serviceId
type: object
properties:
serviceId:
type: integer
format: int32
example: 1234
additionalProperties: false
ServiceDeleteResponse:
type: object
properties:
serviceId:
type:
- integer
- 'null'
format: int32
example: 1234
responseStatus:
$ref: '#/components/schemas/ResponseStatus'
additionalProperties: false
ServiceResponse:
type: object
properties:
serviceId:
type:
- integer
- 'null'
format: int32
example: 1111
serviceName:
type:
- string
- 'null'
example: Parent Training
serviceBaseRate:
type:
- number
- 'null'
format: double
example: 100
isActiveService:
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
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