Apidog supports OpenAPI specifications from version 2.28 onward, enabling programmatic access to your API projects. This guide walks you through generating and using an OpenAPI access token to integrate with Apidog's OpenAPI services.Create a New Token#
To generate a new access token, follow these steps:1.
Hover over your avatar on the top right and navigate through Account Settings β API Access Token.
2.
Click Create a new personal token.
This token grants the same functionality and access rights as your account across all teams and projects within Apidog. Keep it secure and never share it publicly.
3.
Enter a name for your token and choose a validity period.
4.
Click Save and generate token to create the token.
The token will be displayed only once at this moment. Copy and save it immediately in a secure location. Once you navigate away from this page, the token will not be visible again.
Modifying the name or the expiration date of the token does not regenerate a new token. If you misplace it, you need to create a new token by clicking New.
Use the Token#
To utilize your access token with the OpenAPI, you'll need two key pieces of information:1.
Authorization Token: The token you generated in the previous section
2.
Project ID: Available under Project Settings β Basic Settings
π· Finding Your Project ID
Setting Up the OpenAPI Project#
π· Visual Reference
2.
Click on the Environment Management button in the top right corner.
3.
Input the required parameters (authorization token and project ID) and save them.
π· Visual Reference
4.
Select the desired OpenAPI service, fill in the request parameters, and execute your API calls.
π· Visual Reference
By following these steps, you'll be able to seamlessly integrate and utilize Apidog's OpenAPI functionalities in your workflows.