Skip to main content

Authentication & Scope

Requires authentication. No specific ability required.

Overview

Before uploading documents to Raydocs, you need to obtain a signed URL that allows direct upload to cloud storage. This two-step process:
  1. Get signed URL - This endpoint returns a presigned S3 URL
  2. Upload file - PUT your file directly to the URL (no auth header needed)
This approach enables efficient, direct-to-storage uploads without proxying through the API server.

Request

Body Parameters

Supported File Types

Response

200 OK – Signed URL details.

Response Fields

Upload the File

After receiving the signed URL, upload your file directly:
Do not include the Authorization header when uploading to the signed URL. The signature in the URL provides authentication.

Complete Example

Next Steps

After uploading files, use the file keys to create sessions:

Batch Create Sessions

Create sessions with auto-extract from uploaded files

API Cookbook

Complete end-to-end example