Email campaigns

The routes of the previous email only campaigns. Deprecated, still working for existing integrations.

Deprecated

These routes manage the email only campaigns of the previous system. They keep working, but new integrations should create Campaigns with EMAIL steps: same sending engine, plus LinkedIn, conditions and tracking per step.

What you can still do

NeedRoute
List or read the legacy email campaignsList campaigns, Get a campaign
Feed a running legacy campaignAdd a contact, Add a contact to a list
Update one field of a contactSet a contact field
Read the resultsGet activities, Get statistics
POST/emails/campaign/contacts
curl -X POST https://api.emelia.io/emails/campaign/contacts \
  -H "Authorization: $EMELIA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id": "6650f1a2b839d80011c5a0f1", "contact": {"email": "claire.fontaine@nexora.io", "firstName": "Claire", "lastName": "Fontaine"}}'

The contact goes to a list named after the campaign. Keys other than email, firstName, lastName and phoneNumber become custom variables. A finished campaign starts again, a running one schedules the contact at once, and an email already in the campaign is refused.

Good to know

  • The listing of contacts pages from page=0 and answers { success, list, count }. Its event filter must be an array: event[]=REPLIED.
  • PATCH .../settings/global replaces the whole schedule. minInterval and maxInterval are in seconds, dailyLimit must be at least dailyContact.
  • The steps are an ordered array. Every step after the first needs delay.amount above 0.
  • GET /stats answers 401 for an unknown campaign, and a flat summary unless detailed=true.

On this page