List email templates

The email templates your account can apply, with name and purpose.

GET https://cotlet.dev/api/v1/ashby/email-templates

read

Returns the templates shown in the template dropdown of the Ashby email editor that your account can use, such as rejection, scheduling and offer emails. Pass a name to send_email, archive_application or send_offer_letter.

Parameters

No parameters.

Request

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

Example response

JSON

{
  "templates": [
    {
      "name": "After screen"
    },
    {
      "name": "Still interested"
    },
    {
      "name": "Offer letter"
    }
  ]
}

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.