Endpoint: GET /contact/list
curl -u "your_email:your_api_key" \
"https://gate.smsid.pro/v2/contact/list?groupId=123&page=1"
Пример ответа:
{
"success": true,
"data": {
"0": {
"id": 67890,
"number": "79131234567",
"groupId": 12345,
"firstName": "Иван",
"lastName": "Петров",
"birthday": "1985-06-15",
"sex": 1,
"dateCreate": 1640995200
},
"1": {
"id": 67891,
"number": "79131234568",
"groupId": 12345,
"firstName": "Мария",
"lastName": "Иванова",
"birthday": "1990-03-22",
"sex": 2,
"dateCreate": 1640995300
},
"links": {
"self": "/v2/contact/list?groupId=123&page=1",
"first": "/v2/contact/list?groupId=123&page=1",
"prev": "",
"next": "/v2/contact/list?groupId=123&page=2",
"last": "/v2/contact/list?groupId=123&page=4"
}
},
"message": null
}