Khởi tạo 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/CreateJourney HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"oa_id": "text",
"phone": "text",
"token_type": "unknown"
}{
"created_at": "2026-02-03T10:40:18.510Z",
"error_code": 1,
"error_message": "text",
"expired_at": "2026-02-03T10:40:18.510Z",
"id": "text",
"is_charged": true,
"journey_id": "text",
"journey_token": "text",
"phone": "text",
"status": "Z",
"updated_at": "2026-02-03T10:40:18.510Z"
}curl --location '$BASE_URL.Zalo/CreateJourney' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
"oa_id": "<int64>",
"phone": "<string>",
"token_type": "unknown"
}'{
"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"
}