Skip to content

Get all Contacts

GET

https://api.responsly.com/v1/contacts

Query Parameters

  • list_id (string, optional): Contact List ID
  • type (string, optional): Filters type of contact. Value should be one of unsubscribe, 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

cURL

Terminal window
curl --request GET \
--url 'https://api.responsly.com/v1/contacts' \
--header 'Authorization: Bearer <Access Token>'

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