Authentication

The API accepts 2 different authentication methods:

petstore_auth (oauth2)

Retrieve an Access Token with the OAuth 2.0 flows described below before accessing the API. Once you have an access token, send it in the Authorization HTTP header to authenticate with the API.

Api key (http_api_key)

Send an authentication token in the api_key header to authenticate with the API.