Verdocs - Developer Documentation
ReferenceRest APIAPI DocumentationTemplate documents

Attach a document to a template

POST
/v2/templates/{template_id}/documents

Request Body

application/json

Body Parameters

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.verdocs.com/v2/templates/{template_id}/documents" \  -H "Content-Type: application/json" \  -d '{    "file": "string",    "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc"  }'
{}
{
  "status": "ERROR",
  "error": "string"
}
{
  "status": "ERROR",
  "error": "string"
}
{
  "status": "ERROR",
  "error": "string"
}
{
  "status": "ERROR",
  "error": "string"
}