Upsert a contact record by email

Update an existing record or insert a new contact record using the email address that you specify using the following logic:

  • If the email address exists in the list, only the first record matching that email address is updated with the data you provide.
  • If the email address is not already in the list, a new record is added.

Please take note that this means that any duplicate records are NOT updated.


Name Parameter
Data Type Description
Authorization: Header False Required String (Bearer {access token}) Pass the authentication token that was granted when you authorized access
listid Path False Required String The listid of the list.
email Query False Required String The email address of the contact to update.
async Query N Optional String Defines whether this request is synchronous or asynchronous. The endpoint is synchronous by default, but with some very large lists may timeout. If a list you are working with is timing out when using this endpoint, this can be set to "Y" or "y" for an async response.
Body False Required String A JSON object with name/value pairs that represent the information to be updated or inserted. Example: {"firstname":"John", "lastname":"Smith"}






Default synchronous response:

A successful request results in an HTTP 200 response with a JSON object like the following:

Asynchronous response:

The jobId can then be exchanged for a result using the Get List Upload Status endpoint


Grant Type Password
Grant Type Code
Grant Type Refresh
Account API
Get account information
Create new account user
Delete account users
Delete account user
Get email senders
Fact API
Upload custom events
Get upload custom event status
List API
Get listing of lists
Download a list
Create a new list
Update or merge a list
Get list upload status
Get rejected records from an upload
Delete a list
Delete records from a list
Get hard bounce list
Get spam complaint list
Get Opt-Out List
Update Out-Out List
Get Subscription Opt-Outs by Category
Content API
Get Logo List
Get a logo
Add a logo
Update a logo
Delete a logo
Get header list
Get a header
Add a header
Update a header
Delete a header
Get footer list
Get a footer
Add a new footer
Delete a footer
Update a footer
Get image list
Get an image
Add an image
Replace an image
Delete an image
Get media list
Get media file
Add a media file
Add a media link
Update Media File
Delete a media object
Get form list
Get promotional form URLs
Get page list
Get page
Delete page
Get promotional page URLs
Get list of programs
Reporting API
Get message report
Get message report drilldown
Get message report by time period
Get media report
Get media message report
Get a media view report
Get a media timeline report
Get form report
Get page report
Get spam complaint list
Get hard bounce list
Email Campaign API
Get message list
Send a message
Resend a message
Add new template or draft message
Update template or draft message
Delete a message
Get message report
Get message report drilldown
Get message report by time period
Get message HTML contents
Contact API
Add a contact
Get contact record
Upsert a contact record by email
Update a contact by record ID
Delete a contact
Get contact record ID based on cookie value
Get contact from list based on cookie ID or e-mail
Get contact fact and score data
Get subscription categories
Opt in/Opt out subscription category by email address
Get subscription category opt-ins by email
Opt in/Opt out multiple subscription categories by email address
Get SEO keywords
Get a new SEO report
Frequently Asked Questions