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

# Create Conversation

> Start a conversation and return the token that authorizes its answers.

Open on purpose: anyone who can open an agent's call page can start a call.
The id is generated here rather than accepted from the caller, so one caller
cannot name another caller's conversation and read or overwrite it.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/conversations
openapi: 3.1.0
info:
  description: >
    Create and run form-filling voice agents, and read back the conversations
    they had.


    Send your API key on every request as `Authorization: Bearer fb_live_...`.

    A key belongs to one workspace and only reaches that workspace's agents.
    Create

    and revoke keys from Settings in the web app; keys cannot manage other keys.
  title: FormBharo API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.formbharo.artpark.ai
security:
  - apiKey: []
paths:
  /api/v1/conversations:
    post:
      tags:
        - Agents
      summary: Create Conversation
      description: >-
        Start a conversation and return the token that authorizes its answers.


        Open on purpose: anyone who can open an agent's call page can start a
        call.

        The id is generated here rather than accepted from the caller, so one
        caller

        cannot name another caller's conversation and read or overwrite it.
      operationId: create_conversation_api_v1_conversations_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateConversationRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateConversationResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security: []
components:
  schemas:
    CreateConversationRequest:
      description: Body of ``POST /conversations``.
      properties:
        agent_id:
          title: Agent Id
          type: string
      required:
        - agent_id
      title: CreateConversationRequest
      type: object
    CreateConversationResponse:
      description: The new conversation's id and the token that authorizes its answers.
      properties:
        conversation_id:
          title: Conversation Id
          type: string
        token:
          title: Token
          type: string
      required:
        - conversation_id
        - token
      title: CreateConversationResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    apiKey:
      bearerFormat: fb_live_...
      scheme: bearer
      type: http

````