Get all the contacts
GET {{baseUrl}}/contacts?limit=50&offset=0&modifiedSince=2022-02-01T00:00:00.000&sort=desc
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
limit | number | Number of documents per page | |
offset | number | Index of the first document of the page | |
modifiedSince | string | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | |
sort | string | Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"contacts":[{"email":"contact1@example.com","id":247,"emailBlacklisted":true,"smsBlacklisted":true,"createdAt":"2017-05-01T17:05:03.000Z","modifiedAt":"2017-05-01T17:05:03.000Z","listIds":[43,58],"attributes":{"SMS":"33058407250","IDENTIFICATION":"1-3RHQ-259","CIV":"MS","LAST_NAME":"Brennon","FIRST_NAME":"Meg","DOB":"1986-05-02T00:00:00.000Z","ADDRESS":"1 5th avenue","ZIP_CODE":"44300","CITY":"New-York","ACTION_CODE":"17HH98CH"}},{"email":"33058407248@mailin-sms.com","id":245,"emailBlacklisted":true,"smsBlacklisted":false,"createdAt":"2017-05-01T17:05:03.000Z","modifiedAt":"2017-05-01T17:05:03.000Z","listIds":[43,61,58],"attributes":{"SMS":"33058407248","IDENTIFICATION":"1-78JS-432","CIV":"MS","LAST_NAME":"Press","FIRST_NAME":"Sophia","DOB":"1980-09-11T00:00:00.000Z","ADDRESS":"5 Flower Street","ZIP_CODE":"44119","CITY":"Seattle","ACTION_CODE":"17HU765"}}],"count":3}