Lấy danh sách Journey Token
Tham số
Kiểu dữ liệu
Mô tả
Tham số
Kiểu dữ liệu
Mô tả
Last updated
Last updated
POST $BASE_URL.Zalo/ListJourneys HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 235
{
"filter": {
"date_from": "2026-01-25T10:50:43.820Z",
"date_to": "2026-01-25T10:50:43.820Z",
"is_charged": true,
"journey_id": "text",
"oa_id": "text",
"phone": "text",
"status": "Z"
},
"paging": {
"after": "text",
"before": "text",
"limit": 1,
"sort": "text"
}
}{
"journeys": [
{
"created_at": "2026-01-25T10:50:43.820Z",
"error_code": 1,
"error_message": "text",
"expired_at": "2026-01-25T10:50:43.820Z",
"id": "text",
"is_charged": true,
"journey_id": "text",
"journey_token": "text",
"phone": "text",
"status": "Z",
"updated_at": "2026-01-25T10:50:43.820Z"
}
],
"paging": {
"after": "text",
"before": "text",
"limit": 1,
"next": "text",
"prev": "text",
"sort": "text"
}
}curl --location '$BASE_URL.Zalo/ListJourneys' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
"filter": {
"date_from": "<dateTime>",
"date_to": "<dateTime>",
"journey_id": "<string>",
"phone": "<string>"
},
"paging": {
"after": "<string>",
"before": "<string>",
"limit": "<integer>",
"sort": "<string>"
}
}'{
"journeys": [
{
"created_at": "2019-08-24T14:15:22Z",
"error_code": 0,
"error_message": "string",
"expired_at": "2019-08-24T14:15:22Z",
"id": "string",
"is_charged": true,
"journey_id": "string",
"journey_token": "string",
"phone": "string",
"status": "Z",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"paging": {
"after": "string",
"before": "string",
"limit": 0,
"next": "string",
"prev": "string",
"sort": "string"
}
}