Headless API

Use wrok from any HTTP client, script, or automation. The headless API provides full access to every feature with API key authentication.

Base URL

https://wrok-agent.fly.dev

Authentication

All authenticated endpoints accept a Bearer token:

Authorization: Bearer wrok_sk_...

Get an API key

# Sign up
curl -X POST https://wrok-agent.fly.dev/api/v1/auth/signup \
  -H "Content-Type: application/json" \
  -d '{"email": "you@example.com", "password": "secret", "name": "Your Name"}'

# Or log in
curl -X POST https://wrok-agent.fly.dev/api/v1/auth/login \
  -H "Content-Type: application/json" \
  -d '{"email": "you@example.com", "password": "secret"}'

Both return api_key in the response. Each login creates a new key; old keys remain valid.

Available endpoints

CategoryEndpoints
Authsignup, login, me, api-keys, device-code
ProfileGET/PUT /api/v1/profile
Career DataGET /api/v1/career-data
RolesCRUD /api/v1/roles
SkillsPOST/DELETE /api/v1/skills
EducationCRUD /api/v1/education
ProjectsCRUD /api/v1/projects
BlogCRUD /api/v1/blog-posts, preferences, publish
Job AppsCRUD /api/v1/job-applications
Profile PageCRUD, publish, generate /api/v1/profile-page
Resumeregenerate, latest, delete /api/v1/resumes
ChatPOST /chat, /chat/stream (SSE)
CodingGET /api/v1/coding-profile, coding-machines

See the API Reference for full endpoint documentation.

Error handling

All errors return JSON with a detail field:

{"detail": "Invalid or expired API key"}  // 401
{"detail": "Not found"}                    // 404
{"detail": "Rate limited"}                 // 429