Update your account locale preference to change the language used across Xquik
cURL
curl --request PATCH \ --url https://api.example.com/account \ --header 'Content-Type: <content-type>' \ --header 'x-api-key: <x-api-key>' \ --data ' { "locale": "<string>" } '
curl -X PATCH https://xquik.com/api/v1/account \ -H "x-api-key: xq_YOUR_KEY_HERE" \ -H "Content-Type: application/json" \ -d '{ "locale": "tr" }' | jq
application/json
en
tr
es
true
{ "success": true }
{ "error": "invalid_input" }
locale
{ "error": "unauthenticated" }
Was this page helpful?