API 액세스
One request. Your document back.
Send a file and the tool you want. The finished file comes straight back in the same reply, ready to save or pass on.
- 30+ tools: convert to and from PDF, Word and Excel, compress, merge, OCR, watermark and more.
- One request: send your file, get the finished file straight back. No waiting and checking.
- Clear credits per file or page. Failed requests cost nothing. 2,500 free credits to start.
- Copy-and-paste examples in cURL, Python, JavaScript, PHP and C#. Files are deleted automatically.
curl -X POST "https://helpwithdocument.com/api/v1/run" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "operation=pdf-to-excel" \
-F "files=@invoice.pdf" \
-o "invoice.xlsx"What comes back
invoice.xlsx
Your finished file, ready to save
- Credits used
- 10
- Reference
- job_a1b2c3d4e5f60718293a4b5c
If something is wrong, you get a short message instead, for example “Your organisation does not have enough processing credits.” Nothing is charged.
- 1
Get an API key
Sign up, open the Business dashboard and create a key. It takes a minute.
- 2
Copy the example
Pick your language, paste the example and put your key and file name in.
- 3
Get your file
Run it. The finished document comes back in the same reply.
Pay for what you use. Unlimited users on every plan.
Full reference
What you can do
- Convert Word, Excel, PowerPoint, images, HTML, and text into PDF.
- Convert PDF files into Word, Excel, images, or text.
- Merge, split, compress, rotate, repair, protect, unlock, watermark, and number PDF pages.
- Run OCR on scanned documents. OCR is billed per page.
- Edit PDF and Sign PDF stay on the website as interactive tools.
How it works
- Create a HelpWithDocument account and get an API key.
- Send your document and the tool you want to POST /run.
- The finished file comes back in the same reply.
For very large files or long jobs, you can instead send the file now and collect the result later (see Big jobs below).
One request
POST https://helpwithdocument.com/api/v1/run
| You send | What it is |
|---|---|
| Authorization: Bearer YOUR_API_KEY | Your API key from the Business dashboard. |
| operation | The tool, for example pdf-to-excel. See the list below. |
| files | Your file. Repeat it to send several, for example to merge. |
| Settings (optional) | Extra choices some tools take, for example watermarkText or password. |
| You get back | What it is |
|---|---|
| 200 + file | Done. Save the reply as the file. X-Credits-Used says what it cost; X-Job-Id lets you download it again later. |
| 401 | The API key is missing or wrong. |
| 402 | Not enough credits. Top up in the Business dashboard. |
| 400 / 413 | Wrong file type, unknown tool or file too large. The message says which. |
| 422 | The file could not be processed, for example it is damaged or password-protected. Nothing is charged. |
| 429 | Too many requests at once. Wait the number of seconds in the message and try again. |
Every problem comes back in the same short form: {"error":{"code":"insufficient_credits","message":"..."}}
Processing credits
- Every new account gets 2,500 free trial credits, once. They never expire.
- Successful jobs deduct credits once.
- Failed jobs, status checks, and repeated downloads cost 0 credits.
- OCR is billed per page.
- PDF 서명 — 서명당 80크레딧
- PDF당 서명자/서명은 최대 10개.
Supported API tools
These tools are available on the HelpWithDocument API.
Core PDF
| Tool | Input | Output | Credits |
|---|---|---|---|
| PDF 병합 | PDF (2–20 files) | 5 credits per task | |
| PDF 분할 | PDF 또는 ZIP | 5 credits per file | |
| PDF 압축 | 10 credits per file | ||
| PDF 회전 | 5 credits per file | ||
| PDF 정리 | PDF (1–20 files) | 10 credits per file | |
| 페이지 추출 | 5 credits per file | ||
| 페이지 제거 | 5 credits per file | ||
| PDF 복구 | 10 credits per file | ||
| 페이지 번호 추가 | 5 credits per file | ||
| 워터마크 추가 | 5 credits per file | ||
| Custom Watermark | 5 credits per file | ||
| PDF 보호 | 5 credits per file | ||
| PDF 잠금 해제 | 5 credits per file | ||
| PDF 서명 | 80 credits per signature | ||
| PDF를 PDF/A로 | 10 credits per file |
Office & Data Conversions
| Tool | Input | Output | Credits |
|---|---|---|---|
| Word를 PDF로 | DOC, DOCX | 10 credits per file | |
| PDF를 Word로 | Word (DOCX) | 10 credits per file | |
| Excel을 PDF로 | XLS, XLSX | 10 credits per file | |
| PDF를 Excel로 | XLSX | 10 credits per file | |
| PowerPoint를 PDF로 | PPT, PPTX | 10 credits per file | |
| CSV를 PDF로 | CSV | 10 credits per file | |
| HTML을 PDF로 | HTML | 10 credits per file | |
| TXT를 PDF로 | TXT | 5 credits per file |
Image & Text conversions
| Tool | Input | Output | Credits |
|---|---|---|---|
| JPG를 PDF로 | JPEG or PNG (1–20) | 5 credits per file | |
| PNG를 PDF로 | PNG (1–20) | 5 credits per file | |
| 스캔을 PDF로 | JPEG, PNG, or WEBP | 5 credits per file | |
| PDF를 JPG로 | JPG 또는 ZIP | 5 credits per page | |
| PDF를 PNG로 | PNG 또는 ZIP | 5 credits per page | |
| PDF를 TXT로 | TXT | 5 credits per file |
OCR
| Tool | Input | Output | Credits |
|---|---|---|---|
| OCR | PDF, JPEG, PNG, TIFF, or WEBP | 검색 가능한 PDF 또는 TXT | 5 credits per page |
| OCR PDF | PDF, JPEG, PNG, TIFF, or WEBP | 검색 가능한 PDF 또는 TXT | 5 credits per page |
Custom Watermark
Apply text or image watermarks. Each PDF costs 5 credits. Send to POST /run to get the watermarked file straight back (swap /jobs for /run in the examples below), or to POST /jobs for big batches.
POST /jobswithoperation=custom-watermarkPOST /watermarks,GET /watermarks,PATCH /watermarks/{id},DELETE /watermarks/{id}
curl -X POST "https://helpwithdocument.com/api/v1/jobs" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "operation=custom-watermark" \
-F "files=@contract.pdf" \
-F 'watermarks=[{"kind":"text","text":"CONFIDENTIAL","position":"diagonal","opacity":0.25,"rotationDeg":-45}]'curl -X POST "https://helpwithdocument.com/api/v1/jobs" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "operation=custom-watermark" \
-F "files=@contract.pdf" \
-F 'watermarks=[{"kind":"image","imageBase64":"iVBOR...","position":"bottom-right","scale":0.2,"opacity":0.4}]'curl -X POST "https://helpwithdocument.com/api/v1/jobs" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "operation=custom-watermark" \
-F "files=@invoice.pdf" \
-F 'watermarks=[{"kind":"text","text":"{company} · {document_id} · {date} {time}"}]' \
-F 'variables={"company":"Acme Ltd","customer":"Ada","email":"ada@acme.test","document_id":"INV-204"}'curl -X POST "https://helpwithdocument.com/api/v1/watermarks" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Confidential stamp","watermarks":[{"kind":"text","text":"CONFIDENTIAL","pageMode":"all"}]}'
curl -X POST "https://helpwithdocument.com/api/v1/jobs" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "operation=custom-watermark" \
-F "files=@contract.pdf" \
-F "watermark_id=wm_YOUR_SAVED_ID"# Selected pages or odd/even
-F 'watermarks=[{"kind":"text","text":"DRAFT","pageMode":"selected","pages":"1-2,5"}]'
-F 'watermarks=[{"kind":"text","text":"INTERNAL","pageMode":"odd"}]'
# Tiled watermark
-F 'watermarks=[{"kind":"text","text":"SAMPLE","tile":{"enabled":true,"gapX":80,"gapY":80}}]'
# Multiple watermarks
-F 'watermarks=[{"kind":"text","text":"CONFIDENTIAL","layer":"background"},{"kind":"image","imageBase64":"...","position":"bottom-right","layer":"foreground"}]'Big jobs: send now, collect later
For very large files, many files at once, or if you would rather not wait for the reply: send the file to /jobs, then collect the result when it is ready, or get a webhook.
기본 URL: https://helpwithdocument.com/api/v1. 인증 방식 Authorization: Bearer YOUR_API_KEY. 키 시작 값 hwd_live_.
POST /run— one request, file backPOST /jobs— send now, collect laterGET /jobs/{id}— polling costs 0 creditsGET /jobs/{id}/download— repeated downloads cost 0 creditsGET /usage
Choose a tab to view one example at a time.
# 1. Submit job (returns HTTP 202 straight away)
curl -X POST "https://helpwithdocument.com/api/v1/jobs" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "operation=word-to-pdf" \
-F "files=@YOUR_FILE.docx"
# 2. Poll status (does not deduct credits)
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://helpwithdocument.com/api/v1/jobs/JOB_ID"
# 3. Download output
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://helpwithdocument.com/api/v1/jobs/JOB_ID/download" \
-o "output.pdf"