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

# Get default conversion settings

> Get the workspace default conversion event config (or null).



## OpenAPI

````yaml get /api/admin/settings/conversion-config
openapi: 3.1.0
info:
  title: Tranthor API
  description: Tranthor API Swagger Documentation
  version: 0.0.1
servers: []
security: []
paths:
  /api/admin/settings/conversion-config:
    get:
      tags:
        - Settings
      description: Get the workspace default conversion event config (or null).
      parameters:
        - schema:
            type: string
          in: query
          name: workspaceId
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  config:
                    anyOf:
                      - title: Conversion Event Config
                        description: >-
                          Per-origin (journey | broadcast) conversion + revenue
                          attribution config. Last-touch within window;
                          per-origin scoping (a user may convert for multiple
                          origins independently).
                        type: object
                        properties:
                          events:
                            minItems: 1
                            maxItems: 4
                            type: array
                            items:
                              anyOf:
                                - type: object
                                  properties:
                                    kind:
                                      type: string
                                      enum:
                                        - transaction
                                    valueProperty:
                                      type: string
                                    isPrimary:
                                      type: boolean
                                  required:
                                    - kind
                                    - isPrimary
                                - type: object
                                  properties:
                                    kind:
                                      type: string
                                      enum:
                                        - custom
                                    eventName:
                                      type: string
                                    valueProperty:
                                      type: string
                                    isPrimary:
                                      type: boolean
                                  required:
                                    - kind
                                    - eventName
                                    - isPrimary
                          windowDays:
                            minimum: 1
                            maximum: 30
                            type: integer
                          anchor:
                            anyOf:
                              - type: string
                                enum:
                                  - delivered
                              - type: string
                                enum:
                                  - opened
                              - type: string
                                enum:
                                  - clicked
                          holdout:
                            type: object
                            properties:
                              enabled:
                                type: boolean
                              pct:
                                minimum: 0
                                maximum: 50
                                type: number
                              version:
                                minLength: 1
                                maxLength: 64
                                type: string
                              notMeasuredReason:
                                anyOf:
                                  - type: string
                                    enum:
                                      - no_purchase_event
                                  - type: string
                                    enum:
                                      - turned_off_before_launch
                                  - type: string
                                    enum:
                                      - turned_off_by_workspace
                                  - type: string
                                    enum:
                                      - revenue_value_not_configured
                                  - type: string
                                    enum:
                                      - purchase_event_changed_after_approval
                            required:
                              - enabled
                              - pct
                          exitOnConversion:
                            type: boolean
                        required:
                          - events
                          - windowDays
                          - anchor
                      - type: 'null'
                required:
                  - config
        '404':
          description: An empty String
          content:
            application/json:
              schema:
                description: An empty String
                type: string
      security:
        - adminApiKey: []
components:
  securitySchemes:
    adminApiKey:
      type: http
      scheme: bearer
      description: >-
        An Admin API key, sent as `Authorization: Bearer <key>`. Create one in
        Settings.

````

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