---
title: "Add a contact to an email campaign"
method: POST
path: "/emails/campaign/contacts"
tags: ["Email campaigns (legacy)"]
deprecated: true
---

# Add a contact to an email campaign

`POST /emails/campaign/contacts`

## Request

- Base URL: `https://api.emelia.io`
- URL: `https://api.emelia.io/emails/campaign/contacts`
- Auth: API key in header `Authorization`

> **Deprecated.**

Adds one contact to the campaign (id). The contact is appended to a dedicated list named '<campaign name> from Zapier/Integromat/n8n Hooks'. Any extra key in contact beyond email/firstName/lastName/phoneNumber is stored as a custom variable. Side effects: if the campaign is FINISHED it is restarted (status RUNNING); if RUNNING the contact is scheduled immediately. Fails if the email is already in the campaign. New integrations should use the multichannel /advanced campaign endpoints instead.

## Request body

- object
  - `id` string, required: Campaign ObjectId.
  - `contact` object, required
    - `email` string, email, required
    - `firstName` string
    - `lastName` string
    - `phoneNumber` string

## Response `200`

Contact added.

- object
  - `success` true, required

## Other responses

- `400`: Business or validation error. 400 by default; Joi validation errors carry code INVALID_REQUEST.

---

[API](https://skmtc.dev/emelia/apis/emelia-api.md) · [All operations](https://skmtc.dev/emelia/apis/emelia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/emelia/apis/emelia-api/revisions/8c0cb435f2c4?raw)
