Add Leads via FNM File

Import a record from a Fannie Mae (FNM) file. This endpoint uses multipart form-data.

POSThttps://secure-api.setshape.com/api/import/fnm/lead/{crmid}

Replace {crmid} with your Shape system ID — found on the API Integrations page. Every request also needs your auth header — see Using Shape APIs.

This request must be multipart/form-data. Send the file in the myfile field.

Body parameters

Field Description
myfile The FNM file to import.

Example request

curl -X POST https://secure-api.setshape.com/api/import/fnm/lead/{crmid} 
  -H "Authorization: {YOUR_API_AUTHORIZATION_KEY}" 
  -F "myfile=@example.fnm"

Example response

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