Welcome to FeedbackAI API
The FeedbackAI API provides comprehensive programmatic access to all platform features including user management, question sets, test assignments, AI evaluations, and interview sessions.Base URL
Key Features
User Management
Create and manage users with role-based permissions (Admin, Interviewer, Candidate)
Question Sets
Create and manage mixed question types including coding and short answer questions
Test Assignments
Assign tests to candidates and track progress and results
AI Evaluation
Leverage OpenAI for intelligent code evaluation and feedback generation
Authentication
The FeedbackAI API uses Clerk for authentication. Most endpoints require authentication via session tokens.Getting Started
- Sign Up: Create an account through the web interface
- Get Session Token: Authenticate via Clerk to receive a session token
- Include Token: Include the token in the Authorization header
Role-Based Access
API endpoints enforce role-based permissions:| Role | Permissions |
|---|---|
| Admin | Full access to all endpoints |
| Interviewer | Question management, test assignment, result viewing |
| Candidate | Limited to assigned tests and personal results |
Rate Limiting
API requests are rate-limited to ensure fair usage:- Free Tier: 1000 requests/hour
- Pro Tier: 10000 requests/hour
- Enterprise: Custom limits
Error Handling
All API responses follow a consistent error format:Common Error Codes
UNAUTHORIZED(401): Invalid or missing authenticationFORBIDDEN(403): Insufficient permissionsNOT_FOUND(404): Resource not foundVALIDATION_ERROR(400): Invalid request dataRATE_LIMITED(429): Too many requests