Paperfuldocs

Papers

Upload a paper

POST
/papers

Upload a document to Paperful for processing.

Authorization

bearerAuth

Header Parameters

Content-Disposition?string

Specifies the uploaded file name

Accept?string

Use text/event-stream to wait for processing events.

Value in

  • "application/json"
  • "text/event-stream"

Request Body

application/octet-stream

TypeScript Definitions

Use the request body type in TypeScript.

body*file
Formatbinary

Response Body

text/event-stream

application/json

curl -X POST "https://example.com/papers" \  -H "Content-Disposition: attachment; filename="annual-report.pdf"" \  -H "Accept: text/event-stream" \  -H "Content-Type: application/octet-stream" \  -d 'string'
"string"