Get all the contacts
Changed onRequest
- Base URL: https://api.brevo.com/v3
- URL: https://api.brevo.com/v3/contacts
- Auth: one of:
- API key in header api-key
- API key in header partner-key
Query parameters
Number of documents per page
Index of the first document of the page
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.
Filter (urlencoded) the contacts created 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 the results in the ascending/descending order of record creation. Default order is descending if sort is not passed
Id of the segment. Either listIds or segmentId can be passed.
Ids of the list. Either listIds or segmentId can be passed.
Filter the contacts on the basis of attributes. Allowed operator: equals. (e.g. filter=equals(FIRSTNAME,"Antoine"), filter=equals(B1, true), filter=equals(DOB, "1989-11-23"))
Response
All contacts listed
Example response
{
"contacts": [
{
"email": "john.smith@example.com",
"id": 32,
"smsBlacklisted": true,
"createdAt": "2017-05-12T12:30:00Z",
"modifiedAt": "2017-05-12T12:30:00Z",
"attributes": {
"name": "Joe",
"email": "joe@example.com"
}
}
],
"count": 17655
}Changes
- info
added the new optional
queryrequest parameterfilter - info
added the new optional
queryrequest parameterlistIds - info
added the new optional
queryrequest parametersegmentId
- info
- warning
deleted the
queryrequest parameterfilter - warning
deleted the
queryrequest parameterlistIds - warning
deleted the
queryrequest parametersegmentId
- warning