Skip to main content
POST
/
api
/
Messages
/
Emails
/
{messageId}
/
UpdateRecordEmail
Update Contact or Candidate Email from Unlinked Mail.
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
}
'

Path Parameters

messageId
integer<int32>
required

Body

application/json
entityType
string | null

The type of record to update: "contact" or "candidate"

recordId
integer<int32>

The ID of the contact or candidate record

email
string | null

The email address to set

emailField
integer<int32>

Which email field to update: 1 for Email1, 2 for Email2

Response

200

OK