This API endpoint enables you to target a flight to a geographical area, either inclusively (only show the flight in this area) or exclusively (show the flight everywhere except this area). To add multiple geo-targeting locations, make multiple requests to the endpoint. Each will get their own
Use Kevel's List Geo Endpoints to receive the most current and up-to-date Countries/Regions/MetroCodes.
When using the Create Get-Targeting API endpoint, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:
POST- the type of API request being made.
https://api.kevel.co- the URL for the request.
v1- the API version.
flight- the API endpoint being called.
FlightID- the ID associated with the flight.
geotargeting- the object used to create geo-targeting for the flight.