API
Create, update, publish, and export resumes from your own code.
The Folio API is a REST API at https://folio.hippodev.app/api/v1. Using an AI assistant instead of code? Connect it through MCP. Everything is JSON, and every endpoint is listed — with request and response shapes you can try in your browser — in the API reference.
Authentication
Create a key under Account → API keys. Choose what it may do and when it expires; the key is shown once, so copy it somewhere safe. Send it with every request:
curl https://folio.hippodev.app/api/v1/me \
-H "Authorization: Bearer folio_live_..."| Permission | Allows |
|---|---|
resumes:read | Listing and reading resumes and templates |
resumes:write | Creating, editing, deleting, duplicating, and publishing resumes; favoriting templates |
exports:create | Downloading resumes as JSON, plain text, or Word |
domains:manage | Connecting, checking, and removing custom domains |
analytics:read | Reading visitor analytics for your resumes |
applications:read | Reading your job applications, their timelines, and stats |
applications:write | Adding, updating, and deleting job applications, notes, and logged emails |
inbox:read | Reading contact-form messages, marking them read, and deleting them |
sharing:manage | Private links, collaborators, invitations, and the share link |
webhooks:manage | Webhook endpoints (API keys and OAuth apps only — never AI assistants) |
Revoke a key at any time on the same page; apps using it stop working immediately.
Endpoints
| Method | Path | Does |
|---|---|---|
GET | /me | The account behind the key, and its permissions |
GET | /resumes | Your resumes and cover letters, most recently edited first (paginated; ?kind=cover_letter) |
POST | /resumes | Create a resume from a template or your own document — or a cover letter ("kind": "cover_letter", optionally linkedResumeId) |
GET | /resumes/{id} | A resume with its full document |
PATCH | /resumes/{id} | Rename it and/or replace its document |
DELETE | /resumes/{id} | Move it to the trash (restorable for 30 days) |
POST | /resumes/{id}/duplicate | Copy it |
POST | /resumes/{id}/publish | Publish the current draft (needs a verified email) |
POST | /resumes/{id}/unpublish | Take the public page offline |
POST | /resumes/{id}/exports | Download as json, txt, md, or docx (add "locale" for a translation, "version" for a saved version — e.g. an application's resumeVersionId) |
GET · POST | /resumes/{id}/domains | List or connect custom domains |
POST | /resumes/{id}/domains/{domainId}/verify | Check a domain now |
DELETE | /resumes/{id}/domains/{domainId} | Disconnect a domain |
GET | /templates, /templates/{templateId} | Built-in templates and your saved designs |
PUT · DELETE | /templates/{templateId}/favorite | Favorite or unfavorite a template |
GET | /media, /media/{mediaId} | Your media library (search, kind, folder, used, trash filters) |
PATCH · DELETE | /media/{mediaId} | Rename, alt text, kind, folder, tags, favorite; trash (or ?permanent=true) |
POST | /media/{mediaId}/restore | Restore from the trash |
GET · POST | /media/folders | List or create folders |
PATCH · DELETE | /media/folders/{folderId} | Rename or delete a folder |
GET | /organizations, /organizations/{organizationId} | Your organizations and your role; members (emails for staff only) |
GET | /organizations/{organizationId}/reviews | Review requests (staff only) |
GET | /resumes/{id}/locales | A resume's translations |
GET · PUT · DELETE | /resumes/{id}/locales/{locale} | Read, add or replace, or remove a translation (PUT without a body copies the main version) |
GET · POST | /resumes/{id}/links | A resume's private links, or make one for a recipient |
DELETE | /resumes/{id}/links/{linkId} | Turn off a private link |
GET | /resumes/{id}/sharing | Collaborators, pending invitations, and the share link |
POST | /resumes/{id}/sharing/members | Invite a collaborator (added right away if they have an account) |
PATCH · DELETE | /resumes/{id}/sharing/members/{userId} | Change a collaborator's role, or remove them |
DELETE | /resumes/{id}/sharing/invitations/{invitationId} | Cancel an invitation |
POST · DELETE | /resumes/{id}/sharing/link | Create (or replace) or turn off the share link |
GET · POST | /applications | Your job applications (?status=), or track a new one |
GET | /applications/stats | This week, response and interview rates, days to a reply |
POST | /applications/posting | Read a job posting from its link ({ "url" }): company, role, location, pay, description. Saves nothing |
GET · PATCH · DELETE | /applications/{applicationId} | One application with its timeline; update (including status) or delete it |
POST | /applications/{applicationId}/notes, /emails | Add a note, or log an email you sent or got |
POST | /applications/{applicationId}/interviews | Add an interview round (date, format, people, prep notes, questions with answers) |
PATCH · DELETE | /applications/{applicationId}/interviews/{interviewId} | Update a round (a new date gets a new reminder; outcome after it) or delete it |
GET · POST | /contacts | The people in your job search, with their applications; or add one |
GET · PATCH · DELETE | /contacts/{contactId} | One contact; update (a new followUpAt gets a reminder) or delete |
POST | /contacts/{contactId}/contacted | Record a conversation today |
PUT · DELETE | /applications/{applicationId}/contacts/{contactId} | Link a contact to an application ({ "relation": "recruiter" }), or unlink |
GET | /inbox | Contact-form messages (?unread=true) and the unread count |
PATCH · DELETE | /inbox/{messageId} | Mark read or unread, or delete |
GET · POST | /webhooks | Your webhook endpoints and recent deliveries, or add one |
PATCH · DELETE | /webhooks/{endpointId} | Change or delete an endpoint |
POST | /webhooks/{endpointId}/secret, /test | New signing secret; send a test ping |
POST | /webhooks/deliveries/{deliveryId}/redeliver | Send a delivery again |
GET · POST | /resumes/{id}/comments | A resume's comment threads (?locale= for a translation), or comment / reply |
PATCH · DELETE | /resumes/{id}/comments/{commentId} | Edit your comment, resolve or reopen a thread, or delete |
GET · POST | /snippets | Your reusable paragraphs, or save one |
PATCH · DELETE | /snippets/{snippetId} | Rename, retag, or change a snippet; delete it |
GET · POST | /resumes/{id}/variants | A resume's variants, or make one |
GET | /resumes/{id}/conflicts | A variant's main-resume changes waiting for a choice |
POST | /resumes/{id}/conflicts/{blockId} | Keep the variant's block (mine) or take main's (main) |
POST | /resumes/{id}/detach, /promote | A variant goes on its own, or becomes the main resume |
TypeScript client
@foliodev/sdk is a typed client generated from the API reference: every path, parameter, and response is checked by TypeScript. It's MIT-licensed and needs only fetch (Node 20+, Deno, Bun, browsers, edge runtimes).
npm install @foliodev/sdkimport { createFolioClient, unwrap } from "@foliodev/sdk";
const folio = createFolioClient({ apiKey: process.env.FOLIO_API_KEY! });
const { data } = await folio.GET("/resumes", { params: { query: { limit: 10 } } });
const resume = await unwrap(folio.POST("/resumes", { body: { title: "Product Designer" } }));unwrap throws a FolioApiError (with status, code, and the problem details) instead of returning { data, error }. Pass accessToken instead of apiKey for an OAuth app, and idempotencyKey() as the Idempotency-Key header for a POST you might retry.
Its version follows the API: new endpoints mean a new minor version. Another language? Generate a client from /api/openapi.json with any OpenAPI generator.
Example: create, edit, and export
# Create a resume from the Executive template
curl -X POST https://folio.hippodev.app/api/v1/resumes \
-H "Authorization: Bearer $FOLIO_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 3f6c2b1e-new-resume" \
-d '{"title": "Product Designer", "templateId": "executive"}'
# Rename it — only if nobody changed it since you read it
curl -X PATCH https://folio.hippodev.app/api/v1/resumes/RESUME_ID \
-H "Authorization: Bearer $FOLIO_KEY" \
-H "Content-Type: application/json" \
-H 'If-Match: W/"1790812345678"' \
-d '{"title": "Senior Product Designer"}'
# Download it as Word
curl -X POST https://folio.hippodev.app/api/v1/resumes/RESUME_ID/exports \
-H "Authorization: Bearer $FOLIO_KEY" \
-H "Content-Type: application/json" \
-d '{"format": "docx"}' -o resume.docxDocuments
GET /resumes/{id} returns the resume's document: the whole resume as JSON — locale, template, page, theme, sections with their blocks, and optional customCss. The easiest way to learn the format is to read one of your own resumes, or download its Folio JSON from the editor.
Send a full document to PATCH /resumes/{id} (or POST /resumes) to replace it. Folio validates it, upgrades older versions automatically, and — if someone has the resume open in the editor — they see the change appear live.
Safe updates and retries
If-Match— every resume response has anETag. Send it back asIf-MatchonPATCH; if the resume changed in the meantime you get412 Precondition Failedinstead of overwriting someone's edits.Idempotency-Key— add a unique value to anyPOST. Retrying with the same key within 24 hours returns the first response (withIdempotent-Replayed: true) instead of doing the work twice. Reusing a key for a different request returns422.
Pagination
GET /resumes returns { "data": [...], "nextCursor": "..." }. Pass ?cursor=<nextCursor> to get the next page, and ?limit= (1–100, default 20). nextCursor is null on the last page.
Rate limits
Each key can make 60 requests per minute, and 10 exports per minute. Every response says where you stand:
| Header | Meaning |
|---|---|
RateLimit-Limit | Requests allowed in the current minute |
RateLimit-Remaining | Requests left |
RateLimit-Reset | Seconds until the window resets |
Over the limit you get 429 Too Many Requests with a Retry-After header.
Errors
Errors use RFC 9457 problem details, with a stable code you can match on:
{
"type": "https://folio.hippodev.app/docs/api#errors",
"title": "The resume changed since you read it",
"status": 412,
"code": "precondition_failed",
"detail": "Current ETag: W/\"1790812399999\". GET it again, re-apply your change, and retry."
}| Status | code examples |
|---|---|
| 400 | invalid_request (with an errors list per field), invalid_document, invalid_cursor, invalid_slug, invalid_hostname |
| 401 | unauthorized, invalid_api_key |
| 403 | insufficient_scope, email_not_verified |
| 404 | not_found |
| 409 | slug_taken, domain_in_use |
| 412 | precondition_failed |
| 422 | idempotency_key_reused |
| 429 | rate_limited |
Not in the API yet
PDF and image exports are made in the browser, so they're only available in the app — see Exporting & printing. More endpoints arrive as features do; the API reference always shows what's available.