Gửi ZNS với 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/SendZNSJourney HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 139
{
"journey_id": "text",
"oa_id": "text",
"phone": "text",
"template_data": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"template_id": 1,
"tracking_id": "text"
}{
"campaign_id": "text",
"created_at": "2026-01-25T10:50:43.848Z",
"delivery_status": "unknown",
"delivery_time": "2026-01-25T10:50:43.848Z",
"error_code": 1,
"error_message": "text",
"fee_main": 1,
"fee_token": 1,
"feedback": [
"text"
],
"id": "text",
"is_charged": true,
"journey_id": "text",
"msg_id": "text",
"note": "text",
"oa_id": "text",
"phone": "text",
"rate": 1,
"sent_time": "2026-01-25T10:50:43.848Z",
"shop_id": "text",
"status": "Z",
"submit_time": "2026-01-25T10:50:43.848Z",
"template_data": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"template_id": 1,
"timeout": 1,
"tracking_id": "text",
"type": "unknown",
"updated_at": "2026-01-25T10:50:43.848Z",
"user_id": "text",
"zl_user_id": "text"
}curl --location '$BASE_URL.Zalo/SendZNSJourney' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
"journey_id": "<int64>",
"oa_id": "<int64>",
"phone": "<string>",
"template_data": {
"property1": "string",
"property2": "string"
},
"template_id": "<int>",
"tracking_id": "<string>"
}'{
"created_at": "<dateTime>",
"delivery_time": "<dateTime>",
"id": "<int64>",
"is_charged": "<boolean>",
"journey_id": "<string>",
"msg_id": "<string>",
"msg_type": "journey",
"phone": "<string>",
"price": "<integer>",
"sent_time": "<dateTime>",
"template_id": "<integer>",
"timeout": "<integer>",
"tracking_id": "<string>",
"updated_at": "<dateTime>"
}