Huma Health App Integration API

The Health App Integration API from Huma — 5 operation(s) for health app integration.

Operations 7

POST /api/extensions/v1/user/{user_id}/authorize-third-party-app Authorize Third Party App #
POST /api/extensions/v1/user/{user_id}/retrieve-third-party-apps Retrieve Third Party Apps #
POST /api/extensions/v1/user/{user_id}/third-party-app Create Third Party App #
GET /api/extensions/v1/user/{user_id}/third-party-app-log/{app_type} Retrieve Third Party App Log #
GET /api/extensions/v1/user/{user_id}/third-party-app/{app_type} Retrieve Third Party App #
POST /api/extensions/v1/user/{user_id}/third-party-app/{app_type} Connect Third Party App #
DELETE /api/extensions/v1/user/{user_id}/third-party-app/{app_type} Disconnect Third Party App #

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/huma-health-app-integration-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

huma-health-app-integration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Huma Platform Health App Integration API
  version: 1.0.0
  description: Huma Platform
servers:
- url: https://workspace-gcp-uk.api.huma.com/api/integration/v1
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Health App Integration
paths:
  /api/extensions/v1/user/{user_id}/authorize-third-party-app:
    post:
      operationId: api_extensions_v1_user_authorize_third_party_app_create_[authorize_third_party_app]
      description: 'Authorize Third-Party App

        Authorizes a third-party app for the specified user.'
      summary: Authorize Third Party App
      parameters:
      - in: path
        name: user_id
        schema:
          type: string
          pattern: ^[a-f0-9]{24}$
        required: true
      tags:
      - Health App Integration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthorizeFitbitRequestDataDRF'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/AuthorizeFitbitRequestDataDRF'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/AuthorizeFitbitRequestDataDRF'
        required: true
      security:
      - JWT Auth: []
      - Hawk Auth: []
      - jwtAuth: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResultIdResponseObjectDRF'
          description: ''
  /api/extensions/v1/user/{user_id}/retrieve-third-party-apps:
    post:
      operationId: api_extensions_v1_user_retrieve_third_party_apps_create_[retrieve_third_party_apps]
      description: 'Retrieve Connected Third-Party Apps

        Retrieves a list of connected third-party apps for the specified user.'
      summary: Retrieve Third Party Apps
      parameters:
      - in: path
        name: user_id
        schema:
          type: string
          pattern: ^[a-f0-9]{24}$
        required: true
      tags:
      - Health App Integration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RetrieveThirdPartyAppsRequestDataDRF'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/RetrieveThirdPartyAppsRequestDataDRF'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/RetrieveThirdPartyAppsRequestDataDRF'
      security:
      - JWT Auth: []
      - Hawk Auth: []
      - jwtAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThirdPartyAppDTODRF'
          description: ''
  /api/extensions/v1/user/{user_id}/third-party-app:
    post:
      operationId: api_extensions_v1_user_third_party_app_create_[create_third_party_app]
      description: 'Create Third-Party App

        Registers a new third-party app for the specified user.'
      summary: Create Third Party App
      parameters:
      - in: path
        name: user_id
        schema:
          type: string
          pattern: ^[a-f0-9]{24}$
        required: true
      tags:
      - Health App Integration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BaseThirdPartyAppRequestObjectDRF'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/BaseThirdPartyAppRequestObjectDRF'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/BaseThirdPartyAppRequestObjectDRF'
        required: true
      security:
      - JWT Auth: []
      - Hawk Auth: []
      - jwtAuth: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResultIdResponseObjectDRF'
          description: ''
  /api/extensions/v1/user/{user_id}/third-party-app-log/{app_type}:
    get:
      operationId: api_extensions_v1_user_third_party_app_log_retrieve_[retrieve_third_party_app_log]
      description: 'Retrieve Third-Party App Log

        Retrieves the log of activities for a specified third-party app.'
      summary: Retrieve Third Party App Log
      parameters:
      - in: path
        name: app_type
        schema:
          type: string
        required: true
      - in: path
        name: user_id
        schema:
          type: string
          pattern: ^[a-f0-9]{24}$
        required: true
      tags:
      - Health App Integration
      security:
      - JWT Auth: []
      - Hawk Auth: []
      - jwtAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThirdPartyAppLogDTODRF'
          description: ''
  /api/extensions/v1/user/{user_id}/third-party-app/{app_type}:
    get:
      operationId: api_extensions_v1_user_third_party_app_retrieve_[retrieve_third_party_app]
      description: 'Retrieve Third-Party App

        Retrieves the details of a third-party app for the specified user and app type.'
      summary: Retrieve Third Party App
      parameters:
      - in: path
        name: app_type
        schema:
          type: string
        required: true
      - in: path
        name: user_id
        schema:
          type: string
          pattern: ^[a-f0-9]{24}$
        required: true
      tags:
      - Health App Integration
      security:
      - JWT Auth: []
      - Hawk Auth: []
      - jwtAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThirdPartyAppDTODRF'
          description: ''
    post:
      operationId: api_extensions_v1_user_third_party_app_create_[connect_third_party_app]
      description: 'Connect Third-Party App

        Connects a third-party app to the specified user''s account using the app type and authorization data.'
      summary: Connect Third Party App
      parameters:
      - in: path
        name: app_type
        schema:
          type: string
        required: true
      - in: path
        name: user_id
        schema:
          type: string
          pattern: ^[a-f0-9]{24}$
        required: true
      tags:
      - Health App Integration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectFitbitRequestDataDRF'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ConnectFitbitRequestDataDRF'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ConnectFitbitRequestDataDRF'
        required: true
      security:
      - JWT Auth: []
      - Hawk Auth: []
      - jwtAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThirdPartyAppStatusResponseDRF'
          description: ''
    delete:
      operationId: api_extensions_v1_user_third_party_app_destroy_[disconnect_third_party_app]
      description: 'Disconnect Third-Party App

        Disconnects a third-party app for the specified user.'
      summary: Disconnect Third Party App
      parameters:
      - in: path
        name: app_type
        schema:
          type: string
        required: true
      - in: path
        name: user_id
        schema:
          type: string
          pattern: ^[a-f0-9]{24}$
        required: true
      tags:
      - Health App Integration
      security:
      - JWT Auth: []
      - Hawk Auth: []
      - jwtAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThirdPartyAppStatusResponseDRF'
          description: ''
components:
  schemas:
    ResultIdResponseObjectDRF:
      type: object
      properties:
        id:
          type: string
    BaseThirdPartyAppRequestObjectDRF:
      type: object
      properties:
        type:
          type: string
        appUserId:
          type: string
        accessToken:
          type: string
        refreshToken:
          type: string
        permissions:
          type: array
          items:
            type: string
        status:
          type: string
        lastSyncDateTime:
          type: string
          format: date-time
      required:
      - accessToken
      - appUserId
      - refreshToken
      - status
      - type
    ConnectFitbitRequestDataDRF:
      type: object
      properties:
        code:
          type: string
      required:
      - code
    ThirdPartyAppLogDTODRF:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
        userId:
          type: string
        appUserId:
          type: string
        moduleLogs:
          type: array
          items:
            type: object
            additionalProperties: {}
        createDateTime:
          type: string
          format: date-time
        updateDateTime:
          type: string
          format: date-time
      required:
      - type
      - userId
    ThirdPartyAppStatusResponseDRF:
      type: object
      properties:
        status:
          type: string
    ThirdPartyAppDTODRF:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
        userId:
          type: string
        appUserId:
          type: string
        accessToken:
          type: string
        refreshToken:
          type: string
        permissions:
          type: array
          items:
            type: string
        status:
          type: string
        createDateTime:
          type: string
          format: date-time
        updateDateTime:
          type: string
          format: date-time
        lastSyncDateTime:
          type: string
          format: date-time
      required:
      - accessToken
      - appUserId
      - refreshToken
      - status
      - type
      - userId
    AuthorizeFitbitRequestDataDRF:
      type: object
      properties:
        type:
          type: string
        code:
          type: string
      required:
      - code
      - type
    RetrieveThirdPartyAppsRequestDataDRF:
      type: object
      properties:
        type:
          type: string
  securitySchemes:
    Hawk_Auth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Hawk MAC authentication. Paste a full Authorization header value.


        Example:


        Authorization: Hawk id="userId:clientId", ts="<unix_ts>", nonce="<nonce>", mac="<mac>"[, hash="<hash>"][, ext="<ext>"]


        Note: Swagger UI cannot generate Hawk headers. Use your client to compute the MAC (e.g., with mohawk), then paste the full value here.'
    JWT_Auth:
      type: http
      scheme: bearer
      in: header
      bearerFormat: JWT
      description: 'Use HTTP Bearer auth with a JWT.


        Send the token in the Authorization header:


        Authorization: Bearer <your_jwt_here>


        The token should contain standard claims plus projectId and clientId in user claims.'
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT