Skip to navigation

Create Document

Available by Request

Creates a document for a specific household

This endpoint is part of our evolving API ecosystem. To explore availability for your integration, please contact our team.

Authentication

x-api-keystring
API Key authentication via header

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
urlstring
idstringformat: "uuid"
householdIdstringformat: "uuid"
propertyIdstringformat: "uuid"
namestringOptional
typestringOptional
mimeTypestringOptional
notesstringOptional
isReviewedbooleanOptionalDefaults to false
Indicates if the document has been reviewed by compliance
readableIdstringOptional
idempotencyIdstringOptionalformat: "uuid"
createdAtdatetimeOptional
updatedAtdatetimeOptional
deletedAtdatetimeOptional
organizationIdstringOptionalformat: "uuid"
createdByUserIdstringOptionalformat: "uuid"
householdobjectOptional
propertyobjectOptional