PlunkPlunk
API ReferenceTemplates

List templates

Get a paginated list of email templates

GET
/templates

Authorization

ApiKeyAuth

AuthorizationBearer <token>

API Key authentication. Secret keys (sk_*) are required for all endpoints except /v1/track. Public keys (pk_*) only work with the /v1/track endpoint for client-side event tracking. The project is automatically derived from the key.

In: header

Query Parameters

limit?integer

Maximum items per page

Default20
Range1 <= value <= 100
cursor?string

Pagination cursor

type?string
Value in"TRANSACTIONAL" | "MARKETING"
search?string

Response Body

application/json

curl -X GET "https://plunk-api.tophunting.ai/templates"
{
  "templates": [
    {
      "id": "string",
      "name": "string",
      "subject": "string",
      "body": "string",
      "type": "TRANSACTIONAL",
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ],
  "total": 0,
  "page": 0,
  "pageSize": 0,
  "totalPages": 0
}