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

# Get conversation details



## OpenAPI

````yaml /openapi.json get /api/conversations/{id}
openapi: 3.0.0
info:
  title: GoMobile Backend API
  description: >-
    API documentation for GoMobile telephony platform - automated calling
    campaigns, interactive voice flows, and call management
  version: '1.0'
  contact: {}
servers:
  - url: http://localhost:3000
    description: Local Development
security: []
tags:
  - name: Organizations
    description: Multi-tenant organization management
  - name: Teams
    description: Team structure and hierarchy
  - name: Contacts
    description: Customer contact management (CRM)
  - name: Entities
    description: Business entities management
  - name: Audiences
    description: Contact segmentation and groups
  - name: Programs
    description: Call campaign configuration
  - name: Call Flows
    description: Interactive call flow builder
paths:
  /api/conversations/{id}:
    get:
      tags:
        - Agent Studio - Conversations
      summary: Get conversation details
      operationId: ConversationMessagesController_getById
      parameters:
        - name: id
          required: true
          in: path
          description: Conversation ID
          schema:
            type: string
      responses:
        '200':
          description: Conversation details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConversationResponseDto'
        '404':
          description: Conversation not found
      security:
        - bearer: []
components:
  schemas:
    ConversationResponseDto:
      type: object
      properties:
        id:
          type: string
          description: Conversation ID
        organizationId:
          type: string
          description: Organization ID
        agentId:
          type: string
          description: Agent ID
        mastraThreadId:
          type: string
          description: Mastra thread ID
        userId:
          type: string
          description: User ID
          nullable: true
        contactId:
          type: string
          description: Contact ID
          nullable: true
        title:
          type: string
          description: Conversation title
          nullable: true
        messageCount:
          type: number
          description: Message count
        status:
          type: string
          description: Conversation status
          enum:
            - pending
            - active
            - ended
            - failed
            - archived
        startedAt:
          format: date-time
          type: string
          description: Started at timestamp
        lastMessageAt:
          type: string
          description: Last message timestamp
          nullable: true
        endedAt:
          type: string
          description: Ended at timestamp
          nullable: true
        createdAt:
          format: date-time
          type: string
          description: Created at timestamp
        updatedAt:
          format: date-time
          type: string
          description: Updated at timestamp
      required:
        - id
        - organizationId
        - agentId
        - mastraThreadId
        - messageCount
        - status
        - startedAt
        - createdAt
        - updatedAt
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````