Get refresh token

This API is used to get refresh token, you need to re-authorize OA for the application (app). Then call API "Connect OA".

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.

Request:

curl --location '$BASE_URL.Zalo/RefreshToken' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
    "oa_id": "int64"
}'

Response

{
  "url": "string"
}

Request body structure

Parameters
Data type
Describe

id

int64

OA ID

Return data attribute structure

Parameters
Data type
Describe

url

string

OA authorization link for app

Last updated