Skip to content
Seal
Esc
navigateopen⌘Jpreview

Create document from template

Creates a new draft document pre-populated with the template’s field layout. Add recipients and send when ready.

POST/templates/use
Authorization
AuthorizationBearer token · headerrequired

Pass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.

Query parameters
idstringrequired
Request body
application/json
titlestring

Title for the new document (defaults to template name)

descriptionstring
Responses
200

Document created

idstring
401

Missing or invalid API key

typestringrequired

Machine-readable error code

statusintegerrequired

HTTP status code

titlestringrequired

Human-readable error message

detailsobject

Field-level validation errors

404

Resource not found

typestringrequired

Machine-readable error code

statusintegerrequired

HTTP status code

titlestringrequired

Human-readable error message

detailsobject

Field-level validation errors

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST "https://api.seal.nyc/api/v1/templates/use?id=string" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "string",
  "description": "string"
}'
Response
{
  "id": "string"
}