Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

Retrieve a list of templates

GET/templatesRetrieve a list of templates

Parameters

limitintegerquery

Number of items to return.

maximum 100 · minimum 1

afterstringquery

Return items after this cursor.

beforestringquery

Return items before this cursor.

Responses

200OKapplication/json
objectListTemplatesResponseSuccess
dataarray of object

Array containing templates information.

Show child attributes
Show array items
aliasstring

The alias of the template.

created_atstring · date-time

Timestamp indicating when the template was created.

idstring

The ID of the template.

namestring

The name of the template.

published_atnull | string · date-time

Timestamp indicating when the template was published.

statusstring

The publication status of the template.

one of "draft", "published"

updated_atstring · date-time

Timestamp indicating when the template was last updated.

has_moreboolean

Indicates if there are more templates to retrieve.

objectstring

Type of the response object.

Example response
{
  "data": [
    {
      "alias": "string",
      "created_at": "2026-06-09T00:00:00Z",
      "id": "string",
      "name": "string",
      "published_at": "2026-06-09T00:00:00Z",
      "status": "draft",
      "updated_at": "2026-06-09T00:00:00Z"
    }
  ],
  "has_more": true,
  "object": "list"
}
Documentation menu