mndrAPI Docs
Contacts

Create Contact

Create a new contact.

POST /api/v1/contacts

Create a new contact. Returns 409 if a contact with the same email already exists for your account.

Parameters

ParameterTypeRequiredDescription
emailstringYesEmail address
phonestringNoPhone number (min 3 characters)
firstNamestringNoFirst name
lastNamestringNoLast name
tagsstring[]NoArray of tag strings
customFieldsobjectNoKey-value pairs for custom data
emailSubscriptionStatus"subscribed" | "unsubscribed"NoDefaults to "subscribed"
whatsappSubscriptionStatus"subscribed" | "unsubscribed"NoDefaults to "subscribed"

Example

Request
curl -X POST /api/v1/contacts \
  -H "x-api-key: mndr_..." \
  -H "Content-Type: application/json" \
  -d '{
  "email": "jane@example.com",
  "firstName": "Jane",
  "lastName": "Smith",
  "tags": ["customer", "vip"]
}'
Response (201)
{
  "contact": {
    "id": "uuid",
    "email": "jane@example.com",
    "firstName": "Jane",
    "lastName": "Smith",
    "tags": ["customer", "vip"],
    "emailSubscriptionStatus": "subscribed",
    "whatsappSubscriptionStatus": "subscribed",
    "customFields": {},
    "createdAt": "2026-03-23T12:00:00.000Z",
    "updatedAt": "2026-03-23T12:00:00.000Z"
  }
}

On this page