Send request for calling permission
curl --location '$BASE_URL.Zalo/RequestConsent' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API-KEY' \
--data '{
"call_type": "video",
"oa_id": "<int64>",
"phone": "<string>",
"reason_code": "product_service_consulting"
}'{
"call_type": "unknown",
"created_at": "2019-08-24T14:15:22Z",
"delivery_status": "unknown",
"delivery_time": "2019-08-24T14:15:22Z",
"error_code": 0,
"error_message": "string",
"expires_at": "2019-08-24T14:15:22Z",
"id": "string",
"is_charged": true,
"oa_id": "string",
"phone": "string",
"reason_code": "unknown",
"reply_status": "Z",
"shop_id": "string",
"status": "Z",
"updated_at": "2019-08-24T14:15:22Z",
"user_id": "string"
}Parameters
Data type
Describe
Parameters
Data type
Describe
Last updated