List templates

Lists the templates you can create signature requests from.

GET https://cotlet.dev/api/v1/yousign/templates

read

Returns each template with its ID, name, status and the role names of its placeholder signers. Only templates in Active status can start a request. Templates are made in the Yousign app, not here.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/yousign/templates \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("yousign", "list_templates")
Node.js
const result = await cotlet.call('yousign', 'list_templates');
CLI
cotlet call yousign list_templates

Example response

JSON

{
  "templates": [
    {
      "id": "a1b2c3d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "name": "Freelance agreement",
      "status": "Active",
      "placeholder_signers": [
        "Contractor"
      ]
    },
    {
      "id": "f0e9d8c7-b6a5-4948-8372-6150a4b3c2d1",
      "name": "NDA",
      "status": "Active",
      "placeholder_signers": [
        "Counterparty"
      ]
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.