Authentication

In order to access Authenticated endpoints and to bypass the limitations of the rate-limiting imposed on Free Endpoints, calls need to be authenticated using an API Token.

Before an API Token can be issued, a User needs to be created, either via the web frontend, or via the API.

Authentication is obtained by passing the API Token as authorization Header with type Bearer.

curl --request GET \
  --url 'https://testapi.aviowiki.com/airports/search?query=London' \
  --header 'Authorization: Bearer 8320d910-ec23-46ea-beda-a9015ea05871'

Whenever in this documentation we demonstrate API calls using cURL that require authentication, we will use randomly generated API Tokens that do not correspond to any user in our system and will return an error 403 if used against our system.

Last updated