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

# List a campaign's placement tests

> The campaign's placement tests, newest first, up to 20. `pre_send` tests are the ones you start; `post_send` is the automatic test taken when the campaign is sent. `inbox_pct` is set only for completed tests.



## OpenAPI

````yaml /openapi-v1.json get /v2/placement/campaigns/{campaign_id}/tests
openapi: 3.1.0
info:
  title: Mailercloud Marketing API
  version: 1.0.0
  description: >-
    Campaigns, contacts, lists, segments, automations, and webhooks for the
    Mailercloud Marketing Platform.
servers:
  - url: https://cloudapi.mailercloud.com/v1
security:
  - apiKey: []
tags:
  - name: Campaigns
  - name: Contacts
  - name: Lists
  - name: Tags
  - name: Segments
  - name: Custom Properties
  - name: Senders
  - name: Domains
  - name: Templates
  - name: Automations
  - name: Webhooks
  - name: Webforms
  - name: Inbox Tracker
  - name: Account
paths:
  /v2/placement/campaigns/{campaign_id}/tests:
    get:
      tags:
        - Inbox Tracker
      summary: List a campaign's placement tests
      description: >-
        The campaign's placement tests, newest first, up to 20. `pre_send` tests
        are the ones you start; `post_send` is the automatic test taken when the
        campaign is sent. `inbox_pct` is set only for completed tests.
      operationId: placement-campaign-tests
      parameters:
        - name: campaign_id
          in: path
          required: true
          description: Campaign id, as returned by the Campaigns API (for example `Hws`).
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        test_id:
                          type: string
                        kind:
                          type: string
                          enum:
                            - pre_send
                            - post_send
                        status:
                          type: string
                          enum:
                            - running
                            - complete
                            - failed
                            - refunded
                        started_at:
                          type: string
                          format: date-time
                        completed_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                        inbox_pct:
                          type:
                            - number
                            - 'null'
        '401':
          description: Missing or invalid API key.
        '404':
          description: Campaign or test not found for this account.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Human-readable message.
                  code:
                    type: string
                    enum:
                      - CAMPAIGN_NOT_FOUND
        '503':
          description: Placement testing is not available right now. Nothing was charged.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Human-readable message.
                  code:
                    type: string
                    enum:
                      - PLACEMENT_UNAVAILABLE
      servers:
        - url: https://cloudapi.mailercloud.com
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Your Mailercloud API key (plain text, no Bearer prefix). Create keys in
        Settings → API.

````

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