Skip to main content
PATCH
Set a contact's primary email and/or phone

Authorizations

Authorization
string
header
required

Your API token (af_…) as the Basic-auth username, with an empty password.

Path Parameters

contactId
string
required

Id of the contact: the row id from GET /business/lists/{listId}/rows, or the contactId returned by POST /business/contacts/resolve.

Body

application/json
primaryEmail
string<email>

Email address to make the contact's primary email (a valid address, max 320 characters). It must be one of the emails the contact already carries: this promotes an existing value and never adds a new one.

Maximum string length: 320
primaryPhone
string

Phone number to make the contact's primary phone (3-32 characters, written exactly as it appears in the contact's phones). It must be one of the phone numbers the contact already carries: this promotes an existing value and never adds a new one.

Required string length: 3 - 32

Response

Success

contact
object
required