Check if the customer has granted calling permission
Parameters
Data type
Describe
Parameters
Data type
Describe
Last updated
Last updated
POST $BASE_URL.Zalo/CheckConsent HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"oa_id": "text",
"phone": "text"
}{
"error": 1,
"expired_time": "2026-01-22T22:01:08.995Z",
"message": "text"
}curl --location '$BASE_URL.Zalo/CheckConsent' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API-KEY' \
--data '{
"oa_id": "<int64>",
"phone": "<string>"
}'{
"error": 0,
"expired_time": "2019-08-24T14:15:22Z",
"message": "string"
}