Update email invalid field in Marketo through API | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Darshil_Shah1
Darshil_Shah1Accepted solution
Community Manager
August 31, 2023

Use the Sync lead POST API endpoint for this. If you don't intend to create new people in this process, I'd recommend you set the action parameter to updateOnly (default is createOrUpdate). Below is a sample request body for your reference. You can also use Id, certain available system fields, or any other custom field as the lookupField (default is email).

 

{ "action":"updateOnly", "lookupField":"email", "input":[ { "email":"someemail@example.com", "emailInvalid":false } ] }

 

You can also explore Marketo's Bulk Import API if you wish to perform this update for a large number of records. The above regular non-bulk API allows updating only up to 300 records in a single call.

1 reply

Darshil_Shah1
Darshil_Shah1Accepted solution
Community Manager
August 31, 2023

Use the Sync lead POST API endpoint for this. If you don't intend to create new people in this process, I'd recommend you set the action parameter to updateOnly (default is createOrUpdate). Below is a sample request body for your reference. You can also use Id, certain available system fields, or any other custom field as the lookupField (default is email).

 

{ "action":"updateOnly", "lookupField":"email", "input":[ { "email":"someemail@example.com", "emailInvalid":false } ] }

 

You can also explore Marketo's Bulk Import API if you wish to perform this update for a large number of records. The above regular non-bulk API allows updating only up to 300 records in a single call.

Translate