Get upload URL for note attachment

POST/api/v1/notes/{note_id}/attachments/upload-url

Generate a presigned URL to upload a file to S3 for a note.

Operation ID: get_attachment_upload_url_api_v1_notes__note_id__attachments_upload_url_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

note_idstringrequired

Request body

file_namestringrequired
mime_typestringrequired
file_sizeintegerrequired

Responses

201Successful Response

successboolean
messagestring
codestring
dataGetAttachmentUploadUrlResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject