Add Leads via FNM File

Use this API call to Add Leads via FNM File

POST /import/fnm/lead

To import a lead from a FNM file, send an authorized POST request to  https://secure.setshape.com/api/import/fnm/lead

Parameters

This API endpoint accepts FNM files named ”myfile” and must be a .fnm file extension.

  • myfile (required)

    Parameter — Attach your .fnm file to this parameter

Request Header

The authentication token should be passed in the request header for every API request. 

Response

Upon success, the server returns HTTP codes and messages in the header with some additional elements and properties that are set by the server, such as id.

{
    "message": "Fnm imported successfully",
    "lead_id": 60787
}

How to Get Field Names

Field names can be found within your CRM System’s settings pages under: Settings >Marketing Sources > Edit Any Marketing Source > Campaign Source Post URL Instructions.

After navigating to the marketing sources settings page and opening up a campaign, scroll to the bottom of the page to the “Campaign Source Post URL Instructions” section. Here, you will find a searchable table with a breakdown of all of the field names available for use. These field names can also be exported to a CSV via the “Export” dropdown.

Get in Touch

Our team of experts are here to help! Call our sales line at (888) 762-7211

Download

Contact Sales