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

# List campaign messages

> Public messages donors left for this campaign, newest first, each with the part of the donation attributed to the campaign. Includes donations made through any config that names the campaign. A hidden campaign answers 404, the same as an unknown id. Public: no API key is needed. Send one to use your organization's rate limit.



## OpenAPI

````yaml /openapi.json get /v2/campaigns/{campaignId}/messages
openapi: 3.1.1
info:
  title: Donate API
  version: 2.0.0
  description: >-
    Find charities and campaigns, create donation configs, and read what coins
    and donors have given. Every path starts with its version. Build on `/v2`.
    Its responses hold their own resource and references `{ type, id }` to
    others; every list is `{ items, nextCursor }`; amounts are integer strings
    whose name carries the unit (`UsdE6`, `Atomic`); and every error is `{
    "code": string, "message": string }`. `/v1` is the earlier surface: it keeps
    working, knows only charities, and has its own shapes and error body (`{
    "error": string, "code": string }`). Public reads work without a key and are
    rate limited per IP address; send `donate-api-key` to use the rate limit of
    your organization, which all its keys share. Creating and listing configs,
    reading project analytics and requesting a charity require the key.
servers:
  - url: https://api.donate.gg/api
    description: Every operation path starts with its version.
security: []
tags:
  - name: Beneficiaries
    description: >-
      A beneficiary is something a donation can pay: a charity or a campaign.
      Search for one to name in a config, or resolve the references a config or
      a coin holds into what to show.
  - name: Charities
    description: Registered non-profits listed on Donate.
  - name: Campaigns
    description: >-
      Fundraisers created on Donate or imported from a provider, their donation
      messages and their deposit addresses.
  - name: Configs
    description: >-
      A config is a permanent split: the beneficiaries a donation pays and the
      weight each receives. A donation is made against a config id.
  - name: Coins
    description: >-
      A coin is a token whose fees donate through a config: who it pays, what it
      has given, and how it ranks.
  - name: Donations
    description: >-
      The state of a donation that crosses chains. The donations a charity or a
      campaign has received are listed under Charities and Campaigns.
  - name: Charity requests
    description: >-
      Find a charity in an official register and ask Donate to list it when it
      is not listed yet.
  - name: Reference data
    description: Supported chains and campaign categories.
  - name: Users
    description: People with a Donate profile.
paths:
  /v2/campaigns/{campaignId}/messages:
    get:
      tags:
        - Campaigns
      summary: List campaign messages
      description: >-
        Public messages donors left for this campaign, newest first, each with
        the part of the donation attributed to the campaign. Includes donations
        made through any config that names the campaign. A hidden campaign
        answers 404, the same as an unknown id. Public: no API key is needed.
        Send one to use your organization's rate limit.
      operationId: listCampaignMessages
      parameters:
        - name: campaignId
          in: path
          required: true
          schema:
            type: string
            description: The `id` of a campaign.
        - name: limit
          in: query
          schema:
            type: number
            default: 25
            description: Page size, 1 to 50. Default 25.
          allowReserved: true
        - name: cursor
          in: query
          schema:
            type: string
            description: >-
              The `nextCursor` of the previous page, sent with the same filters
              and sort. Any other value is rejected.
          allowReserved: true
        - name: donate-api-key
          in: header
          required: false
          schema:
            type: string
          description: >-
            Optional. Your API key. With it the request counts against your
            organization's rate limit; without it, against the limit of your IP
            address.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        status:
                          enum:
                            - pending
                            - settled
                          type: string
                        message:
                          type: string
                        donor:
                          type: object
                          properties:
                            chainId:
                              type: number
                              description: >-
                                Chain id. 101 is Solana; EVM chains use their
                                EIP-155 id.
                            address:
                              type: string
                            name:
                              anyOf:
                                - type: string
                                - type: 'null'
                              description: >-
                                The name to show. On a donation a coin made, the
                                coin's name. Null when there is none: show the
                                address.
                            imageUrl:
                              anyOf:
                                - type: string
                                  description: An absolute http or https URL.
                                - type: 'null'
                            url:
                              anyOf:
                                - type: string
                                  description: An absolute http or https URL.
                                - type: 'null'
                              description: >-
                                The wallet owner's page on Donate, when there is
                                one.
                          required:
                            - chainId
                            - address
                            - name
                            - imageUrl
                            - url
                        coin:
                          anyOf:
                            - type: object
                              properties:
                                chainId:
                                  type: number
                                  description: >-
                                    Chain id. 101 is Solana; EVM chains use
                                    their EIP-155 id.
                                address:
                                  type: string
                              required:
                                - chainId
                                - address
                            - type: 'null'
                          description: >-
                            Set when a coin's fees made the donation. Null for a
                            donation a person made.
                        amountAtomic:
                          type: string
                          description: >-
                            The part of the donation attributed to the charity
                            or campaign whose messages these are, in units of
                            `token`.
                        token:
                          type: object
                          properties:
                            chainId:
                              type: number
                              description: >-
                                Chain id. 101 is Solana; EVM chains use their
                                EIP-155 id.
                            address:
                              type: string
                            symbol:
                              anyOf:
                                - type: string
                                - type: 'null'
                              description: >-
                                The ticker. Null for a token whose name Donate
                                does not show.
                            decimals:
                              type: number
                          required:
                            - chainId
                            - address
                            - symbol
                            - decimals
                        amountUsdE6:
                          type: string
                          description: The same part, in US dollars.
                        donatedAt:
                          type: string
                          description: >-
                            RFC 3339 instant in UTC, such as
                            2026-11-19T09:12:04.118Z.
                        unconfirmedAt:
                          anyOf:
                            - type: string
                              description: >-
                                RFC 3339 instant in UTC, such as
                                2026-11-19T09:12:04.118Z.
                            - type: 'null'
                          description: >-
                            Set while the chain no longer shows the donation as
                            final. Until that clears, the donation is left out
                            of `stats`.
                      required:
                        - id
                        - status
                        - message
                        - donor
                        - coin
                        - amountAtomic
                        - token
                        - amountUsdE6
                        - donatedAt
                        - unconfirmedAt
                  nextCursor:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - items
                  - nextCursor
              example:
                items:
                  - id: cmrpkayih000a04ky4kc4pu57
                    status: settled
                    message: Kintara Wishing Well
                    donor:
                      chainId: 101
                      address: ExampLeWa11et1111111111111111111111111111111
                      name: null
                      imageUrl: null
                      url: null
                    coin: null
                    amountAtomic: '13346508'
                    token:
                      chainId: 101
                      address: So11111111111111111111111111111111111111112
                      symbol: SOL
                      decimals: 9
                    amountUsdE6: '1000184'
                    donatedAt: '2026-07-17T23:21:25.000Z'
                    unconfirmedAt: null
                nextCursor: null
        '400':
          description: >-
            `VALIDATION_ERROR`: The request is invalid. `INVALID_CURSOR`: This
            cursor is not valid for this request. Start again without a cursor.
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      code:
                        enum:
                          - VALIDATION_ERROR
                        type: string
                      message:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: string
                            code:
                              enum:
                                - required
                                - invalid
                                - too_small
                                - too_large
                                - unknown
                                - duplicate
                              type: string
                            message:
                              type: string
                          required:
                            - path
                            - code
                            - message
                    required:
                      - code
                      - message
                  - type: object
                    properties:
                      code:
                        enum:
                          - INVALID_CURSOR
                        type: string
                      message:
                        type: string
                    required:
                      - code
                      - message
        '401':
          description: >-
            `UNAUTHENTICATED`: An API key was sent and is not valid. A request
            without a key is never answered 401 here.
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - message
                properties:
                  code:
                    type: string
                    enum:
                      - UNAUTHENTICATED
                  message:
                    type: string
              example:
                code: UNAUTHENTICATED
                message: This API key is not valid.
        '404':
          description: '`NOT_FOUND`: Not found.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    enum:
                      - NOT_FOUND
                    type: string
                  message:
                    type: string
                required:
                  - code
                  - message
        '429':
          description: >-
            `RATE_LIMIT_EXCEEDED`: Too many requests. Wait for the time in the
            Retry-After header.
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - message
                properties:
                  code:
                    enum:
                      - RATE_LIMIT_EXCEEDED
                    type: string
                  message:
                    type: string
              example:
                code: RATE_LIMIT_EXCEEDED
                message: >-
                  Too many requests. Wait for the time in the Retry-After
                  header.
      security: []

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.