Create Document

<Badge>Available by Request</Badge> Creates a document for a specific household <Note> This endpoint is part of our evolving API ecosystem. To explore availability for your integration, please contact our team. </Note>

Path parameters

householdIdstringRequired
The id of the household

Request

This endpoint expects a multipart form containing a file.
filefileRequired

The file to upload (max 5MB). Supported formats - image/jpeg, image/png, image/gif, application/pdf

idempotencyIdstringRequiredformat: "uuid"
Unique identifier to ensure idempotent operations
createdByIdstringRequiredformat: "uuid"
The ID of the user who created the attachment
namestringOptional<=255 characters
The name of the document. If not provided, the filename will be used
documentTypeenumOptionalDefaults to Miscellaneous
The type of document being uploaded
Allowed values:

Response

The created document
householdIdstringformat: "uuid"
idstringformat: "uuid"
propertyIdstringformat: "uuid"
urlstring
createdAtdatetimeOptional
createdByUserIdstringOptionalformat: "uuid"
deletedAtdatetimeOptional
householdobjectOptional
idempotencyIdstringOptionalformat: "uuid"
isReviewedbooleanOptionalDefaults to false
Indicates if the document has been reviewed by compliance
mimeTypestringOptional
namestringOptional
notesstringOptional
organizationIdstringOptionalformat: "uuid"
propertyobjectOptional
readableIdstringOptional
typestringOptional
updatedAtdatetimeOptional