Get all Contacts
GET
https://api.responsly.com/v1/contacts
Query Parameters
Section titled “Query Parameters”list_id
(string, optional): Contact List IDtype
(string, optional): Filters type of contact. Value should be one ofunsubscribe
,active
,bounce
.phrase
(string, optional): Search string which will search all the properties of a contact for a matching value.page
(number, optional): Page number to access data from pagination.
Request
Section titled “Request”cURL
curl --request GET \ --url 'https://api.responsly.com/v1/contacts' \ --header 'Authorization: Bearer <Access Token>'
Response
Section titled “Response”{ "items": [ { "id": "Ke1l7rxXZPmDEgdGenN09RaLMvjBk3d6", "email": "example@example.com", "name": "Justyn", "data": "{\"region\": \"SD\", \"rate\": \"9\", \"type\": \"Global\"}", "subscribed_at": "2024-05-22 07:12:27" }, { "id": "VBmeGRpOxvXlJNLXmRNn4M8QK91AkjLq", "email": "example@example.com", "name": "Dandre", "data": "{\"region\": \"SC\", \"rate\": \"k\", \"type\": \"Customer\"}", "subscribed_at": "2024-05-22 07:12:27" }, { "id": "DMZQJbjkRLGr3NYb1VgOw8xp4BK0AvE6", "email": "example@example.com", "name": "Ali", "data": "{\"region\": \"AR\", \"rate\": \"2\", \"type\": \"National\"}", "subscribed_at": "2024-05-22 07:12:27" } ], "pages": 51}
Status Code: 200 OK