Skip to main content
GET
/
email
/
templates
List templates
curl --request GET \
  --url http://localhost/public/v1/email/templates
{
  "ok": true,
  "templates": {
    "data": [
      {
        "id": "<string>",
        "team_id": "<string>",
        "name": "<string>",
        "subject": "<string>",
        "content_type": "<string>",
        "scope": "<string>",
        "status": "<string>",
        "meta": {
          "json_schema": "<string>",
          "tags": [
            "<string>"
          ]
        },
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z",
        "content": "<string>",
        "alt_content": "<string>"
      }
    ]
  },
  "meta": {
    "current_page": "<string>",
    "per_page": 123,
    "total": "<string>"
  }
}

Query Parameters

page
integer

Optional. Page number for pagination (default: 1).

Required range: x >= 1
per_page
integer

Optional. Number of items per page (default: 15, max: 100).

Required range: 1 <= x <= 100
include[]
enum<string>[]

Optional. Include field must be "content".

Available options:
content

Response

ok
boolean
required
templates
object
required
meta
object
required