POST
/
v2
/
location

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
city
string

Name of a city.

region
string

Name of a region, for example 'California'.

region_type
string

Type of a region, for example 'state' or 'province'.

country_name
string

Name of a country.

country_code
string

A two character country code, for example 'US' or 'IN'.

language_code
string

A language code, for example 'en', typically selected by the user.

locale
string

A locale, for exampl 'en-US'.

longitude
number
latitude
number

Response

200 - application/json
uule
string
required

Represents an encoded canonical location string.

country_code
string
required

The country code of the search location.

language_code
string
required

The language code of the search location.

city
string

The city of the search location (used in output only).

region
string

The region of the search location (used in output only).

country_name
string

The country name of the search location (used in output only).