GET /api/templates
Description
Retrieve all active, non-editable templates available to the authenticated client's enterprise. Only published templates that are not in editable/draft mode are returned. Returns template details with CDN URLs for image and video previews.
Header Parameters
{
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
Query Parameters
search
string
Optional
Search templates by name.
sort_by
string
Optional
Sort order for results. Default:
relevanceAvailable values:
relevance, modified_descending, modified_ascending, created_descending, created_ascending, title_descending, title_ascendingper_page
integer
Optional
Number of results per page. Default:
25Example Requests
Language:
bashcurl --request GET 'https://oauth.cliquify.me/api/templates' \ --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'
Language:
javascript (Node.js)const fetch = require('node-fetch');
fetch('https://oauth.cliquify.me/api/templates', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
})
.then(res => res.json())
.then(data => console.log(data));
Language:
javaimport java.net.HttpURLConnection;
import java.net.URL;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
URL url = new URL("https://oauth.cliquify.me/api/templates");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod("GET");
conn.setRequestProperty("Authorization", "Bearer YOUR_ACCESS_TOKEN");
Scanner sc = new Scanner(conn.getInputStream());
while (sc.hasNext()) {
System.out.println(sc.nextLine());
}
sc.close();
}
}
Language:
pythonimport requests
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
response = requests.get("https://oauth.cliquify.me/api/templates", headers=headers)
print(response.json())
Language:
csharpusing System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
class Program {
static async Task Main() {
var client = new HttpClient();
client.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Bearer", "YOUR_ACCESS_TOKEN");
var response = await client.GetAsync("https://oauth.cliquify.me/api/templates");
var content = await response.Content.ReadAsStringAsync();
Console.WriteLine(content);
}
}
Language:
gopackage main
import (
"fmt"
"io"
"net/http"
)
func main() {
client := &http.Client{}
req, _ := http.NewRequest("GET", "https://oauth.cliquify.me/api/templates", nil)
req.Header.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN")
resp, _ := client.Do(req)
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
Language:
php$opts = ["http" => [
"method" => "GET",
"header" => "Authorization: Bearer YOUR_ACCESS_TOKEN"
]];
$response = file_get_contents('https://oauth.cliquify.me/api/templates', false, stream_context_create($opts));
echo $response;
Language:
rubyrequire 'net/http'
require 'uri'
uri = URI.parse("https://oauth.cliquify.me/api/templates")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer YOUR_ACCESS_TOKEN"
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.body
Success Response
{
"message": "",
"success": true,
"data": {
"current_page": 1,
"data": [
{
"name": "TEMPLATE 1",
"type": "GRAPHIC",
"media_type": "image/png",
"tag_ids": ["c4ca4238a0b923820dcc509a6f75849b", "c81e728d9d4c2f636f067f89cc14862c"],
"cdn_thumb_url": "https://cdn.example.com/templates/1366/f6tlOdnccv.png",
"cdn_video_url": null,
"created_at": "2022-10-05 16:05:23",
"updated_at": "2026-01-20 17:26:41"
},
{
"name": "TEMPLATE 2",
"type": "VIDEO",
"media_type": "video/mp4",
"tag_ids": [],
"cdn_thumb_url": "https://cdn.example.com/templates/1367/preview.png",
"cdn_video_url": "https://cdn.example.com/templates/1367/sample.mp4",
"created_at": "2023-03-15 10:30:00",
"updated_at": "2026-02-10 12:45:00"
}
],
"per_page": 25,
"total": 50
}
}
Try It Out
Heads up! This uses your live Cliquify data.
This is not a sandbox or playground — the form below performs real API requests against your account’s actual data. Please ensure you understand what the request does and what each parameter requires.
This is not a sandbox or playground — the form below performs real API requests against your account’s actual data. Please ensure you understand what the request does and what each parameter requires.