documents
Generate Document
Generate Document.
POST
https://api.{environment}.corti.app/v2/
/
interactions
/
{id}
/
documents
Path Parameters
The interaction ID representing the context for the request.
Query Parameters
If true the response happens via SSE sending back a full valid JSON always, however, the content within text may be incomplete.
Body
application/json
An array of context objects.
The ID of the template that informs on what kind of document is to be generated.
The key of the template that informs on what kind of document is to be generated.
The language in which the document will be generated. (BCP-47)
Template details if the template should be generated during the request. Overrides templateId.
An optional name for the document.
Was this page helpful?