Skip to content

GET /api/v3/drive-templates/{lcuid}

Summary

GET /drive-templates/{lcuid}

Description

Return the details of a specific drive template

Tags: templates

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-********-****-****-****-************

Responses

Response: 200

Description: Sample Response

Content Type: application/json

Schema

Type: object

Properties:

  • success (boolean): Indicates if the request was successful
  • drive_template (object) Type: object

Properties:

  • name (string): The name of the drive template
  • description (string): The description of the drive template
  • status (integer): Additional options for the drive template
  • templates (object) Type: object

    Properties:

    • base (object) Type: object

    Properties:

    • js (string)
    • css (string)
    • html (string)
    • fonts (array)

      • Array items: object Type: object

      Properties:

      • id (integer)
      • lid (string)
      • name (string)
      • path (string)
      • lcuid (string)
      • public (boolean)
      • status (integer)
      • hash_id (string)
      • options (object) Type: object

        Properties:

        • _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)
    • assets (array)

    • fields (object) Type: object

      Properties:

      • photo (object) Type: object

      Properties:

      • type (string)
      • photo_select (string)

      • title (object) Type: object

      Properties:

      • type (string)
    • layers (array)

      • Array items: object Type: object

      Properties:

      • id (string)
      • name (string)
      • classes (array)
        • Array items: string
      • fieldName (string)
      • macroCode (string)
      • objectCode (string)
      • objectType (string)
      • objectClass (string)
      • placeholder (string)
    • used_macros (array)

      • Array items: string
    • css_size_variants (object) Type: object

      Properties:

      • poster (object) Type: object

      Properties:

      • css (string)
    • drive_image_engine (string)

    • template_board_formats (array)
      • Array items: string
    • photo_crop_aspect_ratio (number)
    • render_app_version (string)
  • variants (array)

    • Array items: object Type: object

    Properties:

    • css (string)
  • assets (array)

    • Array items: object Type: object

    Properties:

    • id (integer)
    • image (object) Type: object

      Properties:

      • 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)
  • options (object) Type: object

    Properties:

    • _init (array)
  • lcuid (string): The LCUID of the drive template

  • inventory_item_class (array): The inventory item class associated with the drive template
  • public (integer): Indicates if the drive template is public
  • template_hash (string): The unique hash that indicates the state of the template
  • created_at (string): The timestamp when the drive template was created
  • updated_at (string): The timestamp when the drive template was last updated
  • inventory_item_class_data (array): The inventory item class data associated with the drive template
  • parent (object) Type: object

    Properties:

    • name (string)
    • options (object) Type: object

    Properties:

    • primary_image_public_url (string)
    • primary_image_background_removed_public_url (string)

    • lcuid (string)

    • slug (string)
    • website (string)
    • description (string)
    • created_at (string)
    • inventory_item_class (array)
    • Array items: string
    • account_class (string)
    • inventory_item_class_description (string)
    • account_class_description (string)
    • is_parent_account (boolean)
  • created_by_user (array): The user who created the drive template

Example Response
{
    "success": true,
    "drive_template": {
        "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": 599,
                        "lid": "LFT599",
                        "name": "DINNextLTPro-MediumCond",
                        "path": "/12589/",
                        "lcuid": "LCUID-LFT-19176fe2-cac5-459f-b4f6-829dfdea42e6",
                        "public": false,
                        "status": 1,
                        "hash_id": "lch-4CIh",
                        "options": {
                            "_init": [],
                            "public_url": "http://localhost:8080/storage/12589/fnt_698239646dae0_d611687ea43348412b4b.ttf"
                        },
                        "user_id": 12589,
                        "filename": "fnt_698239646dae0_d611687ea43348412b4b.ttf",
                        "font_type": "ttf",
                        "unique_hash": "7f05d48f4a28cc6bd2f81faa3c7551f1",
                        "storage_type": "local",
                        "storage_server": "public",
                        "original_filename": "fnt_698239646dae0_d611687ea43348412b4b.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": 20508,
                "image": {
                    "id": 20508,
                    "lid": "LM20508",
                    "lcuid": "LCUID-LM-a5f569ba-975d-4342-8d4c-d471b225d7bf",
                    "hash_id": "lch-4HTo",
                    "options": {
                        "hash_md5": "8d6b96e4c1a5cd5450f6169fedd6e9c1",
                        "public_url": "http://localhost:8080/storage/13/img_698239643a967_e718322e92d5dee8a760.png",
                        "size_in_bytes": null,
                        "dimension_width": 1151,
                        "dimension_height": 251
                    },
                    "user_id": 13,
                    "mime_type": "image/png"
                }
            }
        ],
        "options": {
            "_init": []
        },
        "lcuid": "LCUID-LDT-e77793f0-9373-40e2-ac0a-6fd43efaa902",
        "inventory_item_class": [],
        "public": 0,
        "template_hash": "a1a661e8bf45ffd81139915c085bb32b",
        "created_at": "2026-02-03T18:07:31.000000Z",
        "updated_at": "2026-02-03T18:07:32.000000Z",
        "inventory_item_class_data": [],
        "parent": {
            "name": "Blue River Real Estate",
            "options": {
                "primary_image_public_url": null,
                "primary_image_background_removed_public_url": null
            },
            "lcuid": "LCUID-LA-ef6ef8ed-299f-4798-9863-0242cfe2d31f",
            "slug": "UnitTestAccountQssbw",
            "website": null,
            "description": "Here is a new unit test account description",
            "created_at": "2026-02-03T18:07:31.000000Z",
            "inventory_item_class": [
                "App\\LuCore\\InventoryItems\\GenericInventoryItemClass"
            ],
            "account_class": "App\\LuCore\\Accounts\\InventoryAccountClass",
            "inventory_item_class_description": "Generic",
            "account_class_description": "Inventory",
            "is_parent_account": false
        },
        "created_by_user": []
    }
}

Example Implementations

Bash (cURL)

curl --request GET \
  --url "https://api.lucit.app/api/v3/drive-templates/{lcuid}" \
  --header "Authorization: Bearer {AuthToken}" \
  --header "Content-Type: application/json" \
  --header "Accept: application/json" \
  --header "AppIdV3: LCUID-LAP-********-****-****-****-************"

JavaScript (Fetch API)

const url = "https://api.lucit.app/api/v3/drive-templates/{lcuid}";

const headers = {
  "Authorization": "Bearer {AuthToken}",
  "Content-Type": "application/json",
  "Accept": "application/json",
  "AppIdV3": "LCUID-LAP-********-****-****-****-************"
};

fetch(url, {
  method: "GET",
  headers: headers
})
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));

PHP (Guzzle)

<?php

require_once 'vendor/autoload.php';

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.lucit.app/api/v3/drive-templates/{lcuid}', [
  'headers' => [
    'Authorization' => 'Bearer {AuthToken}',
    'Content-Type' => 'application/json',
    'Accept' => 'application/json',
    'AppIdV3' => 'LCUID-LAP-********-****-****-****-************',
  ]
]);

$body = $response->getBody();
$data = json_decode($body, true);
print_r($data);

Python (Requests)

import requests
import json

url = "https://api.lucit.app/api/v3/drive-templates/{lcuid}"

headers = {
  "Authorization": "Bearer {AuthToken}",
  "Content-Type": "application/json",
  "Accept": "application/json",
  "AppIdV3": "LCUID-LAP-********-****-****-****-************"
}

response = requests.get(url, headers=headers)
print(response.json())

← Back to drive-templates index | Back to main index