Set a field on a campaign contact

PATCH
/advanced/contacts

Sets one field of a contact that belongs to the campaign, found by email OR linkedinUrlProfile (exactly one of them). Spaces are removed from fieldName. If fieldName is a native field of the contact (for example firstName, jobTitle, companyName) it is overwritten, otherwise a custom variable is created or updated.

Authorization

apiKey
Authorization<token>

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 PATCH "https://example.com/advanced/contacts" \  -H "Authorization: YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "campaignId": "6650f1a2b839d80011c5a0f1",    "email": "john.doe@acme.com",    "fieldName": "meetingLink",    "fieldValue": "https://cal.example.com/john"  }'
{  "success": true}