Skip to main content
GET
/
api
/
v1
/
templates
curl --location --request GET 'https://api.wordsmith.ai/api/v1/templates' \
--header 'Authorization: Bearer YOUR_API_KEY'
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "Employment Agreement Template",
    "description": "Standard employment agreement template with customizable terms and conditions"
  },
  {
    "id": "987fcdeb-51a2-43d1-9e8f-7b6c5a4d3e2f",
    "name": "NDA Template",
    "description": "Non-disclosure agreement template for protecting confidential information"
  },
  {
    "id": "abcdef12-3456-7890-abcd-ef1234567890",
    "name": "Service Agreement",
    "description": null
  }
]
Get a list of all document templates available to your account. Templates are reusable document structures with placeholders that can be filled in to generate customized legal documents.
curl --location --request GET 'https://api.wordsmith.ai/api/v1/templates' \
--header 'Authorization: Bearer YOUR_API_KEY'
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "Employment Agreement Template",
    "description": "Standard employment agreement template with customizable terms and conditions"
  },
  {
    "id": "987fcdeb-51a2-43d1-9e8f-7b6c5a4d3e2f",
    "name": "NDA Template",
    "description": "Non-disclosure agreement template for protecting confidential information"
  },
  {
    "id": "abcdef12-3456-7890-abcd-ef1234567890",
    "name": "Service Agreement",
    "description": null
  }
]

Response Fields

id
string
The unique identifier for the template
name
string
The display name of the template
description
string | null
A description of the template’s purpose and content. Can be null if no description is provided.

Notes

  • Only templates that you have read access to will be returned
  • The list includes both your organization’s custom templates and any global templates you have access to
  • Templates contain placeholder fields that can be filled in to generate customized documents
  • Each template supports various document formats including DOCX and Markdown