FUSE Health Organization API

The Organization API from FUSE Health — 11 operation(s) for organization.

GitHub OpenAPI

Operations 13

GET /api/v1/organization/sms/twilio Get the clinic's Twilio SMS config #
PUT /api/v1/organization/sms/twilio Set the clinic's Twilio SMS config #
DELETE /api/v1/organization/sms/twilio Remove the clinic's Twilio SMS config #
GET /api/v1/organization/sms/status SMS provisioning status (AWS Pinpoint) #
POST /api/v1/organization/sms/activate Provision a toll-free SMS number (AWS Pinpoint) #
DELETE /api/v1/organization/sms/release Release the clinic's toll-free SMS number #
POST /api/v1/clinic/custom-domain/start Begin custom-domain setup (ACM cert request) #
POST /api/v1/clinic/custom-domain/verify Verify custom-domain DNS/ACM validation #
POST /api/v1/clinic/custom-domain/finalize Finalize custom-domain (attach to ALB) #
POST /api/v1/clinic/custom-domain/remove Remove the clinic's custom domain #
PUT /api/v1/organization/update Update organization/clinic profile #
PUT /api/v1/clinic/{id} Update the key's clinic (clinic-scoped) #
GET /api/v1/clinic/check-slug/{slug} Check clinic-slug availability #

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/fusehealth-com:fusehealth-com-organization-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fusehealth-com-organization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: FUSE Brand API (External) Organization API
  version: 1.0.0
  description: 'Server-to-server API exposing the FUSE brand-admin surface so a single brand/tenant can build its own admin frontend. Every request is authenticated with an API key bound to exactly one clinic; all data is auto-scoped to that clinic and cannot reach another brand''s data. Isolation is enforced by application-layer clinic filtering on every query.


    COVERAGE: 218 operations across 180 paths, and EVERY ONE is available to every brand. There is no per-clinic enablement step. What governs access: your API key and its scopes, the clinic the key belongs to (every read and write is filtered to it), your plan''s entitlements for the two commercially-gated areas — Affiliates (`AFFILIATES_TIER_REQUIRED`) and CRM Connect (`CRM_TIER_REQUIRED`) — and rate limits.


    AUTH: the external /api/v1 surface uses an API key (`x-api-key`, ApiKeyAuth). Key management (/api-keys) and /auth/signin live at the API root and use a brand-admin JWT (BearerAuth); /auth/signin itself is unauthenticated.


    SCOPES: every key carries scopes; read-only is the default and mutating endpoints require the `write` scope (403 INSUFFICIENT_SCOPE otherwise). Keys default to a 1-year expiry.


    RATE LIMITING: every endpoint may additionally return `429 Too Many Requests` with a `Retry-After` header; 429 is not repeated on each operation below.


    PLATFORM FIELDS: product cost, fees, pharmacy routing, doctor questions and FUSE approvals are set by FUSE, not by the brand. Any write (POST/PUT/PATCH/DELETE) whose JSON body carries one of those fields at any depth — for example `pharmacyPrice`, `shippingFeeUsd`, `coolerFeeUsd`, `pharmacyId`, `preferredPharmacyId`, `pharmacyProvider`, `requiredDoctorQuestions`, `facilitationFee`, `placeholderPrice`, `legalBusinessName`, `isTemplate` or `tenantManagerApproved` — is refused with `403 PLATFORM_FIELD`, whose `fields` array lists the offending paths; remove them and resend. (One exception: `POST /api/v1/products` still accepts the `pharmacyPrice` its schema requires, and ignores it.) 403 PLATFORM_FIELD is not repeated on each operation below.'
servers:
- url: https://api-dev.fusehealth.com
  description: Development
- url: https://api.fusehealth.com
  description: Production
security:
- ApiKeyAuth: []
tags:
- name: Organization
paths:
  /api/v1/organization/sms/twilio:
    get:
      tags:
      - Organization
      summary: Get the clinic's Twilio SMS config
      operationId: getApiV1OrganizationSmsTwilio
      description: Returns the clinic's stored Twilio config (auth token never returned).
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
    put:
      tags:
      - Organization
      summary: Set the clinic's Twilio SMS config
      operationId: putApiV1OrganizationSmsTwilio
      description: Stores the clinic's Twilio account SID / auth token (encrypted) / from-number. Write-scoped.
      security:
      - ApiKeyAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                accountSid:
                  type: string
                authToken:
                  type: string
                phoneNumber:
                  type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
    delete:
      tags:
      - Organization
      summary: Remove the clinic's Twilio SMS config
      operationId: deleteApiV1OrganizationSmsTwilio
      description: Clears the clinic's stored Twilio config. Write-scoped.
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
  /api/v1/organization/sms/status:
    get:
      tags:
      - Organization
      summary: SMS provisioning status (AWS Pinpoint)
      operationId: getApiV1OrganizationSmsStatus
      description: Toll-free number + free-tier usage for the clinic. External AWS Pinpoint dependency.
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
  /api/v1/organization/sms/activate:
    post:
      tags:
      - Organization
      summary: Provision a toll-free SMS number (AWS Pinpoint)
      operationId: postApiV1OrganizationSmsActivate
      description: Provisions a billable toll-free number for the clinic via AWS Pinpoint. Write-scoped, external + billable.
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
  /api/v1/organization/sms/release:
    delete:
      tags:
      - Organization
      summary: Release the clinic's toll-free SMS number
      operationId: deleteApiV1OrganizationSmsRelease
      description: Releases the clinic's provisioned toll-free number (AWS Pinpoint teardown). Write-scoped, external.
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
  /api/v1/clinic/custom-domain/start:
    post:
      tags:
      - Organization
      summary: Begin custom-domain setup (ACM cert request)
      operationId: postApiV1ClinicCustomDomainStart
      description: Requests an ACM certificate for the clinic's custom domain. Mutates SHARED ACM/ALB infra. Write-scoped, external.
      security:
      - ApiKeyAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                domain:
                  type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
  /api/v1/clinic/custom-domain/verify:
    post:
      tags:
      - Organization
      summary: Verify custom-domain DNS/ACM validation
      operationId: postApiV1ClinicCustomDomainVerify
      description: Checks ACM/DNS validation for the clinic's custom domain. Shared infra. Write-scoped, external.
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
  /api/v1/clinic/custom-domain/finalize:
    post:
      tags:
      - Organization
      summary: Finalize custom-domain (attach to ALB)
      operationId: postApiV1ClinicCustomDomainFinalize
      description: Attaches the validated custom domain to the ALB listener. Shared infra. Write-scoped, external.
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
  /api/v1/clinic/custom-domain/remove:
    post:
      tags:
      - Organization
      summary: Remove the clinic's custom domain
      operationId: postApiV1ClinicCustomDomainRemove
      description: Detaches + tears down the clinic's custom domain (ACM/ALB). Shared infra. Write-scoped, external.
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
  /api/v1/organization/update:
    put:
      tags:
      - Organization
      summary: Update organization/clinic profile
      operationId: putApiV1OrganizationUpdate
      description: Updates the key clinic's organization profile. A customDomain change triggers ACM. Write-scoped.
      security:
      - ApiKeyAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
  /api/v1/clinic/{id}:
    put:
      tags:
      - Organization
      summary: Update the key's clinic (clinic-scoped)
      operationId: putApiV1ClinicById
      description: Updates the clinic identified by id — which MUST equal the key's clinic, else 404. Write-scoped.
      security:
      - ApiKeyAuth: []
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
  /api/v1/clinic/check-slug/{slug}:
    get:
      tags:
      - Organization
      summary: Check clinic-slug availability
      operationId: getApiV1ClinicCheckSlugBySlug
      description: Returns whether a clinic slug is available.
      security:
      - ApiKeyAuth: []
      parameters:
      - in: path
        name: slug
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  available:
                    type: boolean
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  responses:
    Forbidden:
      description: Authenticated but not permitted (insufficient scope, wrong role, or FUSE feature not enabled)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    NotFound:
      description: Resource not found (or not owned by the key's clinic)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    BadRequest:
      description: Bad request / business-rule failure (may include a `code`)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Unauthorized:
      description: Missing, invalid, inactive, or expired API key (or JWT)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  schemas:
    ErrorEnvelope:
      description: 'Failure shape. NOTE: most modules use `message`; programs endpoints use `error`. Read both. Some errors include a machine-readable `code` and/or a `data` payload.'
      type: object
      properties:
        success:
          type: boolean
          enum:
          - false
        message:
          type: string
        error:
          type: string
        code:
          type: string
        data: {}
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Clinic-scoped API key. Keep server-side; never expose in a browser or app bundle.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: FUSE brand-admin JWT (from POST /auth/signin). Used ONLY by the key-management endpoints — the external /api/v1 surface never accepts JWTs, and API keys never work on key management.