# Connect

Connect a Mailchimp account to a profile with an API key, from the dashboard or with the API.

Mailchimp is connected with an API key. You create the key in Mailchimp and send it to Zernio, which checks it before saving the account.

## Connect with an API key

Send the key for a profile:

```bash
curl -X POST "https://zernio.com/api/v1/connect/mailchimp/credentials" \
  -H "Authorization: Bearer $ZERNIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "profileId": "PROFILE_ID",
    "apiKey": "MAILCHIMP_API_KEY-us6"
  }'
```

```json
{ "accountId": "6507a1b2c3d4e5f6a7b8c9d0", "mailchimpAccountId": "8d3a3db4d97663a9074efcc16", "accountName": "Example Store" }
```

| Field | Where to find it |
|-------|------------------|
| `apiKey` | An API key from your profile, **Extras**, **API keys** in Mailchimp. It ends with its data center, such as `-us6`. Required. |
| `name` | A display name for the account, up to 100 characters. Optional: Zernio uses the account name from Mailchimp. |

In the dashboard, open **Connections**, pick **Mailchimp** and paste the same key.

## How it behaves

- Zernio reads the key's Mailchimp account once to check it. Nothing is saved unless Mailchimp accepts the key.
- New contacts are added as transactional, which counts toward your Mailchimp plan's contact limit.
- Every audience of the account is a destination. List them with `GET /v1/ads/conversions/destinations`, and pick one in a forwarding rule.
- A profile holds one Mailchimp account. Connecting the same account again replaces its key.
- Every call on this page is also a tool on the [Zernio MCP server](/mcp/tools).

## If it fails

| Error | Cause | Fix |
|-------|-------|-----|
| `400` on `apiKey` | The key does not end with its data center | Copy the whole key, including the `-us6` part. |
| `401` with `invalid_credentials` | Mailchimp refused the key | Create a new key and connect again. |
| `402` | The account cannot connect more accounts on its plan | Upgrade the plan or remove an account. |
| `403` | The Ads add-on is off | Turn on the Ads add-on, then connect. |
| `409` with `profile_platform_conflict` | The profile already has another Mailchimp account | Disconnect it first, or use another profile. |
| `502` with `platform_api_error` | Mailchimp could not confirm the key right now; nothing was saved | Retry in a minute. |

## Related

- [Connect a Mailchimp account](/connect/connect-mailchimp-credentials)
- [List conversion destinations](/conversions/list-ad-conversion-destinations)
- [Conversions](/platforms/mailchimp/conversions)