Learn about the Location object used by the Automation Framework and Bot v3 API
A Location object payload introduces the ability to designate a specific location by its country code and/or exact coordinates.
{
"location": {
"type": "GEO_POINT",
"countryCode": "us",
"geoDSL": [38.8951, -77.0364]
}
}
Field | Description |
---|---|
type | This is always GEO_POINT . |
countryCode | The two-character country code. Follows ISO_3166-1_alpha-2 standard. |
geoDSL | Value includes latitude and longitude coordinates. Latitude appears first, followed by longitude. |