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

# Get Phrase Replacement Config

> <b>Get a specific phrase replacement configuration</b>

Retrieves a specific phrase replacement configuration by its ID.




## OpenAPI

````yaml get /synthesis/phrase-replacement-config/{configId}
openapi: 3.1.0
info:
  title: UpliftAI API
  version: 1.0.0
  description: >
    API for UpliftAI messaging, media handling, and text-to-speech capabilities.
    This API enables real-time communication

    with AI assistants, supporting various content types including text, images,
    audio,

    and documents. It provides both synchronous and asynchronous messaging
    capabilities

    with webhook support for real-time updates. The API also supports
    text-to-speech synthesis

    and phrase replacement configuration.
servers:
  - url: https://api.upliftai.org/v1
    description: Version 1 API
security: []
paths:
  /synthesis/phrase-replacement-config/{configId}:
    get:
      summary: Get Phrase Replacement Config
      description: |
        <b>Get a specific phrase replacement configuration</b>

        Retrieves a specific phrase replacement configuration by its ID.
      parameters:
        - in: path
          name: configId
          required: true
          schema:
            type: string
          description: ID of the configuration to retrieve
      responses:
        '200':
          description: Successful retrieval of configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhraseReplacementConfigResponse'
        '404':
          description: Configuration not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Rate limit exceeded, please try again later
      security:
        - apiKeyAuth: []
components:
  schemas:
    PhraseReplacementConfigResponse:
      type: object
      required:
        - configId
        - phraseReplacements
      description: Response containing phrase replacement configuration
      properties:
        configId:
          type: string
          description: Unique identifier for the configuration
        phraseReplacements:
          type: array
          description: Array of phrase replacement rules
          items:
            $ref: '#/components/schemas/PhraseReplacement'
    PhraseReplacement:
      type: object
      required:
        - phrase
        - replacement
      description: Configuration for how to replace specific phrases
      properties:
        phrase:
          type: string
          maxLength: 50
          description: Original phrase to be replaced
        replacement:
          type: string
          maxLength: 50
          description: Text to use as replacement
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: API key with format "Bearer sk_api_..."

````