Getting Started with Avianis API

Getting Started with Avianis API

Introduction to the Avianis API

The Avianis API provides access to Avianis data and services, enabling integration with various aviation operations.


This API supports Basic Authentication as well as Bearer Token (JWT) Authentication for enhanced security and access control.

Authentication Types

  1. Basic Authentication: Use your username and password to access basic API features.
  2. Bearer Token (JWT) Authentication: Provides an additional layer of security. This requires obtaining an access token via OAuth.

Getting Started with Bearer Token Authentication

To use Bearer Token authentication, you must first request an access token from the Avianis OAuth server. Once you have the token, include it in your API requests to authenticate.

Step 1: Request an Access Token

To obtain an access token, make a POST request to the following endpoint:

MethodPOST
HeadersContent-Type: application/x-www-form-urlencoded
Body Parameters:
  • grant_typeclient_credentials
  • client_id<Username> (Replace with your username)
  • client_secret<Password> (Replace with your password)
  • client_authenticationheader
CURL Request (Can be imported into POSTMAN)
curl --location 'https://api.avianis.io/oauth/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=<username>' \
--data-urlencode 'client_secret=<password>' \
--data-urlencode 'client_authentication=header'
---------------------------------------------------------------------------- 

Step 2: Use the Access Token in API Requests

After receiving the access token, include it in the header of your API requests for authentication.

Example of Headers:

Authorization: Bearer <access_token>

Example of an API Request:

GET https://api.avianis.io/your-endpoint Authorization: Bearer <access_token>

    • Related Articles

    • API Updates (May 2021)

      The following area of the API has been added: Airport/FBO Additional endpoints have been added to the Connect API. This update allows an operation to pull airport info and FBOs/Handlers at that airport. Furthermore, existing endpoints have been ...
    • API Updates (July 2021)

      The following updates have been made to the Avianis API: Added empty leg designation Additional data points to call GET/connect/v2/Trip/{tripId}/itinerary Added a V2 endpoint GET/connect/v2/Account/{accountid}/Aircraft Added a V2 contact endpoint GET ...
    • Avianis Mobile App [Video]

      A full overview of the Mobile App. This video explains: Settings Expenses Logging times Additional Features For additional Mobile App information, see the following articles: Mobile App 101 My Schedule Mobile App: Settings Mobile App: Duty Check In ...
    • Avianis Webinar: Schedule Board

      Watch to learn how to set up the highly customizable and interactive tool known as the Schedule Board. This tool is designed to give you unparalleled control and visibility over your operation's schedule. You'll leave with the knowledge of how to set ...
    • Quick Start Guide: User Basics

      This article contains: How to customize the Aircraft Calendar Accessing and personalizing user profiles Change the username and reset password CUSTOMIZE AIRCRAFT CALENDAR Each user has the ability to customize their own calendar views. There are two ...