More
Сhoose
SwaggerHub Registry API

SwaggerHub Registry API

#developer_toolsv1.0.66

Overview

Overview

Use SwaggerHub Registry API to access, manage, and update the following resources in SwaggerHub, bypassing the web interface:

  • APIs
  • Domains
  • Integrations
  • Projects
  • Templates

SwaggerHub also provides the User Management API to get information about organizations and manage organization members.

Base URL

Use the following base URL for SwaggerHub SaaS:

http(s)://api.swaggerhub.com

Note: This documentation is for SwaggerHub SaaS. On-Premise customers should use the bundled API definition, which can be found at the URLs provided below.

Version 1.29.0 or later:

http(s)://SERVER/v1/openapi.yaml - YAML version
http(s)://SERVER/v1/openapi.json - JSON version

Earlier versions:

http(s)://SERVER/v1/swagger.yaml - YAML version
http(s)://SERVER/v1/swagger.json - JSON version

Authentication

Operations that update data or access private data require authentication using an API key. You can find your personal API key on the API Keys page in your account settings. Send this key in the Authorization header when making requests to the Registry API:

Authorization: YOUR_API_KEY

To test API calls from this documentation page, click the Authorize button below and paste your API key there.

Important: Keep the API key secure and do not store it directly in your code.

Tools

In addition to calling the Registry API directly, you can use the following tools to interact with the API from the command line or CI/CD pipeline:

Developer Resources
API Metadata
  • Providerswaggerhub.com
  • Versionv1.0.66
  • Added1/3/2019
  • Last Update2/17/2023
Next Steps

Looking to integrate SwaggerHub Registry API into your project? Our team can help you build custom connectors.

Get Integration Help