AirHub API
  1. Authorization
AirHub API
  • Introduction
  • Authorization
    • Overview
    • Get Oauth Token
      POST
  • Advisories
    • Advisory
      POST
    • Get Advisories BBox
      GET
    • Get Advisories GeoJSON
      POST
  • Briefing
    • Overview
    • B4UFLY
      • What Is B4UFLY
      • The API Basics
      • Location vs Area
      • v1
        • B4UFLY Briefing by Area v1
        • B4UFLY Briefing by Location v1
      • v2
        • What's New in v2
        • B4UFLY Briefing by Area v2
        • B4UFLY Briefing by Location v2
  • LAANC SDSP
    • Overview
    • ASL Operations
      • List Operations
      • Create Operation
      • Get Operation
      • Delete Operation
      • Update Operation
    • LAANC Operations
      • Get Operation
      • Delete Operation
      • Create Operation
      • Update Operation
    • LAANC Authorizations
      • Rescinded and Invalid Operations
      • Submit Authorization
      • Get Authorization
      • Cancel Authorization
      • Cancel Invalid Authorization
      • Close Authorization
      • Acknowledge Rescinded Authorization
    • Operation v2
      POST
    • Create Ephemeral Operations
      POST
  • Risk
    • Get Hazard
      POST
    • Get Hazard Ground Type
      POST
    • Get Hazard Ground Risk
      POST
  • Aviation
    • Aviation
      POST
  • Surface
    • Suitability
      POST
    • Classification Surface
      POST
    • Surface v2 GeoJSON
      POST
    • Surface v2 Hexbin
      POST
  • Route
    • Route v2
  • Check
    • Check Airspace
    • Get Status
  • Elevation - NEW
    • Elevation
  • Map Vector Tiles - NEW
    • Overview
    • Styled Tiles
    • Vector Tile
  1. Authorization

Overview

OAuth#

AirHub uses client credentials to authenticate and authorize requests. Successful authentication will return an Oauth2 accessToken. AirHub expects the accessToken to be included in all subsequent API requests using the Authorization header.

Scopes#

In addition to the Client ID and Secret, you must also supply one or many oauth scopes. If you're unfamiliar with scopes, you can think of them as bundles of related API endpoints that are authorized for access by your client application. Multiple scopes may be requested by separating each scope by a space.

Available Scopes#

ScopeDescription
advisory:readGrants read access to our available advisories. This includes local and federal flight advisories.
aviation:readGrants read access to aviation facility map data.
briefing:area:readGrants read access to briefings by area.
briefing:location:readGrants read access to briefings by location.
hazar:readhazar is short for "Hazards and Risks". Grants read access to our hazar data.
operation:createUsed for linking applications. Allows the creation of a UAS operation that can be linked into LAANC authorization app.
route:createAllows the creation of UAS waypoints that navigate around ground based hazards and risks.
surface:createAllows the creation of hex surfaces based on specified data sources
Previous
Introduction
Next
Get Oauth Token
Built with