cURL
curl --request POST \ --url https://public.plai.io/meta/get_targeting_locales_lookup \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "userId": "<string>" }'
{ "success": true, "results": { "success": true, "locales": [ { "name": "<string>", "key": "<string>" } ], "error": "<string>" } }
This endpoint is used to get targeting locales or languages.
Show Results Object
Show Targeting Locale Object