Automette docs

Connect a form to a template

PUT
/api/v1/forms/{id}/docgen

Authorization

ApiKeyAuth
AuthorizationBearer <token>

API key from Settings → API Keys.

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/api/v1/forms/string/docgen" \  -H "Content-Type: application/json" \  -d '{    "template_id": "string",    "field_map": {}  }'
Empty