Add a contact to a campaign
Adds ONE contact to a multichannel campaign. The contact is stored in a list named " contacts from API" (created if needed) attached to the campaign. If the campaign is FINISHED it is started again automatically (all start checks apply); if it is RUNNING the contact is scheduled immediately. A contact already present in that list (same email or LinkedIn URL) is rejected. For many contacts, use the Lists endpoints and PATCH .../recipients instead.
Authorization
apiKey Your 48 character API key, sent as is (a Bearer prefix is tolerated). Create it at https://v3.emelia.io/settings/api.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/advanced/campaign/contacts" \ -H "Authorization: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "id": "6650f1a2b839d80011c5a0f1", "contact": { "email": "john.doe@acme.com", "firstName": "John", "lastName": "Doe", "linkedinUrlProfile": "https://www.linkedin.com/in/johndoe", "companyName": "Acme", "jobTitle": "Head of Sales" } }'{ "success": true, "contactId": "6650f1a2b839d80011c5d001"}