Skip to main content
POST
/
boosted-pages
/
geo-locations-by-code
Get list of geo locations by country code
curl --request POST \
  --url https://api.boosterberg.com-beta.com/v1/boosted-pages/geo-locations-by-code \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "country",
  "value": "SK",
  "key": "<string>"
}
'
[
  {
    "value": "<string>",
    "label": "<string>",
    "type": "<string>",
    "region": "<string>",
    "country_name": "<string>"
  }
]

Body

application/json
type
string
Example:

"country"

value
string
Example:

"SK"

key
string

Optional key for location lookup

Response

200 - application/json

Returns list of facebook-targeting compatible geo locations

value
string
label
string
type
string
region
string
country_name
string