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

# Get Config

> Returns the caller's own configuration record. The target config is resolved from the caller's identity, not from a path or query parameter, so there is no way to look up any config other than your own. Provider secret keys are never stored on the config, so the response never includes one.



## OpenAPI

````yaml /openapi.json get /configs
openapi: 3.1.0
info:
  title: OpenLoop API
  version: 0.1.0
  description: >-
    Unified reference for the OpenLoop Patient (clinical) and Payments & Revenue
    APIs.
servers:
  - url: https://api.openloophealth.com/v0.1
    description: Production partner edge
  - url: https://api-staging.openloophealth.com/v0.1
    description: Staging partner edge (sandbox credentials)
security: []
paths:
  /configs:
    get:
      tags:
        - Configs
      summary: Get Config
      description: >-
        Returns the caller's own configuration record. The target config is
        resolved from the caller's identity, not from a path or query parameter,
        so there is no way to look up any config other than your own. Provider
        secret keys are never stored on the config, so the response never
        includes one.
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        description: Configuration ID.
                      organization_id:
                        type: string
                        description: Organization identifier.
                      provider_account_id:
                        type: string
                        description: Payment provider account ID.
                      account_type:
                        type: string
                        description: >-
                          The payment provider's Connect role: `standalone`,
                          `platform`, or `connected`.
                      parent_config_id:
                        type:
                          - string
                          - 'null'
                        description: >-
                          Parent platform config id for a `connected` account;
                          `null` otherwise.
                      emr_id:
                        type: string
                        description: EMR system identifier.
                      payment_provider:
                        type: string
                        description: Provider enum.
                      publishable_key:
                        type: string
                        description: Publishable API key.
                      provider_access_disabled:
                        type: boolean
                        description: >-
                          Opt-out flag; present only when set. When `true`,
                          provider reads for this config are blocked.
                      payment_group:
                        type: string
                        description: Payment grouping identifier.
                      metadata:
                        type:
                          - object
                          - 'null'
                        properties:
                          billing_email:
                            type: string
                        description: Custom metadata.
                      retention_app_id:
                        type:
                          - string
                          - 'null'
                        description: >-
                          Chargebee Retention app identifier when retention is
                          enabled for this tenant; omitted otherwise.
                      status:
                        type: string
                        description: Archive status (`"ACTIVE"` / `"ARCHIVED"`).
                      created_at:
                        type: string
                        description: ISO 8601 timestamp.
                      updated_at:
                        type: string
                        description: ISO 8601 timestamp.
                      created_by_actor_id:
                        type:
                          - string
                          - 'null'
                        description: >-
                          ID of the actor that created the config; omitted for
                          some system records.
                      created_by_actor_type:
                        type: string
                        description: Type of the creating actor (`"USER"` or `"SYSTEM"`).
                      updated_by_actor_id:
                        type:
                          - string
                          - 'null'
                        description: ID of the actor that last updated the config.
                      updated_by_actor_type:
                        type:
                          - string
                          - 'null'
                        description: >-
                          Type of the last-updating actor (`"USER"` or
                          `"SYSTEM"`).
                required:
                  - data
              example:
                data:
                  id: test_config_id
                  organization_id: test_org_id
                  provider_account_id: test_account_id
                  account_type: standalone
                  parent_config_id: null
                  emr_id: test_emr_id
                  payment_provider: stripe
                  publishable_key: test_publishable_key
                  provider_access_disabled: false
                  payment_group: test_payment_group_id
                  metadata:
                    billing_email: billing@example.com
                  retention_app_id: test_retention_app_id
                  status: ACTIVE
                  created_at: '2025-01-15T08:00:00Z'
                  updated_at: '2026-05-20T14:30:00Z'
                  created_by_actor_id: test_actor_id
                  created_by_actor_type: SYSTEM
                  updated_by_actor_id: test_actor_id
                  updated_by_actor_type: SYSTEM
        '401':
          description: Missing or invalid bearer token.
        '403':
          description: >-
            No configuration exists for your account, or provider access has
            been disabled for it.
        '500':
          description: An upstream provider error.
      security:
        - serviceToken: []
        - userToken: []
components:
  securitySchemes:
    serviceToken:
      type: oauth2
      description: >-
        Service (M2M) access token issued by POST /auth/token using the
        client_credentials grant. Required scopes, where known, are listed on
        each operation below.
      flows:
        clientCredentials:
          tokenUrl: https://api.openloophealth.com/v0.1/auth/token
          scopes: {}
    userToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        User access token issued by POST /auth/token via the verification-code
        grant (after Verify a one-time code) or the refresh_token grant.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.