Skip to main content

List Templates

This service allows you to create custom templates that can later be used to fill out documents for signing.

GET /template

Authentication

Include your public key in the Authorization header.

Authorization: puk_xxx...

Request Parameters

This endpoint does not receive parameters in the body or query params. It only requires the authorization header.

Request Examples

curl -X GET "https://dev.auco.ai/v1.5/ext/template" \
-H "Authorization: your_public_key"

Response Example

{
"data": [
{
"id": "template_id",
"name": "Test document variable modification",
"created_at": "2025-11-26T20:48:00.000Z",
"updated_at": "2025-11-26T20:48:00.000Z",
"status": "active"
},
{
"id": "template_id",
"name": "Purchase agreement",
"created_at": "2025-11-20T15:10:00.000Z",
"updated_at": "2025-11-21T09:30:00.000Z",
"status": "active"
}
]
}

Response Properties

PropertyTypeDescription
dataarrayList of templates
data[].idstringUnique template identifier
data[].namestringReadable template name
data[].statusstringTemplate status (e.g. active, inactive)
data[].created_atstring (ISO 8601)Template creation date
data[].updated_atstring (ISO 8601)Last update date

Error Codes

CodeDescription
401Unauthorized (invalid or missing key)
500Internal server error

Important Notes

  • ⚠️ You will only see templates created with your public key
  • ⚠️ The authentication key must be your public key, not the private key
  • ⚠️ Inactive templates (status: inactive) are also returned in the list
  • ℹ️ Use the returned id values for future operations with templates