Bulk-create notes (localStorage migration)
POST
/api/v1/notes/bulk
Create multiple notes at once, used to migrate existing localStorage notes to the database.
Authentication
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Request body
Schema: NoteBulkCreateRequest
-
notesarray · NoteCreateRequest requiredNoteCreateRequest -
2 fields
-
titlestring -
bodystring
-
Responses
400 Bad Request - Invalid input
401 Unauthorized - Authentication required
403 Forbidden - Insufficient permissions
422 Validation Error
Schema: HTTPValidationError
-
detailarray · ValidationError ValidationError -
5 fields
-
locarray · string | integer required -
msgstring required -
typestring required -
inputobject -
ctxobject
-