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

    • Import and Authenticate Avianis API Requests in Postman

      Here’s a step-by-step guide to importing the Avianis OpenAPI URL and generating a call in Postman using Basic Authentication, as well as importing and modifying a cURL request. Section 1: Import the Avianis OpenAPI URL into Postman Open Postman: ...
    • Avianis NEW Mobile App Soft Launch Updates

      Check back here for more! This page will be continually updated throughout April - July 2025 with the latest information until v1.0.0 is available in all app stores. 'Avianis NEW' Mobile App Soft Launch The new Avianis mobile app experience has soft ...
    • Getting Started: Sales Settings

      All settings related to Sales can be found here within the main navigation under Sales > Sales Settings. MASTER LINE ITEMS Line items types can be customized and associated to master line items. The purpose of line items types is for the grouping of ...
    • Avianis iCal Creation [Video]

      When users wish to display the Avianis Schedule in another calendar, a URL link can be generated within the Schedule Board Settings. This video will outline how this is completed. Additional Resources which might be helpful: iCal Feature Setup & ...
    • 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 ...