Docs

API

Create, update, publish, and export resumes from your own code.

Open Markdown

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_..."
PermissionAllows
resumes:readListing and reading resumes and templates
resumes:writeCreating, editing, deleting, duplicating, and publishing resumes; favoriting templates
exports:createDownloading resumes as JSON, plain text, or Word
domains:manageConnecting, checking, and removing custom domains
analytics:readReading visitor analytics for your resumes
applications:readReading your job applications, their timelines, and stats
applications:writeAdding, updating, and deleting job applications, notes, and logged emails
inbox:readReading contact-form messages, marking them read, and deleting them
sharing:managePrivate links, collaborators, invitations, and the share link
webhooks:manageWebhook 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

MethodPathDoes
GET/meThe account behind the key, and its permissions
GET/resumesYour resumes and cover letters, most recently edited first (paginated; ?kind=cover_letter)
POST/resumesCreate 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}/duplicateCopy it
POST/resumes/{id}/publishPublish the current draft (needs a verified email)
POST/resumes/{id}/unpublishTake the public page offline
POST/resumes/{id}/exportsDownload 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}/domainsList or connect custom domains
POST/resumes/{id}/domains/{domainId}/verifyCheck 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}/favoriteFavorite 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}/restoreRestore from the trash
GET · POST/media/foldersList 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}/reviewsReview requests (staff only)
GET/resumes/{id}/localesA 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}/linksA resume's private links, or make one for a recipient
DELETE/resumes/{id}/links/{linkId}Turn off a private link
GET/resumes/{id}/sharingCollaborators, pending invitations, and the share link
POST/resumes/{id}/sharing/membersInvite 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/linkCreate (or replace) or turn off the share link
GET · POST/applicationsYour job applications (?status=), or track a new one
GET/applications/statsThis week, response and interview rates, days to a reply
POST/applications/postingRead 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, /emailsAdd a note, or log an email you sent or got
POST/applications/{applicationId}/interviewsAdd 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/contactsThe 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}/contactedRecord a conversation today
PUT · DELETE/applications/{applicationId}/contacts/{contactId}Link a contact to an application ({ "relation": "recruiter" }), or unlink
GET/inboxContact-form messages (?unread=true) and the unread count
PATCH · DELETE/inbox/{messageId}Mark read or unread, or delete
GET · POST/webhooksYour webhook endpoints and recent deliveries, or add one
PATCH · DELETE/webhooks/{endpointId}Change or delete an endpoint
POST/webhooks/{endpointId}/secret, /testNew signing secret; send a test ping
POST/webhooks/deliveries/{deliveryId}/redeliverSend a delivery again
GET · POST/resumes/{id}/commentsA 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/snippetsYour reusable paragraphs, or save one
PATCH · DELETE/snippets/{snippetId}Rename, retag, or change a snippet; delete it
GET · POST/resumes/{id}/variantsA resume's variants, or make one
GET/resumes/{id}/conflictsA 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, /promoteA 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/sdk
import { 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.docx

Documents

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 an ETag. Send it back as If-Match on PATCH; if the resume changed in the meantime you get 412 Precondition Failed instead of overwriting someone's edits.
  • Idempotency-Key — add a unique value to any POST. Retrying with the same key within 24 hours returns the first response (with Idempotent-Replayed: true) instead of doing the work twice. Reusing a key for a different request returns 422.

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:

HeaderMeaning
RateLimit-LimitRequests allowed in the current minute
RateLimit-RemainingRequests left
RateLimit-ResetSeconds 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."
}
Statuscode examples
400invalid_request (with an errors list per field), invalid_document, invalid_cursor, invalid_slug, invalid_hostname
401unauthorized, invalid_api_key
403insufficient_scope, email_not_verified
404not_found
409slug_taken, domain_in_use
412precondition_failed
422idempotency_key_reused
429rate_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.

On this page