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:
Before you begin: set up authentication first — see the Authentication page to obtain an OAuth 2.0 access token or an API key. The examples below use api.app.vanihq.com; replace the host with your account's data center (US, AU, CA, EU, IN, SA, UAE). Every resource page has a Data Center selector.
cURL
curl -X GET "https://api.app.vanihq.com/vani/api/v1/editions" \
-H "Authorization: Zoho-oauthtoken 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"
}