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

# Create phone connection

> Create a new phone connection. See [Phone Connections](https://docs.galtea.ai/concepts/product/phone-connection).



## OpenAPI

````yaml https://api.galtea.ai/openapi.json post /phoneConnections
openapi: 3.0.0
info:
  version: 1.0.0
  title: Product Management Service API
  description: API documentation for Product Management Service
  contact:
    name: Galtea AI
servers:
  - url: https://api.galtea.ai
security:
  - bearerAuth: []
tags: []
externalDocs:
  description: Galtea Platform Documentation
  url: https://docs.galtea.ai
paths:
  /phoneConnections:
    post:
      tags:
        - phone-connections
      summary: Create phone connection
      description: >-
        Create a new phone connection. See [Phone
        Connections](https://docs.galtea.ai/concepts/product/phone-connection).
      operationId: createPhoneConnection
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PhoneConnection'
      responses:
        '201':
          description: Phone connection created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneConnection'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    PhoneConnection:
      type: object
      required:
        - productId
        - name
        - phoneNumber
      properties:
        id:
          type: string
          example: phoneConnection_123
        productId:
          type: string
          example: prod_123
        userId:
          type: string
          nullable: true
          example: user_123
        name:
          type: string
          example: Support line
        phoneNumber:
          type: string
          description: The phone number Galtea dials, in E.164 format.
          example: '+14155552671'
        agentSpeaksFirst:
          type: boolean
          default: false
          description: >-
            Whether the voice agent opens the conversation once the call
            connects. `false` (default) means the simulated caller speaks first;
            `true` suits interviewer-style agents that greet first.
          example: false
        createdAt:
          type: string
          format: date-time
        deletedAt:
          type: string
          format: date-time
          nullable: true
    Error:
      type: object
      properties:
        error:
          type: string
          example: Error type
        message:
          type: string
          example: Error message description
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authorization. Pass your API key in the Authorization header as
        a Bearer token. Both new (`gsk_*`) and legacy (`gsk-`) API keys are
        accepted, e.g. `Authorization: Bearer gsk_...` or `Authorization: Bearer
        gsk-...`.

````