Upload a temporary PDF

View as Markdown

Upload one PDF in the file multipart field. The returned signed URL remains usable until expires_at and may be supplied when creating a Fax Message.

Authentication

AuthorizationBearer
Send `Authorization: Bearer <app_uuid>:<api_key>` using an active API key. See [Authentication](https://voice-platform.docs.buildwithfern.com/api/authentication) for details.

Request

This endpoint expects a multipart form containing a file.
filefileRequired

Response headers

traceparentstringOptional

Server-owned W3C Trace Context for correlating this response with support and observability data. It is present on successful and error responses. A valid incoming traceparent is linked to, but never becomes, the server-owned trace identifier.

Response

The immutable temporary PDF was stored.
expires_atdatetime
urlstringformat: "uri"

Errors

400
Bad Request Error
401
Unauthorized Error
406
Not Acceptable Error
413
Content Too Large Error
415
Unsupported Media Type Error
429
Too Many Requests Error
503
Service Unavailable Error