> ## Documentation Index
> Fetch the complete documentation index at: https://developers.voxys.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update FHIR settings

> Update settings (blank fields keep stored values).



## OpenAPI

````yaml /api-reference/voxys_fhir_swagger.json patch /api/v1/accounts/{account_id}/integrations/fhir
openapi: 3.1.0
info:
  title: Voxys Connect - FHIR Healthcare
  description: >-
    Connect a FHIR clinic endpoint for appointment slots, providers, and
    proactive lab-result delivery over WhatsApp.
  version: 1.0.0
  contact:
    email: support@voxys.ai
  license:
    name: MIT License
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://connect.voxys.ai
security:
  - userApiKey: []
tags:
  - name: FHIR Healthcare
    description: FHIR connection, providers, and appointment slots.
paths:
  /api/v1/accounts/{account_id}/integrations/fhir:
    patch:
      tags:
        - FHIR Healthcare
      summary: Update FHIR settings
      description: Update settings (blank fields keep stored values).
      operationId: updateFhir
      parameters:
        - $ref: '#/components/parameters/account_id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                base_url:
                  type: string
                  description: FHIR base URL
                auto_send_results:
                  type: boolean
                  description: Auto-send lab results
      responses:
        '200':
          description: Successful response
        '401':
          $ref: '#/components/responses/unauthorized'
        '404':
          $ref: '#/components/responses/not_found'
        '422':
          $ref: '#/components/responses/unprocessable'
components:
  parameters:
    account_id:
      name: account_id
      in: path
      required: true
      schema:
        type: integer
      description: Numeric ID of the account
  responses:
    unauthorized:
      description: Authentication failed – invalid or missing api_access_token
    not_found:
      description: Resource not found
    unprocessable:
      description: Unprocessable entity – validation errors
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        All API requests must include the `api_access_token` header with a valid
        agent or administrator token.

````