facilities

Create a facility in a clinic

Creates a clinic facility. The request must include name, nationalProviderId, phone, and address.

post/facilities

Request

  • Base URL: https://api.ritten.io/v1
  • URL: https://api.ritten.io/v1/facilities
  • Auth: none declared

Request body

namestring required

Facility name.

nationalProviderIdstring required

National Provider Identifier (NPI)

phonestring required

Primary facility phone number

Example request

{
  "name": "Ritten Recovery Center",
  "nationalProviderId": "1234567890",
  "phone": "555-555-5555",
  "address": {
    "country": "US",
    "line": "123 Main St",
    "line2": "Suite 100",
    "city": "New York",
    "region": "NY",
    "postalCode": "10001",
    "timezone": "America/New_York"
  }
}

Response

success

idstring uuid
namestring
nationalProviderIdstring

National Provider Identifier (NPI)

phonestring

Primary facility phone number

createdAtstring date-time

Example response

{
  "address": {
    "id": "182c2e54-3494-4b85-aba5-038cf539d5bf"
  },
  "phone": "+15555555555",
  "createdAt": "2024-01-01T00:00:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.