Skip to main content
POST
/
policies
/
{policyId}
/
documents
{
"url": "<string>",
"id": "<string>"
}

Path Parameters

policyId
string
required

the policy's id

Query Parameters

whenAt
string

Optional: the whenAt datetime

branchId
string

Optional: the branchId

Body

application/json

Add in metadata the documenttype for non-delegated document generation

name
string
required

name

metadata
object[]

metadata of the policy

Example:
[{ "key": "category", "value": "kbis" }]

Response

url
string
required

the signed url to upload the document

id
string
required

the id of the document