Generate synchronously
Submit a generation request and receive the document in the response.
Last updated
curl -X POST "https://<api-host>/generate/sync" \
-H "X-Api-Key: $DOCAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"data": [
{
"sectionKey": "borrower",
"sectionData": {
"name": "Northwind Trading Co.",
"entityType": "Corporation"
}
}
],
"format": "docx"
}'