# Get pre-signed URL for uploading audio chunks Retrieve a pre-signed URL for uploading audio chunks to a specific note. The URL can be used to upload audio files with the filename format complete-{{timestamp}}.m4a. The note must belong to the authenticated user's enterprise. This endpoint checks the note status and will not allow uploads if the note is already completed or still processing. Endpoint: GET /notes/{id}/presignedurl Version: 1.0.0 Security: BearerAuth ## Path parameters: - `id` (string, required) Unique identifier of the note Example: "550e8400-e29b-41d4-a716-446655440000" ## Response 200 fields (application/json): - `success` (boolean, required) Example: true - `status` (string, required) Status of the operation Enum: "success" - `url` (string, required) Pre-signed URL for uploading audio chunks. The filename will be in the format complete-{{timestamp}}.m4a Example: "https://s3.amazonaws.com/app-data-pbh-prod/newdata/550e8400-e29b-41d4-a716-446655440000/complete-1726123456789.m4a?AWSAccessKeyId=..." ## Response 201 fields (application/json): - `success` (boolean, required) - `status` (string, required) Status indicating the note is still being processed Enum: "processing" - `message` (string, required) Example: "Note is still in progress." ## Response 400 fields (application/json): - `success` (boolean, required) - `status` (string, required) Error status Enum: "error" - `message` (string, required) Example: "Please provide a valid note ID." ## Response 401 fields (application/json): - `success` (boolean, required) - `status` (string, required) Enum: "error" - `message` (string, required) Example: "You are not authorized to perform this operation" ## Response 500 fields (application/json): - `success` (boolean, required) - `status` (string, required) Enum: "error" - `message` (string, required) Example: "Unable to generate signed URL, please contact support."