The Omnibasis API provides a powerful interface for developers to integrate with the platform. As of now, all OpenAPI definitions are hosted under the base URL:
You must first choose which specific API definition you want to use (e.g., Startup API
, Session API
, or any other service), and then fetch its respective OpenAPI JSON file.
In this guide, we’ll walk through how to generate an API client for any language using OpenAPI code generators based on your selected API definition.
Before proceeding, ensure you have the following installed or available:
openapi-generator-cli
)All APIs are listed under:
You need to select a specific definition first. For example:
Navigate to one of these URLs in your browser or via API to see the available documentation and download links for the OpenAPI JSON.
Each service has its own OpenAPI JSON file located at:
Examples:
https://api.omnibasis.com/startup/api.json
https://api.omnibasis.com/enterprise/api.json
https://api.omnibasis.com/explorer/api.json
Choose the one that matches the service you're integrating with.
If desired, save the JSON locally:
Replace startup
with the name of your chosen service.
Decide on the programming language you want to generate the client for. Supported languages include:
See the full list of supported generators here: OpenAPI Generator Supported Languages
There are multiple ways to generate the client. Here are three popular options:
openapi-generator-cli
(Recommended)Use the following command format:
Replace <service-name>
with your chosen API (e.g., startup
, enterprise
) and <language>
with your target programming language.
Example for Python (Startup API):
Example for TypeScript (Enterprise API):
If you don’t want to install anything globally, use Docker:
Replace <service-name>
and <language>
accordingly.
Use online tools like:
Steps:
https://api.omnibasis.com/startup/api.json
).Once generated, follow the instructions in the README inside the output folder to install and use the client.
For example, for Python:
Then, start writing code using the auto-generated classes and methods.
Make sure to handle authentication correctly. The Omnibasis API uses standard mechanisms like API keys or OAuth2 tokens. These will be reflected in the generated code.
Check the /auth
endpoints in the OpenAPI spec or refer to the Omnibasis documentation for details.
You can customize the generation process using additional parameters or a config file. Example:
Refer to the OpenAPI Generator Documentation for advanced configuration options.
If you're having trouble generating the client or integrating the SDK, reach out to the Omnibasis support team or consult the official developer documentation.