Get All Templates

Retrieve a paginated list of email templates available for the authenticated customer account.

🖼️ Get All Templates

Use this endpoint to get all templates created or imported under your account.


🔹 HTTP Request

GET API-URL/templates

🧾 Query Parameters

Parameter
Default
Description

page

1

Current page to retrieve.

per_page

10

Items per page to retrieve.


🔐 Authorization Header

X-API-KEY: your-api-key-here

💻 PHP Example

// GET ALL ITEMS
$response = $endpoint->getTemplates($pageNumber = 1, $perPage = 10);

// DISPLAY RESPONSE
echo '<pre>';
print_r($response->body);
echo '</pre>';

📦 Sample JSON Response

Last updated