API access is included with the Agency plan.
Authentication
To use the Vollna API, you need to sign up for an account first. Follow these steps to obtain your API token:- Create an account at vollna.com
- Go to your Dashboard
- Click your profile menu (top-right)
- Select “API Tokens”
- Generate a new API token
X-API-TOKEN header with every request:
Rate Limiting
The Vollna API implements rate limiting of 5 requests per minute. API rate limits are essential for managing server load and ensuring consistent and reliable service for all users. By limiting the number of requests a user can make per minute, it helps prevent any single user from overloading the system, which can lead to slower response times or system outages, ensuring fair usage and availability of the service for everyone. When rate limits are exceeded, the API will return a 429 status code with the following response:Credit System
To ensure fair usage and prevent abuse of the API, we implement a credit-based system for certain endpoints. Each API request to retrieve projects consumes credits based on the number of projects returned. This system helps maintain service quality and prevents unauthorized data scraping.The credit system is designed to accommodate normal business operations while preventing abuse. Most agencies will find their monthly credit allocation more than sufficient for their needs.
Common Response Formats
Success Response
Error Response
Status Codes
Vollna uses standard HTTP response codes to indicate the success or failure of an API request. In general:- Codes in the 2xx range indicate success
- Codes in the 4xx range indicate an error that failed given the information provided
| Code | Name | Summary |
|---|---|---|
| 200 | OK | Everything worked as expected |
| 400 | Bad Request | The request was unacceptable, often due to missing a required parameter |
| 401 | Unauthorized | Invalid or missing API token provided in X-API-TOKEN header |
| 402 | Payment Required | Team active subscription is required to perform the request |
| 403 | Forbidden | The API token doesn’t have permissions to perform the request |
| 404 | Not Found | The requested resource was not found |
| 429 | Too Many Requests | The request was rejected due to rate limiting (see Rate Limiting section) |
| 500 | Internal Server Error | The request failed due to a server error |