Skip to main content
POST
Submit a document

Authorizations

X-API-Key
string
header
required

API key issued per external API client.

Path Parameters

caseId
string<uuid>
required

The case id, a UUID v4 you generate before quoting.

Example:

"3f9c2a7e-58b1-4d0a-9a51-0c6e2f1b7d42"

Body

multipart/form-data

A document to store in the case, sent as multipart form data.

type
enum<string>
required

data-protection-consent is the signed data protection annex (Anexo LOPD), a case document signed by the landlord and every tenant. Every other type is a tenant document.

Available options:
data-protection-consent,
identity-document,
employment-contract,
work-history-report,
payslip,
income-tax-return,
quarterly-tax-return,
pension-certificate,
company-tax-id-card,
corporate-income-tax-return,
power-of-attorney,
guarantor-identity-document,
guarantor-income-proof,
military-commitment
Example:

"payslip"

file
file
required

The document. PDF, JPEG or PNG, up to 10 MB.

tenantId
string<uuid>

The tenant the document belongs to (tenants[].id). Omit it for case documents (data-protection-consent).

Example:

"6b1e0d44-2c3f-4b8e-a0f2-91d7e5c3a810"

Response

Document stored

The stored document and the updated documentation of the case, wrapped in data.

data
object
required

The stored document and the updated documentation of the case.