Developer Platform

hcalls Developer Documentation & API Reference

Integrate live interview coaching, automated resume parsing, real-time audio guidance streams, and LLM agent tool-calling into your developer workflows.

Get started with the hcalls API (free, self-serve)

Agents and developers can start without a sales form. The production API is the sandbox: every new account includes 50 free credits and no credit card.

  1. Create a free hcalls account at /login.
  2. Approve scoped access at /oauth/authorize (public client_id hcalls-public) or copy your session Bearer token from Dashboard → Account.
  3. Exchange the authorization code at POST /oauth/token and call /api/health or the OpenAPI operations.

Official CLI Tool (npx hcalls)

Automate session initialization and status queries directly from your terminal or scripts without writing API boilerplate:

# Run directly with npx
npx hcalls status
npx hcalls session create --role "Senior Engineer" --company "Stripe"
# Or install globally
npm install -g hcalls

Authentication & Scoped Permissions (RFC 9728)

hcalls APIs support standard Bearer authentication tokens as well as granular OAuth 2.0 scopes. AI agents requesting access should declare minimum necessary scopes:

Scope IdentifierPermission Description
sessions:createCreate a new live interview assistance session
sessions:readRead interview session details, transcripts, and evaluation reports
sessions:writeUpdate session notes, preferences, and transcripts
sessions:deletePermanently delete interview sessions
sessions:streamStream real-time AI copilot guidance talking points over SSE
resumes:uploadUpload PDF, DOCX, or TXT resumes for automated AI parsing
resumes:readList and retrieve structured resume profiles
resumes:writeCreate and modify structured resume details
resumes:deleteDelete resume profiles
user:readRead user profile, referral data, and credit balance
user:writeUpdate user settings and preferences
billing:readRead subscription tier, pass status, and transaction history

Live Guidance Stream Example (SSE)

POST /api/completion

Stream live talking points in real time as the interviewer finishes asking a question:

curl -N -X POST https://hcalls.com/api/completion \
  -H "Authorization: Bearer <your_session_token>" \
  -H "Content-Type: application/json" \
  -H "Accept: text/event-stream" \
  -d '{
    "session_id": "66687a38b1d9bf1b51e7fb5c",
    "transcript": "Tell me about a time you optimized database query performance.",
    "answer_style": "star"
  }'