Authentication


All management calls to the SwaggerHub Portal APIs require ApiKey authentication.

Include the API key in the Authorization HTTP header of each request with the value Bearer {API_KEY}, replacing {API_Key} with the actual value of your ApiKey from SwaggerHub.

API Keys MUST be retrieved from the SwaggerHub organization linked to the portal instance. See the SBID documentation for information on how to get an API Key from SwaggerHub.

Note: The user associated with the API Key MUST have a designer or owner role within the organization, in order for an API request to be authorized.