Hopper Authentication API
This API is authenticated with OAuth 2, Client Credentials grant.\Clients should use their `client_id` and `client_secret` to obtain an `access_token`.\The `access_token` should be included in every request, as a `Bearer` token on an `Authorization` header.\Note that `access_token`s eventually expire, requiring a new token to be fetched.see [authentication](#tag/Authentication)
Hopper Authentication API is one of 5 APIs that Hopper publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Authentication. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.
This API exposes 1 operation across 1 path, and defines 6 schemas. It is described by OpenAPI 3.0.3, at version v1.1.
Requests are made against a single base URL, https://airlines-api.hopper.com/airline/v1.1.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 2
Hopper Authentication API declares
2 security schemes
for authenticating requests.
It accepts HTTP bearer tokens (PartnerAuth).
An API key is passed in the header as HC-Session-ID (SessionAuth).
PartnerAuth— This API is authenticated with OAuth 2, Client Credentials grant.\ Clients should use their clientid and clientsecret to obtain an accesstoken.\ The accesstoke…SessionAuth— Header Parameters | headerName | description | |-----------------|---------------------------------------------------------------------------------------------…
Paths & Operations 1
Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.
This API is authenticated with OAuth 2, Client Credentials grant.\ Clients should use their clientid and clientsecret to obtain an accesstoken.\ The accesstoken should be included…
Schemas 6
The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are auth_response (4 properties), error (3 properties), auth_request (2 properties), unprocessable_entity (1 property). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Hopper 4
Other APIs Hopper publishes across the network.