Skip to main content
A contact is a person in your workspace. There is one contact per email address, however many campaigns the person is in, and their profile (name, company, custom fields) is the same in all of them. Every lead carries the contactId of its person, so you can sync people to your CRM once and see which campaigns each of them is in. A lead added just before Contacts reached your workspace can have contactId: null for a few minutes, until it is linked to its person.

Scopes

Upsert contacts

Create or update 1-1,000 people in one call, matched by email (case-insensitive). Nobody is added to a campaign: use Add leads for that.
Response
mode decides what happens to a person who already exists: A missing or empty value never erases a field, in any mode, and an upsert never removes a tag: the tags you send are added to the ones the person has (new ones at the end). To clear a field or remove a tag, use Update a contact: its tags replace the person’s tags. Each contact is checked on its own: one that fails validation (a malformed email, a field that is too long, more than 50 tags, an unknown field) is listed in invalidRows with its index and the reason, and the rest are saved. A contact’s tags are the tags of its leads, with the same rules: up to 50 tags of up to 64 characters each in a request. Since an upsert adds tags to the ones the person has, a person can end up with more than 50. An email repeated in the same request is one person (summary.duplicates). results lists every valid email once, in request order, with its contactId and outcome. Contact storage is unlimited under fair use. If the workspace stores more contacts than fair use covers, new people are not saved (outcome: over_storage_limit, contactId: null) while existing ones are still updated. If nobody in the request can be saved (every valid email is a new person and none of them fit), the request fails with 402 plan_limit_exceeded. Use the chat in the MailBeast dashboard to request more.
A request takes up to 1,000 people and its body is limited to 1 MB. A bigger body fails with 413 request_too_large, before anything is saved: split the people into smaller requests (1,000 people with full profiles and custom fields can exceed 1 MB).

List and filter

Cursor-paginated, newest first.
Response
Filter by search (email, name or company), status, campaignId or domain. limit defaults to 50 (max 100). Keep requesting with ?cursor=meta.nextCursor until meta.hasMore is false.

Get one contact

Update a contact

The change shows in every campaign the person is in, including in emails not yet sent. The fields you send are written as given (null or an empty string clears one); the rest stay. The email cannot change. customFields works by key the same way: a key you send is set, null or an empty string clears that key, and the keys you leave out stay ("customFields": null clears them all). A value of an image or URL field must be an absolute http:// or https:// URL.
Pass the version you read. If the contact changed since, the request fails with 409 contact_version_conflict: read it again and retry.

Delete a contact

Deletes the person everywhere: they leave every campaign (planned emails are canceled) and the workspace. An unsubscribe or a block on the address stays.
While an email to the person is being sent, the request fails with 409 contact_sending_now and a Retry-After header: retry in a few seconds. If one of their campaigns was busy (being paused or resumed) or the person was added to a campaign at the same moment, it fails with 409 contact_delete_conflict. The person may already have left some of their campaigns: retry and the delete finishes.

Webhooks

Webhook events about a lead carry lead.contactId next to lead.id, so the same person reaches you with the same id from every campaign. While a lead is not linked to its person yet (the first minutes after Contacts reached your workspace), the event has no lead.contactId.