Get Contact List Properties

Retrieve all the property fields that exist in the specified contact list.

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.

Request
Security:
Bearer
path Parameters
listid
required
string <uuid>

The contact list ID whose property fields you wish to retrieve.

Responses
200

Success

400

Bad Request

401

Unauthorized

409

Conflict

422

Client Error

500

Server Error

get/list/{listid}/propertyfields
Request samples
const fetch = require('node-fetch');

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);
Response samples
[
  • {
    • "propertyId": "string",
    • "propertyName": "string",
    • "personalizationTag": "string"
    }
]