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

# List campaign message content

> Returns active content records for a given message. A

The list response includes a `content` attribute with a single key (`mjml`, `html`, `text`, `payload` (SMS) or `null`). These indicate the content type. The actual `content` is not returned in this payload.

Ordering:
- `default` content first.
- localized content next, sorted by `locale` then by `id`.




## OpenAPI

````yaml /api-reference/campaigns-v2/campaigns-v2.yaml get /campaign-messages/{campaign_message_id}/content
openapi: 3.0.3
info:
  title: Vero Open API v2
  version: 2.0.0
  description: >
    OpenAPI description for the API key-authenticated `api/v2` campaign
    endpoints.


    Authentication uses the `Authorization` header. Both of these forms are
    accepted:


    - `Authorization: sk_valid_123`

    - `Authorization: Bearer sk_valid_123`

    - `revision: 2026-03-01`


    Read endpoints require the `campaign:read` permission.

    Write endpoints require the `campaign:write` permission.
servers:
  - url: https://api.getvero.com/api/v2
security:
  - ApiKeyAuth: []
tags:
  - name: Campaigns
  - name: Campaign Messages
  - name: Campaign Content
paths:
  /campaign-messages/{campaign_message_id}/content:
    get:
      tags:
        - Campaign Content
      summary: List campaign message content
      description: >
        Returns active content records for a given message. A


        The list response includes a `content` attribute with a single key
        (`mjml`, `html`, `text`, `payload` (SMS) or `null`). These indicate the
        content type. The actual `content` is not returned in this payload.


        Ordering:

        - `default` content first.

        - localized content next, sorted by `locale` then by `id`.
      operationId: listCampaignContent
      parameters:
        - $ref: '#/components/parameters/CampaignMessageIdScoped'
        - $ref: '#/components/parameters/Revision'
      responses:
        '200':
          description: Campaign message content returned.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CampaignContentListItem'
              examples:
                default:
                  value:
                    - id: 789
                      locale: null
                      name: Default
                      is_default: true
                      subject: Welcome
                      preheader_text: Hello
                      content:
                        html: null
                      created_at: '2026-03-26T01:02:03Z'
                      updated_at: '2026-03-26T01:02:03Z'
                    - id: 790
                      locale: fr-FR
                      name: French
                      is_default: false
                      subject: Bonjour
                      preheader_text: Salut
                      content:
                        html: null
                      created_at: '2026-03-26T01:02:03Z'
                      updated_at: '2026-03-26T01:02:03Z'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/ValidationError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  parameters:
    CampaignMessageIdScoped:
      name: campaign_message_id
      in: path
      required: true
      description: Campaign message ID.
      schema:
        type: integer
    Revision:
      name: revision
      in: header
      required: false
      description: >-
        Optional dated API revision for the request. Must use `YYYY-MM-DD`
        format.
      schema:
        type: string
        pattern: ^\d{4}-\d{2}-\d{2}$
        example: '2026-03-01'
  schemas:
    CampaignContentListItem:
      type: object
      required:
        - id
        - locale
        - name
        - is_default
        - content
        - created_at
        - updated_at
      properties:
        id:
          type: integer
        locale:
          type: string
          nullable: true
          description: '`null` for the default content variant.'
        name:
          type: string
          nullable: true
        is_default:
          type: boolean
        subject:
          type: string
          nullable: true
        preheader_text:
          type: string
          nullable: true
        content:
          $ref: '#/components/schemas/CampaignContentBody'
          description: >
            Returns exactly one of `mjml`, `html`, `text`, `payload` or `null`
            to indicate which content attribute applies without returning the
            full body.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    CampaignContentBody:
      type: object
      description: >
        Exactly one of `mjml`, `html`, `text` or `payload` must be present in
        write requests.

        Email messages accept `mjml`, `html`, or `text`. SMS accepts `text`.
        Push accepts `payload`.
      properties:
        mjml:
          type: string
          nullable: true
        html:
          type: string
          nullable: true
        text:
          type: string
          nullable: true
        payload:
          type: object
          nullable: true
          additionalProperties: true
    NotFoundError:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          enum:
            - not_found
    ErrorList:
      type: object
      required:
        - errors
      properties:
        errors:
          type: array
          items:
            type: object
            required:
              - message
            properties:
              message:
                type: string
  responses:
    Unauthorized:
      description: Missing API key, invalid API key, or mapped project disabled.
    Forbidden:
      description: >-
        Missing permission, missing local project API key mapping, or owner
        mismatch.
    NotFound:
      description: Resource does not belong to the mapped project.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NotFoundError'
          examples:
            default:
              value:
                error: not_found
    ValidationError:
      description: >-
        Invalid request payload, non-draft campaign content mutation, or
        unsupported content format.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorList'
          examples:
            nonDraftCampaign:
              value:
                errors:
                  - message: >-
                      Campaign content can only be created or updated while the
                      campaign is in draft
            unsupportedEditorType:
              value:
                errors:
                  - message: Unsupported content format
    ServiceUnavailable:
      description: Upstream API key validation failed.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Accepts either a raw secret key or `Bearer <sk_KEY>`.

````