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

# Get Embed Config

> Read the public widget configuration for an active embed token from an allowed origin. A successful configuration fetch does not initialize a conversation.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/public/embed/config/{token}
openapi: 3.1.0
info:
  title: Athena API
  version: 1.0.0
  description: >-
    Hosted Athena customer API. Authenticate backend management and call-trigger
    requests with X-API-Key. Website embeds and artifact playback use their own
    scoped tokens. Provider availability, feature settings, and verification
    limits are described in the guides.
servers:
  - url: https://athena.tryopencomputer.com
    description: Hosted Athena API
security: []
paths:
  /api/v1/public/embed/config/{token}:
    get:
      tags:
        - Public
      summary: Get Embed Config
      description: >-
        Read the public widget configuration for an active embed token from an
        allowed origin. A successful configuration fetch does not initialize a
        conversation.
      operationId: get_embed_config_api_v1_public_embed_config__token__get
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
            title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmbedConfigResponse'
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EmbedConfigResponse:
      properties:
        workflow_id:
          type: integer
          title: Workflow Id
        settings:
          additionalProperties: true
          type: object
          title: Settings
        texts:
          $ref: '#/components/schemas/WidgetTexts'
        theme:
          type: string
          title: Theme
        position:
          type: string
          title: Position
        button_text:
          type: string
          title: Button Text
        button_color:
          type: string
          title: Button Color
        size:
          type: string
          title: Size
        auto_start:
          type: boolean
          title: Auto Start
        turn_enabled:
          type: boolean
          title: Turn Enabled
        force_turn_relay:
          type: boolean
          title: Force Turn Relay
      type: object
      required:
        - workflow_id
        - settings
        - texts
        - theme
        - position
        - button_text
        - button_color
        - size
        - auto_start
        - turn_enabled
        - force_turn_relay
      title: EmbedConfigResponse
      description: Response model for embed configuration
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WidgetTexts:
      properties:
        endChatText:
          type: string
          title: Endchattext
          default: End chat
        endChatConfirmText:
          type: string
          title: Endchatconfirmtext
          default: End this chat?
        endChatCancelText:
          type: string
          title: Endchatcanceltext
          default: Cancel
        endingChatText:
          type: string
          title: Endingchattext
          default: Ending…
        conversationEndedText:
          type: string
          title: Conversationendedtext
          default: Conversation ended.
        startNewChatText:
          type: string
          title: Startnewchattext
          default: Start new chat
        chatRetryText:
          type: string
          title: Chatretrytext
          default: Retry
        chatInputPlaceholder:
          type: string
          title: Chatinputplaceholder
          default: Type a message…
        sendMessageLabel:
          type: string
          title: Sendmessagelabel
          default: Send message
        closeChatLabel:
          type: string
          title: Closechatlabel
          default: Close chat
        voiceConnectingText:
          type: string
          title: Voiceconnectingtext
          default: Connecting…
        voiceEndCallText:
          type: string
          title: Voiceendcalltext
          default: End Call
        voiceRetryText:
          type: string
          title: Voiceretrytext
          default: Retry
        voiceReadyTitle:
          type: string
          title: Voicereadytitle
          default: Ready to Connect
        voiceConnectingSubtext:
          type: string
          title: Voiceconnectingsubtext
          default: Please wait while we establish the connection
        voiceConnectedTitle:
          type: string
          title: Voiceconnectedtitle
          default: Connected
        voiceConnectedSubtext:
          type: string
          title: Voiceconnectedsubtext
          default: Your voice call is now active
        voiceCallEndedTitle:
          type: string
          title: Voicecallendedtitle
          default: Call ended
        voiceCallEndedSubtext:
          type: string
          title: Voicecallendedsubtext
          default: Click below to start a new call
        voiceConnectionFailedTitle:
          type: string
          title: Voiceconnectionfailedtitle
          default: Connection failed
        voiceConnectionFailedSubtext:
          type: string
          title: Voiceconnectionfailedsubtext
          default: Please check your microphone and try again
        voiceConnectionLostTitle:
          type: string
          title: Voiceconnectionlosttitle
          default: Connection lost
        voiceConnectionLostSubtext:
          type: string
          title: Voiceconnectionlostsubtext
          default: The call has been disconnected
      type: object
      title: WidgetTexts
      description: Every visitor-facing string the embed widget can render.
    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

````

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