Lấy thông tin chi tiết Journey Token

GetJourney

post
Body
journey_idstring · int64Optional
oa_idstring · int64Optional
Responses
200

A successful response

application/json
post
/v1/shop.Zalo/GetJourney
POST /v1/shop.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-12-06T04:00:06.155Z",
  "error_code": 1,
  "error_message": "text",
  "expired_at": "2025-12-06T04:00:06.155Z",
  "id": "text",
  "is_charged": true,
  "journey_id": "text",
  "journey_token": "text",
  "phone": "text",
  "status": "Z",
  "updated_at": "2025-12-06T04:00:06.155Z"
}

Request:

curl --location '$BASE_URL/v1/shop.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"
}

Cấu trúc body của request

Tham số
Kiểu dữ liệu
Mô tả

oa_id

int64

ID của OA

journey_id

int64

ID của journey

Cấu trúc thuộc tính dữ liệu trả về

Tham số
Kiểu dữ liệu
Mô tả

id

int64

ID của journey trên hệ thống của SenCloud

journey_id

string

ID của journey

journey_token

string

Mã hành trình được kích hoạt

expires_at

string<date-time>

Thời gian hết hạn

phone

string

Số điện thoại người nhận

status

string

Trạng thái Z: Mới tạo P: Enable N: Disable

error_code

int

Mã lỗi

error_message

string

Thông tin lỗi

is_charged

bool

Tính phí hay không tính phí

updated_at

string<date-time>

Thời gian cập nhật

created_at

string<date-time>

Thời gian tạo

Last updated