ZepoPDF ZepoPDF

API documentation

A small JSON API for the tool registry, projects and usage. File processing itself runs in the browser — the API manages data around it.

Authentication

Create a personal token in Dashboard → Settings, or exchange credentials once:

curl -X POST https://zepopdf.com/api/auth \
  -H "Content-Type: application/json" \
  -d '{"email":"you@example.com","password":"your-password"}'
# → {"token":"1|...","user":{...}}

Then send Authorization: Bearer YOUR_TOKEN with every request.

Endpoints

Method & pathAuthWhat it does
GET /api/tools—List all 571 tools. Filters: ?category=ai, ?q=merge
GET /api/tools/{slug}—One tool with its engine + params
POST /api/auth—Email + password → Sanctum token
GET /api/meTokenYour profile, plan, credits, file limit
GET /api/projectsTokenYour saved projects (paginated)
POST /api/projectsTokenSave a project: {tool_slug, title, status, data}
GET/PUT/DELETE /api/projects/{id}TokenRead, update or delete one project
GET /api/usageTokenYour totals + recent tool runs
POST /api/usageOptionalLog a tool run: {tool, credits}
POST /api/pdf/protect—AES-256 encrypt a PDF (multipart: file, password). Needs qpdf on the server.
POST /api/pdf/unlock—Remove a known password (multipart: file, password)
POST /api/pdf/repair—Rebuild a damaged PDF (multipart: file)

Example

curl https://zepopdf.com/api/tools?category=ai
# → {"data":[{"id":...,"name":"Chat with PDF","slug":"chat-with-pdf",
#      "engine":"ai-chat","category":"ai", ...}], ...}

curl https://zepopdf.com/api/projects -H "Authorization: Bearer YOUR_TOKEN"

Limits

Server PDF endpoints are throttled to 30 requests a minute per IP and enforce your plan's file-size limit. Uploaded files are deleted immediately after processing.