---
title: "Send test email"
method: POST
path: "/3.0/campaigns/{campaign_id}/actions/test"
tags: ["campaigns"]
---

# Send test email

`POST /3.0/campaigns/{campaign_id}/actions/test`

## Request

- Base URL: `https://api.mailchimp.com`
- URL: `https://api.mailchimp.com/3.0/campaigns/{campaign_id}/actions/test`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://login.mailchimp.com/oauth2/authorize`
    - Token URL: `https://login.mailchimp.com/oauth2/token`
- TypeScript: <https://skmtc.dev/mailchimp/apis/mailchimp-api/docs/3.0/campaigns/:campaign_id/actions/test/post.ts> (a function with typed inputs; its response is checked against the schema)

Send a test email.

## Path parameters

- `campaign_id` string, required

## Request body

- object
  - `send_type` 'html' | 'plaintext', required: Choose the type of test email to send.
  - `test_emails` string[], required: An array of email addresses to send the test email to.

## Response `204`

Empty Response

## Other responses

- `default`: An error generated by the Mailchimp API.

---

[API](https://skmtc.dev/mailchimp/apis/mailchimp-api.md) - [All operations](https://skmtc.dev/mailchimp/apis/mailchimp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mailchimp/apis/mailchimp-api/revisions/53bf4b156855?raw)
