Register note attachment

POST/api/v1/notes/{note_id}/attachments

Register a new attachment for a note after successful S3 upload.

Operation ID: create_attachment_api_v1_notes__note_id__attachments_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
file_sizeintegerrequired
mime_typestringrequired
s3_keystringrequired

Responses

201Successful Response

successboolean
messagestring
codestring
dataAttachmentResponse

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