How to publish an API
Veracity API Explorer lets you browse APIs available in the Veracity ecosystem. This guide explains how to publish your API so it appears there.
Veracity API Explorer lets you browse APIs available in the Veracity ecosystem. This guide explains how to publish your API so it appears there.
Veracity API Explorer replaced Veracity API Portal (deprecated by Microsoft). You can no longer test endpoints directly in the Explorer.
Before you begin
If you are new to Veracity, complete onboarding.
Ensure you have access to Developer Portal → My projects.
You have two options:
Use an existing production resource group If you already have a project and resource group approved for production, you can publish your API Product there. If the API is public, it will appear in Veracity API Explorer.
Use test or staging first If you do not have a production resource group, or prefer to validate first, publish to test or staging. After testing, contact the onboarding team to request production approval.
Publish an API
To publish an API:
- Create an API Product
- (Optional) Configure advanced settings
- Add an API Specification
All steps are performed in Developer Portal → My projects.
For general guidance, see publishing resources.
Create an API Product
- Go to Developer Portal → My projects.
- Open or create a project.
- Create or reuse a resource group.
- Select New Resource.
- Select API Product → Next.
- On Structure, select the project and resource group.
- On Configure:
- Enter a name
- Choose subscription approval settings
- Enable Is public if required
- Add a description
- On Advanced, configure throttling and Enable CORS if needed.
- On Summary, review and select Submit.
Configure advanced settings (optional)
Throttling
Limit API usage:
- Select a Counter Key (API Address or Subscription Key).
- Set Calls (maximum requests).
- Set Renewal period in seconds.
- Choose Increment condition (Success or Any).
CORS
Control allowed requests:
- Set Allowed origin (for example
https://veracity.com). - Select Allowed methods (
GET,POST,PUT, etc.).
Add an API Specification
- Go to Developer Portal → My projects.
- Open the same project and resource group as the API Product.
- Select New Resource.
- Select API Specification → Next.
- On Structure, select the same project and resource group.
- On Configure:
- Enter a name
- Set subscription requirements
- Assign one or more API Products
- Select Upload type
- Provide the API specification (Swagger/OpenAPI)
- Enter the API Suffix
- (Optional) Set version
- On Summary, review and select Submit.
Verify in API Explorer
Your API appears in Veracity API Explorer only if:
- the API is public
- at least one API Specification is assigned
- the resource group is approved for production
If needed, contact the onboarding team.