createContactList
Creates a contact list.
Request
POST https://api.bytehand.com/v2/contact_lists
Body
An object of the type ContactListSeed is required in the request body.
Authorization
Requires authorization and access right contacts_manage.
Response
Upon successful completion of the request, an object of type Response is returned.
Example
Request
POST https://api.bytehand.com/v2/contact_lists Content-Type: application/json;charset=UTF-8 X-Service-Key: ZO0XJngUXZKjlcFNpzXBbw4UriheYwlc { "name": "My Customers", "options": [ "unique_phone", "unique_email" ], "icon": "users" }
Response
Status Code: 200 Content-Type: application/json;charset=UTF-8 Cache-Control: no-cache, no-store, max-age=0, must-revalidate Pragma: no-cache { "result": "created", "id": "18232" }