Create OA authorization link

This API is used to get the OA authorization path for the application (app).

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.

AuthorizeOA

post
Body
app_idstring · int64Optional
app_secretstringOptional
redirect_uristringOptional
Responses
200

A successful response

application/json
post
$BASE_URL.Zalo/AuthorizeOA
200

A successful response

Request:

Response:

Request body structure

Parameters
Data type
Describe

app_id

int64

Application ID

app_secret

string

Application secret key

redirects

string

The callback URL is set in "Official Account Callback Url" on the app https://developers.zalo.me/apps

Return data attribute structure

Parameters
Data type
Describe

url

string

OA authorization link for the application

Last updated