---
title: "Get Template Signature Setup"
description: "Lists the signer roles saved on a PDF signature template, with the key to pass as a recipient's `role` when you send it. Each role shows whether a saved signer fills it when you leave it out."
url: "https://docs.turbodocx.com/docs/API/get-template-signature-setup"
---

# Get Template Signature Setup

> Lists the signer roles saved on a PDF signature template, with the key to pass as a recipient's `role` when you send it. Each role shows whether a saved signer fills it when you leave it out.

`GET https://api.turbodocx.com/turbosign/templates/{templateId}/signature-setup`

```bash
curl -X GET "https://api.turbodocx.com/turbosign/templates/{templateId}/signature-setup" \
  -H "Authorization: Bearer $TURBODOCX_API_KEY" \
  -H "x-rapiddocx-org-id: $TURBODOCX_ORG_ID"
```

  Request



### Path parameters

- `templateId` (string, required): The template ID.

### Responses

#### 200

The template's signer roles, in signing order.

```json
{
  "data": {
    "templateId": "0b1099cf-d7b9-41a4-822b-51b68fd4885a",
    "roles": [
      {
        "key": "client",
        "label": "Client",
        "order": 1,
        "hasSavedSigner": false,
        "fieldCount": 3,
        "anchoredFieldCount": 1
      },
      {
        "key": "countersigner",
        "label": "Countersigner",
        "order": 2,
        "hasSavedSigner": true,
        "defaultName": "Sam Lee",
        "defaultEmail": "sam@example.com",
        "fieldCount": 2,
        "anchoredFieldCount": 0
      }
    ],
    "anchors": [
      {
        "fieldId": "5f0e2c1a-7b3d-4e8f-9a6b-1c2d3e4f5a6b",
        "roleKey": "client",
        "type": "signature",
        "anchor": "{ClientSignature}",
        "placement": "replace",
        "size": {
          "width": 200,
          "height": 80
        },
        "notFound": false
      }
    ]
  }
}
```

#### 400

`templateId` is not a valid UUID.

```json
{
  "message": "There was an issue validating the params",
  "type": "ValidationError",
  "data": {
    "errors": [
      {
        "message": "\"templateId\" must be a valid GUID",
        "path": [
          "templateId"
        ],
        "type": "string.guid",
        "context": {
          "label": "templateId",
          "key": "templateId",
          "value": "abc"
        }
      }
    ]
  }
}
```

#### 401

Missing or invalid API key, or the organization ID header is missing or is not an organization the key belongs to. The response has no body.

#### 403

Viewers cannot read signature setups, because the response lists saved signer emails. The response has no body.

#### 404

The template does not exist in your organization or has no saved signature setup.

```json
{
  "message": "No saved signature setup found for this template",
  "type": "SignatureSetupNotFound",
  "error": "No saved signature setup found for this template",
  "code": "SignatureSetupNotFound"
}
```

#### 500

An unexpected server error.

```json
{
  "error": "Failed to read the template's signature setup"
}
```
