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 CRM ID, the Shape system ID that belongs to your API key. Send your Authorization: YOUR_API_AUTHORIZATION_KEY header. See Authentication.This request must be
multipart/form-data. Send the file in the myfile field.Body parameters
| Field | Requirement | Description |
|---|---|---|
myfile |
Required | The FNM file to import. |
Example request
curl --request POST
--url "https://secure-api.setshape.com/api/import/fnm/lead/YOUR_CRM_ID"
--header "Authorization: YOUR_API_AUTHORIZATION_KEY"
--form "myfile=@example.fnm"
Example response
{
"message": "Fnm imported successfully",
"lead_id": 281944
}