API Usage
How to use the Voxxi API with Postman and Insomnia
API Usage
This guide will help you import the Voxxi API OpenAPI schema into popular API clients like Postman and Insomnia, making it easier to explore, test, and integrate with our endpoints.
OpenAPI Schema
Voxxi provides a comprehensive OpenAPI (formerly Swagger) schema that describes all available endpoints, request parameters, response formats, and authentication requirements. Using this schema, you can automatically configure your API client with all Voxxi endpoints.
What's Included
The OpenAPI schema contains endpoint definitions, request/response examples, parameter validation rules, and authentication requirements.
Using with Postman
Postman is a popular API development environment that supports OpenAPI schema imports for easy API exploration and testing.
Step 1: Import the OpenAPI Schema
- Open Postman and click the Import button in the top-left corner
- Select the Link tab
- Enter the Voxxi OpenAPI schema URL:
https://docs.voxxi.ai/openapi.json - Click Continue
- Review the import settings and click Import
Step 2: Configure Authentication
- After importing the schema, you'll need to set up authentication
- Click on the Authorization tab in the request panel
- Select Bearer Token from the Type dropdown
- Enter your Voxxi API key in the Token field
- For more details on obtaining and managing API keys, see Authentication
Step 3: Test Your Setup
- Select any endpoint from the imported collection
- Click Send to make a test request
- Verify you receive a successful response
Postman Documentation:
Using with Insomnia
Insomnia is a powerful REST API client that provides excellent OpenAPI schema support and a clean interface for API testing.
Step 1: Import the OpenAPI Schema
- Open Insomnia and create a new project or use an existing one
- Click the Create dropdown and select Import from URL
- Enter the Voxxi OpenAPI schema URL:
https://docs.voxxi.ai/openapi.json - Click Fetch and Import
- Review the import summary and click Import
Step 2: Configure Authentication
- Click on the imported Voxxi API folder
- Go to the Auth tab in the right panel
- Select Bearer Token from the dropdown
- Enter your API key in the Token field
- The authentication will be applied to all requests in the collection
- For more details on obtaining and managing API keys, see Authentication
Step 3: Test Your Setup
- Select any endpoint from the imported requests
- Click Send to make a test request
- Review the response in the right panel
Insomnia Documentation:
Alternative Import Methods
Manual Download and Import
If you prefer to download the schema file first:
- Download the schema: Right-click this link and save as
voxxi-openapi.json - Import in Postman: Use the File tab in the import dialog
- Import in Insomnia: Use Import from File option
Command Line Import (Advanced)
You can also use command-line tools to work with the OpenAPI schema:
# Download the schema
curl -o voxxi-openapi.json https://docs.voxxi.ai/openapi.json
# Validate the schema
swagger-codegen validate -i voxxi-openapi.json
# Generate client code (example for Python)
swagger-codegen generate -i voxxi-openapi.json -l python -o ./voxxi-python-clientGetting Help
If you encounter issues:
- Check the API Status: Visit status.voxxi.ai for any ongoing issues
- Review Documentation: Ensure you're following the correct import steps
- Contact Support: Reach out with your specific error messages and steps taken
Schema Updates
The OpenAPI schema is updated regularly. Re-import periodically to get the latest endpoints and changes.