Get Journey Token Details
Body
journey_idstring · int64Optional
oa_idstring · int64Optional
Responses
200
A successful response
application/json
post
$BASE_URL.Zalo/GetJourneyPOST $BASE_URL.Zalo/GetJourney HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 36
{
"journey_id": "text",
"oa_id": "text"
}200
A successful response
{
"created_at": "2025-11-01T02:53:13.979Z",
"error_code": 1,
"error_message": "text",
"expired_at": "2025-11-01T02:53:13.979Z",
"id": "text",
"is_charged": true,
"journey_id": "text",
"journey_token": "text",
"phone": "text",
"status": "Z",
"updated_at": "2025-11-01T02:53:13.979Z"
}Request:
curl --location '$BASE_URL.Zalo/GetJourney' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
"journey_id": "<string>"
}'Response:
{
"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"
}Request body structure
Parameters
Data type
Describe
id
int64
OA ID
journey_id
int64
Journey ID
Return data attribute structure
Parameters
Data type
Describe
id
int64
Journey ID on eTelecom system
journey_id
string
Journey ID
journey_token
string
Trip code activated
expires_at
string<date-time>
Expiration time
phone
string
Recipient phone number
status
string
Status
Z: Newly created
P: Enable
N: Disable
error_code
int
Error code
error_message
string
Error information
is_charged
bool
To charge or not to charge
updated_at
string<date-time>
Update time
created_at
string<date-time>
Creation time
Last updated