Skip to main content

Attribute type

location

Use it for

Addresses and geographic information.

Request value

Send an object with address fields such as { "address", "city", "state", "country", "postalCode" }.
{
  "fields": {
    "location": {
      "address": "10 Downing Street",
      "city": "London",
      "country": "United Kingdom",
      "postalCode": "SW1A 2AA"
    }
  }
}

Returned shape

Returns address fields and may also include { "latitude", "longitude" }.

Example response

{
  "fields": {
    "location": {
      "address": "10 Downing Street",
      "city": "London",
      "country": "United Kingdom",
      "postalCode": "SW1A 2AA",
      "latitude": 51.5034,
      "longitude": -0.1276
    }
  }
}