Just thought I’d put this here.
You can get the region of the monday account by decoding the shortLivedToken from an automation and getting the value of rgn and extracting the first 2 letters for au, eu, il or us.
It contains other information too, but what is aai?
Example decoded shortLivedToken:
{
"alg": "HS256",
"typ": "JWT"
}.{
"shortLived": true,
"uid": 6......4, // user_id: number
"actid": 2......2, // account_id: number
"aid": 1......4, // app_id: number
"aai": 2....1, // ????????????????????????????????????????
"rgn": "euc1", // region: string
"exp": 1768213333, // token expiry: number
"iat": 1768213033 // token issued at: number
}.[Signature]