Create a user data file
Start by navigating to the Extensions section of the Dashboard and open the User Import / Export Extension. On the extension page, select Export from the menu. Next, set the Export Format to the required file format. Marketo accepts file imports in CSV format so choose theTab Separated Value file (*.csv) option.
At the top in the Fields section, provide a User Field and Column Name for each user attribute to include in the export. For example:
After adding the user fields, click on the Export Users button to start the export. Once the export is complete, download the CSV file to use in the following section.
Import a user data file
Before you get started, you can find more information by visiting Marketo Documentation: Bulk Lead Import. To import the user data file to Marketo, perform a POST request to the Bulk Leads endpoint. Set the content-type header of the request tomultipart/form-data and include a file parameter with your exported CSV file as well as format parameter set to csv. For example:
The response should look something like this:
batchId. For example:
And the response: