Contacts
Get contacts from a segment
Changed onThe method is used to search for all contacts in a segment.
get/api/v1/group/{id}/contacts
Request
- Base URLhttps://api.reteno.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Segment ID
Query parameters
startindexinteger
The index of the first contact returned from the search result.<br/>Numbering starts at 1
maxrowsinteger
Maximum number of contacts to return (max. 500)
orderByTsboolean
Order by the time of addition to the segment.
ascboolean
Sort in ascending (ASC) or descending (DESC) order.
Response
Example response
[
{
"firstName": "John",
"lastName": "Smith",
"channels": [
{
"device": {
"appId": "83b77a49-fc28-409b-aeaa-68c9d544ab9d",
"deviceModel": "iPhone 16 Pro",
"os": "iOS",
"locale": "en_UK",
"clientVersion": "1.6.8",
"appVersion": "1.23.45"
}
}
],
"address": {
"region": "Occitanie",
"town": "Toulouse",
"address": "Rue Imaginaire, 456",
"postcode": "31000",
"countryCode": "FR"
},
"fields": [
{
"id": 79814,
"value": "textfield"
}
],
"addressBookId": 7200,
"id": 23456789,
"externalCustomerId": "TV12790",
"groups": [
{
"id": 200400
}
],
"languageCode": "en",
"timeZone": "Europe/London",
"marketId": "kyiv"
}
]Changes
- warning
added the new
inappenum value to the///response property for the response status - warning
added the new
telegrambotenum value to the///response property for the response status - info
removed the
inapptelegrambotenum value from the///response property for the response status
- warning