In the MainBrainer CRM, contact information is stored under a contact as the contact’s various properties. This endpoint returns the different property heads (property IDs along with the property names) under which contact information is stored for the specified contact list.
Success
Bad Request
Unauthorized
Conflict
Client Error
Server Error
import fetch from 'node-fetch'; async function run() { const listid = 'YOUR_listid_PARAMETER'; const resp = await fetch( `https://apicrm.mainbrainer.com/list/${listid}/propertyfields`, { method: 'GET', headers: { Authorization: 'YOUR_API_KEY_HERE' } } ); const data = await resp.text(); console.log(data); } run();
[- {
- "propertyId": "string",
- "propertyName": "string",
- "personalizationTag": "string"
}
]