GET / Contact Segments
GET /v2/segment/all/{listId}
Header
HTTP/1.1
Authorization: Bearer $api_id.$api_secret
Host: api.$app_domain
Accept: application/json
Response
[{
"id": "186999",
"list_id": "6641",
"name": "Segment 2",
"time": "1665178139"
}, {
"id": "186998",
"list_id": "6641",
"name": "Segment 1",
"time": "1665176000"
}]
Error code
HTTP/1.1 404 Not Found
{
"id": "0",
"message": "Error description"
}
Comments
0 comments
Please sign in to leave a comment.