Quick Start
Get started with the API in just a few steps:
- Choose a resource category from the sidebar
- Browse available endpoints and their documentation
- Use the interactive status code picker to explore responses
- Copy code examples in your preferred programming language
Making Your First Request
Here's a simple example to get you started with the Vani API:
cURL
curl -X GET "https://api.app.vanihq.com/vani/api/v1/editions" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json"
Response Format
All API responses follow a consistent JSON format:
JSON Response
{
"data": {
"editions_info": [
{
"created_time": "Sun, 09 Apr 2023, 08:43:02",
"last_modified_time": "Sun, 09 Apr 2023, 08:43:02",
"edition_id": "75918186",
"edition_type_name": "ORG",
"state": "ACTIVE",
"edition_name": "OrgEdition",
"edition_owner_id": "69828190",
"is_default": "true",
"uri": "/vani/api/v1/editions/75918186"
}
]
},
"message": "Editions fetched successfully",
"request_uri": "/vani/api/v1/editions",
"status": "success"
}
Next Steps
- Explore Resources - Browse the API resources in the sidebar
- Set up Authentication - Configure OAuth 2.0 or API key authentication
- Test Endpoints - Use the interactive examples to test API calls
- Build Your Integration - Start building your Vani integration