Create a contact list
POST
https://api.responsly.com/v1/lists
Body parameters
Section titled “Body parameters”name
(string, required): Name of the contact listcustom_fields
(array of strings, optional): Custom fields associated with the contact list. Example:["phone", "city"]
Request
Section titled “Request”cURL
curl --request POST \ --url 'https://api.responsly.com/v1/lists' \ --header 'Authorization: Bearer <Access Token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "My Contact List", "custom_fields": [ "phone", "city" ] }'
Response
Section titled “Response”The response includes the id of the created contact list.
{ "id": "gjNDn3B2a1dR9X6wj7QvKEAbL0YO124sa8G"}
Status Code: 200 OK