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
Host:
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"oa_id": "text",
"phone": "text"
}{
"created_at": "2026-01-25T10:36:17.582Z",
"error_code": 1,
"error_message": "text",
"expired_at": "2026-01-25T10:36:17.582Z",
"id": "text",
"is_charged": true,
"journey_id": "text",
"journey_token": "text",
"phone": "text",
"status": "Z",
"updated_at": "2026-01-25T10:36:17.582Z"
}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>"
}'{
"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"
}