Skip to content

Read bookmarks

POST
/v1/pdf/bookmarks/read
curl -H "X-Api-Key: $KEY" -F files=@a.pdf \
http://localhost:9027/v1/pdf/bookmarks/read

Reads the outline of each PDF sent, keyed by file name.

Media typemultipart/form-data
object
files
required

The PDF to work on. Several for merge.

Array<string>
outputFilename
string | null

Per file name

Media typeapplication/json
object

Example generated

{}

The request is wrong

Media typeapplication/json

The JSON body of every error response.

object
error
required

A stable, machine-readable kind.

string
message
required

What went wrong, for a person.

string

Example

{
"error": "invalid_request",
"message": "unknown step 'teleport'"
}