Request
Body Params application/json
{
"oa_id": "2132244319859497323",
"setting_chat": "only_me"
}
Request Code Samples
curl --location --request POST 'http://127.0.0.1:8000/api/zalo/refresh/' \
--header 'authority: gateway-sop-dev.fpt.vn' \
--header 'accept: application/json' \
--header 'accept-language: en-US,en;q=0.9,vi;q=0.8' \
--header 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjFjNTc3NThjLWY5ZWEtMTFlZC1hMGM1LTAyNDJjMGE4MDEwMyIsImVtYWlsIjoidGFucHY5QGZwdC5jb20iLCJrZXkiOlsicXFsbmRodCIsInFsdSIsInZ0dnEiLCJ2dHZxbWQiLCJ4dnR2cW1kIiwidHN4dnR2cW1kIiwidnR2cWJzIiwieHZ0dnFicyIsInRzeHZ0dnFicyIsInFsZHNraGNuIiwiZGxraGNuIiwiY3giLCJ0c3giLCJkbGtoY25zayIsImN4MSIsInN4IiwiY2hodGMiLCJudnRtbiIsInFsbiIsInhkc24iLCJ0c3huIiwicWx0bW4iLCJ4ZHN0bW4iLCJ0c3h0bW4iLCJmZWVkYmFjayIsImJjdCIsImJja2h0biIsImJja25vIl0sImlhdCI6MTY4NTUxNTE2NywiZXhwIjoxNjg2MTE5OTY3fQ.F_ScZ869m7pPTMelcsHv6ME11uwDaqlWYI8gfbAejpk' \
--header 'origin: https://portal-sop-dev.fpt.vn' \
--header 'referer: https://portal-sop-dev.fpt.vn/' \
--header 'sec-ch-ua: "Google Chrome";v="113", "Chromium";v="113", "Not-A.Brand";v="24"' \
--header 'sec-ch-ua-mobile: ?0' \
--header 'sec-ch-ua-platform: "Windows"' \
--header 'sec-fetch-dest: empty' \
--header 'sec-fetch-mode: cors' \
--header 'sec-fetch-site: same-site' \
--header 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36' \
--header 'X-Auth-User-Id: 179f664a-ab18-4c13-bebb-0eb1ccd363a3' \
--header 'content-type: application/json;charset=UTF-8' \
--data-raw '{
"oa_id": "2132244319859497323",
"setting_chat": "only_me"
}'
Responses
application/json Modified at 2024-08-19 08:39:29