Check if the customer has granted calling permission

circle-info

Note:

  • For APIs used for Shop, the API key is: <api_key>. The base_url information of the Shop.

  • For APIs used for Partner, the API key is: <shop_key>. The base_url information of the Partner.

CheckConsent

post
Body
oa_idstring · int64Optional
phonestringOptional
Responses
post
$BASE_URL.Zalo/CheckConsent
200

A successful response

Request:

Response:

Request body structure

Parameters
Data type
Describe

id

int64

OA ID

phone

string

Recipient phone number

Return data attribute structure

Parameters
Data type
Describe

error_code

int

Error code

message

string

Error message

expired_time

string<date-time>

Expiration date

Last updated