API Reference

Build with the PrepTalk API

Integrate AI-powered interviews into your existing workflows with our REST and Socket.IO APIs.

Quick Start

📦

JavaScript/TypeScript

npm install @preptalk/sdk
🐍

Python

pip install preptalk
🌐

REST API

curl -X GET https://api.avainterview.com/v1/

Authentication

All API requests require a Bearer token in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Generate API keys from your dashboard under Settings → API Keys.

API Endpoints

POST/api/v1/auth/login
GET/api/v1/templates
POST/api/v1/sessions
GET/api/v1/sessions/:id/report
POST/api/v1/webhooks
DELETE/api/v1/candidates/:id

Real-Time with Socket.IO

Use Socket.IO for real-time interview events: join_interview, audio streaming, transcription updates, and avatar state changes.