Errors
Errors are returned as JSON with an error string and optional details.
{ "error": "invalid_token" }
Common status codes
- 400 – validation error
- 401 – invalid client/token
- 403 – insufficient scope or signing/download restrictions
- 404 – not found
- 415 – unsupported media type (non-PDF)
- 500 – server error