201Successful Response
Schema: SuccessEnvelope_UserTodoResponse_
successbooleanmessagestringcodestringdataUserTodoResponse
/api/v1/todosCreate a personal or business-scoped todo for the current user.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: UserTodoCreateRequest
titlestringrequireddescriptionstringbusiness_idstringOptional business context; omit for personal todos
due_datestring · date-timereminder_atstring · date-timepriorityTodoPrioritySchemaTodoPrioritySchemaentity_typestringentity_idstringSchema: SuccessEnvelope_UserTodoResponse_
successbooleanmessagestringcodestringdataUserTodoResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject