Get Template

Retrieve full details of a specific template by its ID, including files, recipients, and template variables.

Endpoint

GET https://api.airsign.com.au/api/v1/Template/{templateId}

Headers

NameValueRequiredDescription
AuthorizationBearer {access_token}YesBearer token obtained from authentication

Path Parameters

ParameterTypeRequiredDescription
templateIdstringYesThe unique identifier of the template

Example Request

curl --location 'https://api.airsign.com.au/api/v1/Template/{templateId}' \
--header 'Authorization: Bearer {access_token}'

Response

Status: 200 OK

{
  "templateId": "{uuid}",
  "name": "Employment Contract",
  "status": "active",
  "selfSignOnly": false,
  "createdAt": "2025-05-01T08:00:00.000Z",
  "updatedAt": "2025-06-10T12:00:00.000Z",
  "files": [
    {
      "fileId": "{uuid}",
      "fileName": "contract.pdf"
    }
  ],
  "recipients": [
    {
      "recipientId": "default",
      "name": "Employee",
      "email": "",
      "recipientType": "toCompleteEmail",
      "signingOrder": 1
    }
  ],
  "variables": [
    {
      "variableId": "{uuid}",
      "name": "employee_name",
      "displayName": "Employee Name",
      "type": "text",
      "required": true,
      "defaultValue": "",
      "description": "Full legal name of the employee"
    }
  ]
}

Response Fields

FieldTypeDescription
variablesarrayTemplate variables that can be filled when creating a session via variableValues
variables[].typestringVariable type: text, number, date, image, table
variables[].requiredbooleanWhether a value must be provided when creating a session
recipientsarrayTemplate recipients. Empty name/email fields should be filled when creating a session

Error Responses

StatusDescription
401Unauthorized - invalid or missing token
404Template not found or does not belong to your organisation
429Rate limit exceeded