> ## 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 messages

> Returns the campaign's messages ordered by `position` in ascending order, then `id` in ascending order. A message represents a variant. Campaigns can have multiple messages, representing multiple messages for A/B testing.



## OpenAPI

````yaml /api-reference/campaigns-v2/campaigns-v2.yaml get /campaigns/{campaign_id}/campaign-messages
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:
  /campaigns/{campaign_id}/campaign-messages:
    get:
      tags:
        - Campaign Messages
      summary: List campaign messages
      description: >-
        Returns the campaign's messages ordered by `position` in ascending
        order, then `id` in ascending order. A message represents a variant.
        Campaigns can have multiple messages, representing multiple messages for
        A/B testing.
      operationId: listCampaignMessages
      parameters:
        - $ref: '#/components/parameters/CampaignIdScoped'
        - $ref: '#/components/parameters/Revision'
      responses:
        '200':
          description: Campaign messages returned.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CampaignMessage'
              examples:
                default:
                  value:
                    - id: 456
                      title: Control
                      position: 1
                      active: true
                    - id: 457
                      title: Variation A
                      position: 2
                      active: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  parameters:
    CampaignIdScoped:
      name: campaign_id
      in: path
      required: true
      description: Campaign 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:
    CampaignMessage:
      type: object
      required:
        - id
        - title
        - position
        - active
      properties:
        id:
          type: integer
        title:
          type: string
          description: >-
            Server-generated variation name, for example `Control` or `Variation
            A`.
        position:
          type: integer
        active:
          type: boolean
    NotFoundError:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          enum:
            - not_found
  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
    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>`.

````