Answered

Valid values for the "region" field

  • 31 May 2023
  • 2 replies
  • 121 views

In the /me endpoint, what are the valid values for the app.region property? In my test account, I get back the string “US”, but what are the values for the EU and Australian regions? (Or any other that are supported.)

icon

Best answer by Racheal 31 May 2023, 23:28

View original

2 replies

Userlevel 4
Badge +5

Hey @ariod Racheal from the support engineer team here👋 

 

For the United States, "region" will refer to State. With other countries it may vary - for example in Canada "region" refers to Province.  You can see a list of all region values and their abbreviations here.

Hi @Racheal, thanks for the quick response. In my testing, with a US-based workspace, I was getting the “US” value in the `app.region` property - I assumed this was related to the data center the workspace was hosted in. Is that not the case?

This example is from the Intercom docs:

```
{
  "type": "admin",
  "id": "2633609",
  "email": "hermione.granger@awesomecorp.io",
  "name": "Hermione Granger",
  "email_verified": true,
  "app": {
    "type": "app",
    "id_code": "drzzt019",
    "name": "Hogwarts workspace",
    "created_at": 1661876617,
    "secure": true,
    "identity_verification": true,
    "timezone": "Europe/Edinburgh",
    "region": "US"
  },
  "avatar": {
    "type": "avatar",
    "image_url": "https://static.intercomassets.com/avatars/56395503/square_128/5449623-166556.jpg"
  },
  "has_inbox_seat": true
}
```

Reply