GET /api/v3/accounts/{lcuid}/drive-templates¶
Summary¶
GET accounts/{id}/drive-templates
Description¶
Return a list of templates for an account
Tags: accounts
Parameters¶
Header Parameters¶
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
Authorization |
string |
✓ Yes | Bearer {AuthToken} |
|
Content-Type |
string |
✓ Yes | application/json |
|
Accept |
string |
✓ Yes | application/json |
|
AppIdV3 |
string |
✓ Yes | LCUID-LAP-********-****-****-****-************ |
Request Body¶
Content Type: application/json¶
Schema¶
Type: object
Properties:
query(string): A query to search templates by name or description.page(integer): The page number to return, if not supplied, page 1 will be returned.per_page(integer): The number of items to return per page, if not supplied, The default of 100 will be returned.
Responses¶
Response: 200¶
Description: Sample Response
Content Type: application/json¶
Schema¶
Type: object
Properties:
success(boolean)drive_template(object) Type:object
Properties:
current_page(integer)-
data(array)- Array items:
objectType:object
Properties:
name(string)description(string)status(integer)-
templates(object) Type:objectProperties:
base(object) Type:object
Properties:
js(string)css(string)html(string)-
fonts(array)- Array items:
objectType:object
Properties:
id(integer)lid(string)name(string)path(string)lcuid(string)public(boolean)status(integer)hash_id(string)-
options(object) Type:objectProperties:
_init(array)public_url(string)
-
user_id(integer) filename(string)font_type(string)unique_hash(string)storage_type(string)storage_server(string)original_filename(string)
- Array items:
-
assets(array) -
fields(object) Type:objectProperties:
photo(object) Type:object
Properties:
type(string)-
photo_select(string) -
title(object) Type:object
Properties:
type(string)
-
layers(array)- Array items:
objectType:object
Properties:
id(string)name(string)classes(array)- Array items:
string
- Array items:
fieldName(string)macroCode(string)objectCode(string)objectType(string)objectClass(string)placeholder(string)
- Array items:
-
used_macros(array)- Array items:
string
- Array items:
-
css_size_variants(object) Type:objectProperties:
poster(object) Type:object
Properties:
css(string)
-
drive_image_engine(string) template_board_formats(array)- Array items:
string
- Array items:
photo_crop_aspect_ratio(number)render_app_version(string)
-
variants(array)- Array items:
objectType:object
Properties:
css(string)
- Array items:
-
assets(array)- Array items:
objectType:object
Properties:
id(integer)-
image(object) Type:objectProperties:
id(integer)lid(string)lcuid(string)hash_id(string)options(object) Type:object
Properties:
hash_md5(string)public_url(string)size_in_bytes(string)dimension_width(integer)-
dimension_height(integer) -
user_id(integer) mime_type(string)
- Array items:
-
options(object) Type:objectProperties:
_init(array)
-
lcuid(string) inventory_item_class(array)public(integer)template_hash(string)created_at(string)updated_at(string)inventory_item_class_data(array)
- Array items:
-
first_page_url(string) from(integer)last_page(integer)last_page_url(string)-
links(array)- Array items:
objectType:object
Properties:
url(string)label(string)active(boolean)
- Array items:
-
next_page_url(string) path(string)per_page(integer)prev_page_url(string)to(integer)total(integer)
Example Response¶
{
"success": true,
"drive_template": {
"current_page": 1,
"data": [
{
"name": "Test Template",
"description": "This is the description",
"status": 0,
"templates": {
"base": {
"js": "",
"css": "\n #rectangle_default_bg {\n width: 100%;\n height: 100%;\n top: 0%;\n left: 0%;\n }\n\n#data_source_text_362wgdor {\n width: 49.3517%;\n height: 22.8060%;\n top: 72.3160%;\n left: 1.9123%;\n font-family: 'Figtree Black';\n color: #FFFFFF;\n rotate: none;\n text-transform: uppercase;\n}\n\n#data_source_text_6k5qeivl {\n width: 19.7575%;\n height: 16.2838%;\n top: 50.0218%;\n left: 9.0127%;\n font-family: 'Figtree Black';\n color: #FFFFFF;\n rotate: none;\n}\n\n#data_source_img_4cbsfebj {\n width: 45.0964%;\n height: 90.5978%;\n top: 4.7011%;\n left: 53.2945%;\n rotate: none;\n background-size: cover;\n background-position: center;\n border-style: solid;\n border-width: 3px;\n border-radius: 4px;\n border-color: rgba(255, 255, 255, 1);\n filter: drop-shadow(5px 5px 4px rgba(0, 0, 0, 0.45));\n}\n\n#obj_rectangle_locpfw0p {\n width: 15%;\n height: 12%;\n top: 45%;\n left: 45%;\n background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, RGBA(50, 50, 50, 1) 100%);\n}",
"html": "<div id=\"rectangle_default_bg\" title=\"\" class=\"lc_ut_designer lc_dt_object lc_dt_default-background\"\n x-objectcode=\"rectangle\"></div>\n\n<div x-objectcode=\"rectangle\" title=\"Rectangle\" id=\"obj_rectangle_locpfw0p\"\n class=\"lc_ut_designer lc_dt_element lc_dt_object lc_dt_image_full_size_stretch\"></div><div x-objectcode=\"item_options_primary_image_public_url\" id=\"data_source_img_4cbsfebj\"\n class=\"lc_ut_designer lc_dt_data lc_dt_image lc_dt_image_center_cover\"\n x-placeholder=\"https:\\/\\/lucit.app\\/assets\\/designer\\/image_placeholder_Item.png\"\n style=\"background-image : url({item.options.primary_image_public_url})\"\n item.options.primary_image_public_url\"=\"\"\n data-value=\"{item.options.primary_image_public_url}\"></div><div x-objectcode=\"item_title\" id=\"data_source_text_362wgdor\"\n class=\"lc_ut_designer lc_dt_data lc_dt_text lc_format_fit_text\"\n x-placeholder=\"Your Caption\" data-value=\"{item.title}\">{item.title}</div>\n\n<div x-objectcode=\"item_price\" id=\"data_source_text_6k5qeivl\"\n class=\"lc_ut_designer lc_dt_data lc_dt_text lc_format_fit_text lc_format_price_us\"\n x-placeholder=\"25968\" data-value=\"{item.price}\">{item.price}</div>\n\n\n\n",
"fonts": [
{
"id": 601,
"lid": "LFT601",
"name": "DINNextLTPro-MediumCond",
"path": "/12609/",
"lcuid": "LCUID-LFT-17b3d428-1e7a-4317-8c14-e90705015d1e",
"public": false,
"status": 1,
"hash_id": "lch-4CIj",
"options": {
"_init": [],
"public_url": "http://localhost:8080/storage/12609/fnt_69823a6678fa8_148b43ef5098275477e7.ttf"
},
"user_id": 12609,
"filename": "fnt_69823a6678fa8_148b43ef5098275477e7.ttf",
"font_type": "ttf",
"unique_hash": "7f05d48f4a28cc6bd2f81faa3c7551f1",
"storage_type": "local",
"storage_server": "public",
"original_filename": "fnt_69823a6678fa8_148b43ef5098275477e7.ttf"
}
],
"assets": [],
"fields": {
"photo": {
"type": "image",
"photo_select": "primary"
},
"title": {
"type": "text"
}
},
"layers": [
{
"id": "rectangle_default_bg",
"name": "rectangle_default_bg",
"classes": [
"lc_ut_designer",
"lc_dt_object",
"lc_dt_default_background"
],
"fieldName": "rectangle",
"macroCode": null,
"objectCode": "rectangle",
"objectType": "object",
"objectClass": "object",
"placeholder": "rectangle"
},
{
"id": "data_source_img_4cbsfebj",
"name": "data_source_img_4cbsfebj",
"classes": [
"lc_ut_designer",
"lc_dt_data",
"lc_dt_image",
"lc_dt_image_center_cover"
],
"fieldName": "Item Image",
"macroCode": "{item.options.primary_image_public_url}",
"objectCode": "item_options_primary_image_public_url",
"objectType": "img",
"objectClass": "data_source",
"placeholder": "https=>\\/\\/lucit.app\\/assets\\/designer\\/image_placeholder_Item.png"
},
{
"id": "data_source_text_362wgdor",
"name": "data_source_text_362wgdor",
"classes": [
"lc_ut_designer",
"lc_dt_data",
"lc_dt_text",
"lc_format_fit_text"
],
"fieldName": "Title",
"macroCode": "{item.title}",
"objectCode": "item_title",
"objectType": "text",
"objectClass": "data_source",
"placeholder": "Your Caption"
},
{
"id": "data_source_text_6k5qeivl",
"name": "data_source_text_6k5qeivl",
"classes": [
"lc_ut_designer",
"lc_dt_data",
"lc_dt_text",
"lc_format_fit_text",
"lc_format_price_us"
],
"fieldName": "Price",
"macroCode": "{item.price}",
"objectCode": "item_price",
"objectType": "text",
"objectClass": "data_source",
"placeholder": "25968"
},
{
"id": "obj_rectangle_locpfw0p",
"name": "obj_rectangle_locpfw0p",
"classes": [
"lc_ut_designer",
"lc_dt_element",
"lc_dt_object"
],
"fieldName": "rectangle",
"macroCode": null,
"objectCode": "rectangle",
"objectType": "object",
"objectClass": "object",
"placeholder": "rectangle"
}
],
"used_macros": [
"item.title",
"item.price",
"item.options.primary_image_public_url"
],
"css_size_variants": {
"poster": {
"css": "#id {color:red;}"
}
},
"drive_image_engine": "\\App\\LuCore\\Images\\DriveImageEngine\\HTMLDriveImageEngine",
"template_board_formats": [
"third",
"bulletin",
"tall"
],
"photo_crop_aspect_ratio": 1.7421,
"render_app_version": "v1"
}
},
"variants": [
{
"css": "some css here"
}
],
"assets": [
{
"id": 20510,
"image": {
"id": 20510,
"lid": "LM20510",
"lcuid": "LCUID-LM-84fa334a-ca78-45f8-98b3-1865e831508f",
"hash_id": "lch-4HTq",
"options": {
"hash_md5": "8d6b96e4c1a5cd5450f6169fedd6e9c1",
"public_url": "http://localhost:8080/storage/13/img_69823a664beef_5cf54446a74afe69685a.png",
"size_in_bytes": null,
"dimension_width": 1151,
"dimension_height": 251
},
"user_id": 13,
"mime_type": "image/png"
}
}
],
"options": {
"_init": []
},
"lcuid": "LCUID-LDT-c7fc7f9f-57ca-44d3-bf3c-621f96e0432a",
"inventory_item_class": [],
"public": 0,
"template_hash": "a1a661e8bf45ffd81139915c085bb32b",
"created_at": "2026-02-03T18:11:49.000000Z",
"updated_at": "2026-02-03T18:11:50.000000Z",
"inventory_item_class_data": []
},
{
"name": "Test Template",
"description": "This is the description",
"status": 0,
"templates": {
"base": {
"js": "",
"css": "\n #rectangle_default_bg {\n width: 100%;\n height: 100%;\n top: 0%;\n left: 0%;\n }\n\n#data_source_text_362wgdor {\n width: 49.3517%;\n height: 22.8060%;\n top: 72.3160%;\n left: 1.9123%;\n font-family: 'Figtree Black';\n color: #FFFFFF;\n rotate: none;\n text-transform: uppercase;\n}\n\n#data_source_text_6k5qeivl {\n width: 19.7575%;\n height: 16.2838%;\n top: 50.0218%;\n left: 9.0127%;\n font-family: 'Figtree Black';\n color: #FFFFFF;\n rotate: none;\n}\n\n#data_source_img_4cbsfebj {\n width: 45.0964%;\n height: 90.5978%;\n top: 4.7011%;\n left: 53.2945%;\n rotate: none;\n background-size: cover;\n background-position: center;\n border-style: solid;\n border-width: 3px;\n border-radius: 4px;\n border-color: rgba(255, 255, 255, 1);\n filter: drop-shadow(5px 5px 4px rgba(0, 0, 0, 0.45));\n}\n\n#obj_rectangle_locpfw0p {\n width: 15%;\n height: 12%;\n top: 45%;\n left: 45%;\n background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, RGBA(50, 50, 50, 1) 100%);\n}",
"html": "<div id=\"rectangle_default_bg\" title=\"\" class=\"lc_ut_designer lc_dt_object lc_dt_default-background\"\n x-objectcode=\"rectangle\"></div>\n\n<div x-objectcode=\"rectangle\" title=\"Rectangle\" id=\"obj_rectangle_locpfw0p\"\n class=\"lc_ut_designer lc_dt_element lc_dt_object lc_dt_image_full_size_stretch\"></div><div x-objectcode=\"item_options_primary_image_public_url\" id=\"data_source_img_4cbsfebj\"\n class=\"lc_ut_designer lc_dt_data lc_dt_image lc_dt_image_center_cover\"\n x-placeholder=\"https:\\/\\/lucit.app\\/assets\\/designer\\/image_placeholder_Item.png\"\n style=\"background-image : url({item.options.primary_image_public_url})\"\n item.options.primary_image_public_url\"=\"\"\n data-value=\"{item.options.primary_image_public_url}\"></div><div x-objectcode=\"item_title\" id=\"data_source_text_362wgdor\"\n class=\"lc_ut_designer lc_dt_data lc_dt_text lc_format_fit_text\"\n x-placeholder=\"Your Caption\" data-value=\"{item.title}\">{item.title}</div>\n\n<div x-objectcode=\"item_price\" id=\"data_source_text_6k5qeivl\"\n class=\"lc_ut_designer lc_dt_data lc_dt_text lc_format_fit_text lc_format_price_us\"\n x-placeholder=\"25968\" data-value=\"{item.price}\">{item.price}</div>\n\n\n\n",
"fonts": [
{
"id": 602,
"lid": "LFT602",
"name": "DINNextLTPro-MediumCond",
"path": "/12611/",
"lcuid": "LCUID-LFT-87a8626f-b492-4a5f-8d39-cab66b455c63",
"public": false,
"status": 1,
"hash_id": "lch-4CIk",
"options": {
"_init": [],
"public_url": "http://localhost:8080/storage/12611/fnt_69823a671d5af_cec8e299d2a9aa4a5751.ttf"
},
"user_id": 12611,
"filename": "fnt_69823a671d5af_cec8e299d2a9aa4a5751.ttf",
"font_type": "ttf",
"unique_hash": "7f05d48f4a28cc6bd2f81faa3c7551f1",
"storage_type": "local",
"storage_server": "public",
"original_filename": "fnt_69823a671d5af_cec8e299d2a9aa4a5751.ttf"
}
],
"assets": [],
"fields": {
"photo": {
"type": "image",
"photo_select": "primary"
},
"title": {
"type": "text"
}
},
"layers": [
{
"id": "rectangle_default_bg",
"name": "rectangle_default_bg",
"classes": [
"lc_ut_designer",
"lc_dt_object",
"lc_dt_default_background"
],
"fieldName": "rectangle",
"macroCode": null,
"objectCode": "rectangle",
"objectType": "object",
"objectClass": "object",
"placeholder": "rectangle"
},
{
"id": "data_source_img_4cbsfebj",
"name": "data_source_img_4cbsfebj",
"classes": [
"lc_ut_designer",
"lc_dt_data",
"lc_dt_image",
"lc_dt_image_center_cover"
],
"fieldName": "Item Image",
"macroCode": "{item.options.primary_image_public_url}",
"objectCode": "item_options_primary_image_public_url",
"objectType": "img",
"objectClass": "data_source",
"placeholder": "https=>\\/\\/lucit.app\\/assets\\/designer\\/image_placeholder_Item.png"
},
{
"id": "data_source_text_362wgdor",
"name": "data_source_text_362wgdor",
"classes": [
"lc_ut_designer",
"lc_dt_data",
"lc_dt_text",
"lc_format_fit_text"
],
"fieldName": "Title",
"macroCode": "{item.title}",
"objectCode": "item_title",
"objectType": "text",
"objectClass": "data_source",
"placeholder": "Your Caption"
},
{
"id": "data_source_text_6k5qeivl",
"name": "data_source_text_6k5qeivl",
"classes": [
"lc_ut_designer",
"lc_dt_data",
"lc_dt_text",
"lc_format_fit_text",
"lc_format_price_us"
],
"fieldName": "Price",
"macroCode": "{item.price}",
"objectCode": "item_price",
"objectType": "text",
"objectClass": "data_source",
"placeholder": "25968"
},
{
"id": "obj_rectangle_locpfw0p",
"name": "obj_rectangle_locpfw0p",
"classes": [
"lc_ut_designer",
"lc_dt_element",
"lc_dt_object"
],
"fieldName": "rectangle",
"macroCode": null,
"objectCode": "rectangle",
"objectType": "object",
"objectClass": "object",
"placeholder": "rectangle"
}
],
"used_macros": [
"item.title",
"item.price",
"item.options.primary_image_public_url"
],
"css_size_variants": {
"poster": {
"css": "#id {color:red;}"
}
},
"drive_image_engine": "\\App\\LuCore\\Images\\DriveImageEngine\\HTMLDriveImageEngine",
"template_board_formats": [
"third",
"bulletin",
"tall"
],
"photo_crop_aspect_ratio": 1.7421,
"render_app_version": "v1"
}
},
"variants": [
{
"css": "some css here"
}
],
"assets": [
{
"id": 20511,
"image": {
"id": 20511,
"lid": "LM20511",
"lcuid": "LCUID-LM-01ffa87b-68eb-414d-b898-e3cb152fa689",
"hash_id": "lch-4HTr",
"options": {
"hash_md5": "8d6b96e4c1a5cd5450f6169fedd6e9c1",
"public_url": "http://localhost:8080/storage/13/img_69823a66e9c36_68b7f73074501465b935.png",
"size_in_bytes": null,
"dimension_width": 1151,
"dimension_height": 251
},
"user_id": 13,
"mime_type": "image/png"
}
}
],
"options": {
"_init": []
},
"lcuid": "LCUID-LDT-d2465015-7eab-4365-ba0f-037e19fd2fbe",
"inventory_item_class": [],
"public": 0,
"template_hash": "a1a661e8bf45ffd81139915c085bb32b",
"created_at": "2026-02-03T18:11:50.000000Z",
"updated_at": "2026-02-03T18:11:51.000000Z",
"inventory_item_class_data": []
}
],
"first_page_url": "http://localhost:8080/api/v3/accounts/LCUID-LA-3d9fd4b2-fc16-4583-bf61-9579fe3d4b38/drive-templates?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost:8080/api/v3/accounts/LCUID-LA-3d9fd4b2-fc16-4583-bf61-9579fe3d4b38/drive-templates?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://localhost:8080/api/v3/accounts/LCUID-LA-3d9fd4b2-fc16-4583-bf61-9579fe3d4b38/drive-templates?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"next_page_url": null,
"path": "http://localhost:8080/api/v3/accounts/LCUID-LA-3d9fd4b2-fc16-4583-bf61-9579fe3d4b38/drive-templates",
"per_page": 100,
"prev_page_url": null,
"to": 2,
"total": 2
}
}
Example Implementations¶
Bash (cURL)¶
curl --request GET \
--get "https://api.lucit.app/api/v3/accounts/LCUID-LA-506fc585-77be-11ec-acb9-c2cdb617d190/drive-templates" \
--header "Authorization: Bearer {AuthToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "AppIdV3: LCUID-LAP-********-****-****-****-************" \
--data "{
\"query\": \"modern\",
\"page\": 1,
\"per_page\": 50
}"
JavaScript (Fetch API)¶
const url = new URL(
"https://api.lucit.app/api/v3/accounts/LCUID-LA-506fc585-77be-11ec-acb9-c2cdb617d190/drive-templates"
);
const headers = {
"Authorization": "Bearer {AuthToken}",
"Content-Type": "application/json",
"Accept": "application/json",
"AppIdV3": "LCUID-LAP-********-****-****-****-************",
};
let body = {
"query": "modern",
"page": 1,
"per_page": 50
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
PHP (Guzzle)¶
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.lucit.app/api/v3/accounts/LCUID-LA-506fc585-77be-11ec-acb9-c2cdb617d190/drive-templates',
[
'headers' => [
'Authorization' => 'Bearer {AuthToken}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'AppIdV3' => 'LCUID-LAP-********-****-****-****-************',
],
'json' => [
'query' => 'modern',
'page' => 1,
'per_page' => 50,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Python (Requests)¶
import requests
import json
url = 'https://api.lucit.app/api/v3/accounts/LCUID-LA-506fc585-77be-11ec-acb9-c2cdb617d190/drive-templates'
payload = {
"query": "modern",
"page": 1,
"per_page": 50
}
headers = {
'Authorization': 'Bearer {AuthToken}',
'Content-Type': 'application/json',
'Accept': 'application/json',
'AppIdV3': 'LCUID-LAP-********-****-****-****-************'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()