cURL
curl --request POST \ --url https://api.example.com/api/Messages/Emails/{messageId}/UpdateRecordEmail \ --header 'Content-Type: application/json' \ --data ' { "entityType": "<string>", "recordId": 123, "email": "<string>", "emailField": 123 } '
Updates the email field of a contact or candidate from an unlinked mail record and marks the mail as processed.
The type of record to update: "contact" or "candidate"
The ID of the contact or candidate record
The email address to set
Which email field to update: 1 for Email1, 2 for Email2
OK
Was this page helpful?