Create a list

POST/martech/{connection_id}/list

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection

Payload

Mailing List

idstring
Identifier for this list
created_atdate
Date that this list was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
The list's name
descriptionstring
start_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
end_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
user_idstring
The user who created this list (reference to HrisEmployee)
is_activeboolean
addressobject
subjectstring
sender_namestring
sender_emailstring
languagestring
sender_companystring
sender_phonestring

Returns

Mailing List

idstring
Identifier for this list
created_atdate
Date that this list was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
The list's name
descriptionstring
start_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
end_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
user_idstring
The user who created this list (reference to HrisEmployee)
is_activeboolean
addressobject
subjectstring
sender_namestring
sender_emailstring
languagestring
sender_companystring
sender_phonestring
const options = {
  method: 'POST',
  url: 'https://api.unified.to/martech/5de520f96e439b002043d8dc/list',
  headers: {
    authorization: 'bearer .....'
  },
  data: undefined,
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?