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

# Get conversation messages

> Retrieve all messages for a specific conversation.

    > **Required scope:** `MESSAGING_READ`
    >
    > **Rate limit:** 100 requests per minute



## OpenAPI

````yaml https://openapi.enginy.ai/definitions.json get /v1/conversation/:conversationId/messages
openapi: 3.1.0
info:
  title: Enginy API
  version: 1.0.0
  description: Public API for Enginy platform
servers:
  - url: https://openapi.enginy.ai
    description: Configured server
security: []
tags:
  - name: AI Variables
    description: >-
      Manage AI variables and discover the entity fields you can reference in
      prompts and entity requests.
  - name: Inbox
    description: >-
      Inbox endpoints for listing contact threads, reading thread messages,
      managing tags, and sending manual replies.
  - name: Workflows
    description: >-
      Build, validate, publish, run, and inspect advanced (graph) workflows,
      plus the block/condition catalog needed to author a workflow plan.
paths:
  /v1/conversation/:conversationId/messages:
    get:
      tags:
        - Campaigns
      summary: Get conversation messages
      description: |-
        Retrieve all messages for a specific conversation.

            > **Required scope:** `MESSAGING_READ`
            >
            > **Rate limit:** 100 requests per minute
      parameters:
        - schema:
            type: string
            description: ID of the conversation
          required: true
          description: ID of the conversation
          name: conversationId
          in: path
      responses:
        '200':
          description: Messages retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      conversationId:
                        type: number
                        description: ID of the conversation
                      messages:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: number
                              description: Unique identifier for the message
                            content:
                              type: string
                              description: Content of the message
                            subject:
                              type:
                                - string
                                - 'null'
                              description: Subject of the message (for emails)
                            type:
                              type: string
                              description: Type of message (LINKEDIN, EMAIL, INMAIL, etc.)
                            isContactSender:
                              type: boolean
                              description: >-
                                Whether the message was sent by the contact
                                (true) or by the identity (false)
                            isAutosent:
                              type: boolean
                              description: >-
                                Whether the message was sent automatically by
                                Enginy
                            isAudio:
                              type:
                                - boolean
                                - 'null'
                              description: Whether the message is an audio message
                            isBounced:
                              type: boolean
                              description: >-
                                Whether the message bounced (e.g. email delivery
                                failed). Always false for inbound messages.
                            url:
                              type:
                                - string
                                - 'null'
                              description: URL associated with the message
                            attachment:
                              type:
                                - string
                                - 'null'
                              description: Attachment associated with the message
                            attachmentName:
                              type:
                                - string
                                - 'null'
                              description: Name of the attachment
                            contentType:
                              type: string
                              description: >-
                                Content type of the message (TEXT, AUDIO, IMAGE,
                                VIDEO, FILE)
                            createdAt:
                              type: string
                              format: date-time
                              description: Date and time when the message was created
                            updatedAt:
                              type: string
                              format: date-time
                              description: Date and time when the message was last updated
                            viewCount:
                              type: number
                              description: Number of times the message has been viewed
                            clickCount:
                              type: number
                              description: >-
                                Number of times links in the message have been
                                clicked
                          required:
                            - id
                            - content
                            - subject
                            - type
                            - isContactSender
                            - isAutosent
                            - isAudio
                            - isBounced
                            - url
                            - attachment
                            - attachmentName
                            - contentType
                            - createdAt
                            - updatedAt
                            - viewCount
                            - clickCount
                        description: List of messages in the conversation
                    required:
                      - conversationId
                      - messages
                required:
                  - status
                  - message
                  - data
        '400':
          description: Invalid conversation ID
        '404':
          description: Conversation not found
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````