Gửi tin Tư vấn theo mẫu yêu cầu thông tin người dùng
Body
oa_idstring · int64Optional
zl_user_idstring · int64Optional
Responses
200
A successful response
application/json
post
POST /RequestUserInfo HTTP/1.1
Host: $BASE_URL.Zalo
Content-Type: application/json
Accept: */*
Content-Length: 36
{
"oa_id": "text",
"zl_user_id": "text"
}
200
A successful response
{
"updated": 1
}
Request:
curl --location 'BASE_URL.Zalo/RequestUserInfo' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
"oa_id": "string",
"zl_user_id": "string"
}'
Response:
{
"updated": 0
}
Cấu trúc body của request
Tham số
Kiểu dữ liệu
Mô tả
oa_id
string
ID của OA
zl_user_id
string
ID người dùng Zalo
Last updated