Generate Presigned URLs
Using the
POST /generate-presigned-urls endpoint, Plaud will send an array of pre-signed S3 upload endpoint for you to upload your users’ audio filesYou must send <5MB of data to each
PresignedUrl.Upload Each Chunk
PUT the raw bytes of each chunk directly to its presigned S3 URL (no auth needed), then read the ETag (Entity Tag) response header for each part.Using the File Upload API
Prerequisites
The File Upload API authenticates with a User Token. Use the Authentication API if you don’t have a User Token or need a new one.Find Your Region
The File Upload API is served with Plaud’s region-level API services. There is no global host for these calls; pick the host of the region your client was provisioned in when using the File Upload API.| Region | Public host | Status |
|---|---|---|
| US | platform-us.plaud.ai/developer/api | Available |
| Japan | platform-jp.plaud.ai/developer/api | Available |
| Europe | platform-eu.plaud.ai/developer/api | Coming soon |
| Singapore | platform-sg.plaud.ai/developer/api | Coming soon |
Generate Presigned Upload URLs
Request presigned S3 URLs for a multipart upload from Plaud’s API. The number of presigned URLs will depend on your file size.Upload Each Chunk to S3
For each part,PUT up to the ChunkSize of raw bytes (5MB) to its PresignedUrl. These AWS S3 calls are presigned thus no authentication is needed.
Keep the
ETag (Entity Tags) found in the response headers from each PUT call. These are needed in POST /complete-upload.ETag header for that part:
Complete the Multipart Upload
Submit the:file_idfrom the first stepupload_idfrom the first step- Array of
ETagwith its correspondingPartNumberfrom the second step
DownloadUrl is valid for 24 hours. Pass it as file_url to the Transcription API to transcribe your file!