curl https://tawked.com/v1/email/templates \
-H "Authorization: Bearer tk_live_xxxxxxxxxxxxxxxxxxxx"const res = await fetch("https://tawked.com/v1/email/templates", {
headers: {
Authorization: "Bearer tk_live_xxxxxxxxxxxxxxxxxxxx",
},
});
const data = await res.json();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://tawked.com/v1/email/templates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
res = requests.get(
"https://tawked.com/v1/email/templates",
headers={"Authorization": "Bearer tk_live_xxxxxxxxxxxxxxxxxxxx"},
)
data = res.json(){
"data": [
{
"id": "0199f1f0-2d3e-7f4a-8b5c-6d7e8f9a0b12",
"alias": "order-shipped",
"name": "تم شحن الطلب",
"state": "published",
"published_version": 3,
"published": {
"id": "0199f200-3d4e-7f5a-8b6c-7d8e9f0a1b23",
"number": 3,
"state": "published",
"subject": "طلبك {{ ORDER }} في الطريق",
"from": null,
"reply_to": [],
"variables": [
{
"key": "ORDER",
"fallback": null
},
{
"key": "NAME",
"fallback": "عميلنا"
}
],
"placeholders": [
"ORDER",
"NAME"
],
"problems": [],
"published_at": "2026-10-23T09:00:00+00:00",
"updated_at": "2026-10-23T09:00:00+00:00"
},
"draft": null,
"created_at": "2026-10-20T09:00:00+00:00",
"updated_at": "2026-10-23T09:00:00+00:00"
}
],
"has_more": false,
"next_cursor": null
}{
"error": "invalid_request"
}{
"error": "unauthorized"
}{
"error": "live_key_required"
}{
"error": "email_access_required"
}{
"error": "too_many_requests"
}{
"error": "internal_error"
}List templates
Lists the application’s hosted templates, newest change first, without their HTML and text. A live key of the application with email:read (or email:send, or email:manage).
curl https://tawked.com/v1/email/templates \
-H "Authorization: Bearer tk_live_xxxxxxxxxxxxxxxxxxxx"const res = await fetch("https://tawked.com/v1/email/templates", {
headers: {
Authorization: "Bearer tk_live_xxxxxxxxxxxxxxxxxxxx",
},
});
const data = await res.json();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://tawked.com/v1/email/templates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
res = requests.get(
"https://tawked.com/v1/email/templates",
headers={"Authorization": "Bearer tk_live_xxxxxxxxxxxxxxxxxxxx"},
)
data = res.json(){
"data": [
{
"id": "0199f1f0-2d3e-7f4a-8b5c-6d7e8f9a0b12",
"alias": "order-shipped",
"name": "تم شحن الطلب",
"state": "published",
"published_version": 3,
"published": {
"id": "0199f200-3d4e-7f5a-8b6c-7d8e9f0a1b23",
"number": 3,
"state": "published",
"subject": "طلبك {{ ORDER }} في الطريق",
"from": null,
"reply_to": [],
"variables": [
{
"key": "ORDER",
"fallback": null
},
{
"key": "NAME",
"fallback": "عميلنا"
}
],
"placeholders": [
"ORDER",
"NAME"
],
"problems": [],
"published_at": "2026-10-23T09:00:00+00:00",
"updated_at": "2026-10-23T09:00:00+00:00"
},
"draft": null,
"created_at": "2026-10-20T09:00:00+00:00",
"updated_at": "2026-10-23T09:00:00+00:00"
}
],
"has_more": false,
"next_cursor": null
}{
"error": "invalid_request"
}{
"error": "unauthorized"
}{
"error": "live_key_required"
}{
"error": "email_access_required"
}{
"error": "too_many_requests"
}{
"error": "internal_error"
}Authorizations
Authorization: Bearer . An application key (tk_live_, tk_test_) has full access, which covers every product and any product added later, or custom access, chosen when the key is created: one or more of the scopes verify:check, verify:send (includes verify:check), notifications:read, notifications:send (includes notifications:read), email:read, email:send (includes email:read), email:manage (includes email:send), webhooks:manage, email:inbound, notifications:templates (includes notifications:read), chat:menus, chat:attendant. No key made on the API keys page holds notifications:templates, full access included: the three template writes answer such a key 403 insufficient_scope. A connected app's key holds it. Nor chat:menus: the five conversation menu operations answer such a key 403 insufficient_scope, and a connected app's key holds it once the client approved it. Nor chat:attendant: the five auto-attendant operations answer such a key 403 insufficient_scope too, and a connected app's key holds it once the client approved it. email:manage and webhooks:manage are held only by a key someone chose them for: a full-access key, old or new, never holds them. email:inbound, which reads, deletes and forwards received e-mail, is opt-in on every key, full access included: a key holds it only when it was turned on when the key was created. A call outside the key's access answers 403 insufficient_scope and names the scope it needs in the WWW-Authenticate response header. A partner key (tk_partner_) always has full access. Whatever its access, a key is a server-side secret.
Query Parameters
1 to 100 a page; 20 by default.
The previous page's next_cursor.