Gửi tin tư vấn dạng hình ảnh
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/OASendImage HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 101
{
"message": {
"attachment_id": "text",
"image_url": "text"
},
"oa_id": "text",
"recipient": {
"user_id": "text"
}
}{
"direction": "in",
"msg_id": "text",
"oa_id": "text",
"recipient_id": "text",
"sender_id": "text",
"shop_id": "text",
"type": "unknown",
"user_id": "text",
"zl_user_id": "text"
}curl --location 'BASE_URL.Zalo/OASendImage' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
"message": {
"attachment_id": "string",
"image_url": "string"
},
"oa_id": "string",
"recipient": {
"user_id": "string"
}
}'{
"direction": "in",
"msg_id": "string",
"oa_id": "string",
"recipient_id": "string",
"sender_id": "string",
"shop_id": "string",
"type": "unknown",
"user_id": "string",
"zl_user_id": "string"
}