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

# Get Config

> Resolve a portal module's config values for the session's customer.

For ``module=portal`` this returns the account's ``onboarding_project__c_`` value (a project
id), which the portal then reads via ``GET /sdk/v1/projects/{id}``.



## OpenAPI

````yaml /api/portal-sdk.openapi.json get /sdk/v1/config/{module}
openapi: 3.1.0
info:
  title: Statisfy Portal SDK API
  description: >-
    Customer-facing portal APIs under `/sdk/v1`. Every call is authenticated
    with a minted **portal-session token** (bearer) plus your **publishable
    key**, and is scoped to the customer in the token — see the Portal SDK
    guide.
  version: v1
servers:
  - url: https://api.statisfy.app
    description: Production gateway
security:
  - portalSession: []
    publishableKey: []
paths:
  /sdk/v1/config/{module}:
    get:
      tags:
        - sdk
      summary: Get Config
      description: >-
        Resolve a portal module's config values for the session's customer.


        For ``module=portal`` this returns the account's
        ``onboarding_project__c_`` value (a project

        id), which the portal then reads via ``GET /sdk/v1/projects/{id}``.
      operationId: get_config_sdk_v1_config__module__get
      parameters:
        - name: module
          in: path
          required: true
          schema:
            type: string
            title: Module
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SdkConfigResponse'
        '401':
          description: Token is missing or not scoped to a portal customer
        '404':
          description: Unknown module
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SdkConfigResponse:
      properties:
        data:
          additionalProperties: true
          type: object
          title: Data
        meta:
          additionalProperties: true
          type: object
          title: Meta
      type: object
      title: SdkConfigResponse
      description: >-
        Envelope for ``GET /sdk/v1/config/{module}`` — resolved module config
        values.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    portalSession:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Minted portal-session JWT (see the Portal SDK guide for the token
        exchange).
    publishableKey:
      type: apiKey
      in: header
      name: X-Statisfy-Publishable-Key
      description: Your SDK publishable key.

````