Skip to content
Seal
Esc
↑↓navigate↵open⌘Jpreview

Merge multiple draft PDFs into a new document

POST/documents/pdf/merge
Authorization
AuthorizationBearer token · headerrequired

Pass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.

Request body
requiredapplication/json
idsstring[]required

Document public IDs, merged in order

min items 2 · max items 20
titlestring
max length 200
Responses
201

Merged document created

successboolean
idstring
public_idstring
storage_idstring
page_countinteger
404

Resource not found

typestringrequired

Machine-readable error code

statusintegerrequired

HTTP status code

titlestringrequired

Human-readable error message

detailsobject

Field-level validation errors

Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST "https://api.seal.nyc/api/v1/documents/pdf/merge" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "ids": [
    "string",
    "string"
  ],
  "title": "string"
}'
Response
{
  "success": true,
  "id": "string",
  "public_id": "string",
  "storage_id": "string",
  "page_count": 0
}