API Reference
Complete REST API documentation for integrating AItocha Surveys into your applications.
Authentication
All API requests require authentication using a Bearer token. Include your token in the Authorization header:
Authorization: Bearer YOUR_ACCESS_TOKENYou can also use API keys for server-to-server communication. API keys should be passed in the X-API-Key header:
X-API-Key: sk_your_api_key_hereUnlike a session token, an API key only reaches the endpoints its scopes allow. Grant the narrowest set that does the job — a key that only reads results cannot modify or delete a survey if it leaks.
surveys:read List and read surveys
surveys:write Create, update, delete and publish surveys
responses:read Read responses, analytics and exportsA request whose key is missing a required scope returns 403 and names the scope it needed.
Base URL
https://survey.aitocha.com/apiAuthentication
Surveys
Public Surveys
Analytics
Webhooks
Rate Limits
| Plan | Requests/minute | Requests/day |
|---|---|---|
| Free | 60 | 1,000 |
| Starter | 120 | 10,000 |
| Pro | 300 | 100,000 |
| Business | 600 | Unlimited |