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

# Retrieve ticket message raw content

> Return the provider-complete text of an inbound message when it differs from the message content shown on the timeline. Used for see-entire-message. Returns 404 when no message raw content exists.



## OpenAPI

````yaml https://api.initdesk.com/schema.yaml get /organizations/{organization_id}/tickets/{ticket_id}/messages/{pk}/raw-content/
openapi: 3.0.3
info:
  title: initdesk Customer API
  version: 1.41.0
  description: OpenAPI documentation for the customer-facing API served by the gateway.
servers:
  - url: https://api.initdesk.com
    description: Customer API gateway
security:
  - IntegrationToken: []
tags:
  - name: Organizations
    description: Organization metadata and context for all other resources.
  - name: Customers
    description: >-
      End users (requesters) scoped to the organization. Tickets reference
      customers by ID.
  - name: Tickets
    description: >-
      Tickets, messages, attachments, search, and statuses. A ticket is the
      conversation container; messages are nested under
      `/tickets/{pk}/messages/`.


      **Attachments (two-phase upload):** upload the file first (multipart field
      `file_upload`), then pass the returned `id` values as `attachment_ids`
      when creating a ticket or message.

      - New ticket: `POST
      /organizations/{organization_id}/pending-attachments/`, then `POST
      /organizations/{organization_id}/tickets/` with `attachment_ids`.

      - Reply on an existing ticket: `POST
      /organizations/{organization_id}/tickets/{ticket_id}/attachments/`, then
      `POST .../messages/` with `attachment_ids`.

      Max size is 50 MB. Large or slow uploads may hit the public gateway
      timeout (30s). Unused temporary uploads are deleted automatically (default
      ~24 hours); there is no public delete endpoint. Content types `text/html*`
      and `image/svg+xml` are rejected.
  - name: Custom Preset Filters
    description: >-
      Saved ticket search filters scoped to the organization. Integration tokens
      receive organization-shared filters only.
  - name: Inboxes
    description: >-
      Organization mailboxes for routing tickets. Each inbox has an email prefix
      and optional default-inbox flag (is_default: true). On ticket create,
      inbox_id is optional: omit to use the default inbox, or provide an inbox
      ID to target a specific mailbox.
  - name: Tags
    description: Organization-scoped ticket tags with id, name, and optional color.
  - name: Help Center
    description: >-
      Support portal settings, knowledge base collections, articles, and article
      search.
paths:
  /organizations/{organization_id}/tickets/{ticket_id}/messages/{pk}/raw-content/:
    get:
      tags:
        - Tickets
      summary: Retrieve ticket message raw content
      description: >-
        Return the provider-complete text of an inbound message when it differs
        from the message content shown on the timeline. Used for
        see-entire-message. Returns 404 when no message raw content exists.
      operationId: retrieve_ticket_message_raw_content
      parameters:
        - in: path
          name: pk
          schema:
            type: integer
          description: A unique integer value identifying this message.
          required: true
        - in: path
          name: ticket_id
          schema:
            type: string
          required: true
        - in: path
          name: organization_id
          schema:
            type: string
            pattern: ^[-a-zA-Z0-9_]+$
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageRawContent'
          description: ''
        '404':
          description: Message not found, or no message raw content.
      security:
        - IntegrationToken: []
components:
  schemas:
    MessageRawContent:
      type: object
      description: Provider-complete text for see-entire-message.
      properties:
        content:
          type: string
          readOnly: true
        content_html:
          type: string
          readOnly: true
      required:
        - content
        - content_html
  securitySchemes:
    IntegrationToken:
      type: apiKey
      in: header
      name: X-Initdesk-Token

````