Cartons | Tuck Top Auto Bottom Boxes | becf-1101a
3D Mockup

This documentation page is intended for developers looking to integrate the Dielines API into their systems. If you have any questions, please get in touch.

Die Cut Templates provides a hosted API available via HTTPS.

Dielines API allows for generating custom dielines in PDF, DXF, and SVG formats, along with 3D mockups.

To fetch the dieline template (becf-1101a) via the API, please make a
GET request to https://api.diecuttemplates.com/dieline-templates/in/becf-1101a


Code Examples



curl -i -X GET \
https://api.diecuttemplates.com/dieline-templates/in/becf-1101a \
  -H 'Authorization: Bearer <YOUR_DIELINES_API_KEY_HERE>' \
  -H 'Dielines-Api-Version: 1.0'


Response

application/json
{
  "dieline_template": {
    "type": "dieline_template",
    "id": "becf-1101a",
    "group": {
      "type": "dieline_template_group",
      "id": "cartons_tuck_top_auto_bottom_boxes",
      "name": "Tuck Top Auto Bottom Boxes",
      "category": "Cartons"
    },
    "tags": [
      "thumb_cut"
    ],
    "variables": [
      {
        "type": "dieline_template_variable",
        "name": "length",
        "description": "length",
        "data_type": "length",
        "required": true,
        "image": {
          "type": "svg",
          "url": "https://d2atdwxjx7uc4i.cloudfront.net/svg_api/s_52374_a20250213-2-zywqh0.svg"
        },
        "childen": []
      },
      {
        "type": "dieline_template_variable",
        "name": "width",
        "description": "width",
        "data_type": "length",
        "required": true,
        "image": {
          "type": "svg",
          "url": "https://d2atdwxjx7uc4i.cloudfront.net/svg_api/s_52374_b20250213-2-6i8sa1.svg"
        },
        "childen": []
      },
      {
        "type": "dieline_template_variable",
        "name": "height",
        "description": "height",
        "data_type": "length",
        "required": true,
        "image": {
          "type": "svg",
          "url": "https://d2atdwxjx7uc4i.cloudfront.net/svg_api/s_52374_c20250213-2-2tdmih.svg"
        },
        "childen": []
      },
      {
        "type": "dieline_template_variable",
        "name": "direction",
        "description": "direction",
        "data_type": "boolean",
        "required": false,
        "default_value": {
          "value": false
        },
        "allowed_values": [
          true,
          false,
          0,
          1
        ],
        "childen": []
      },
      {
        "type": "dieline_template_variable",
        "name": "cross",
        "description": "cross",
        "data_type": "boolean",
        "required": false,
        "default_value": {
          "value": false
        },
        "allowed_values": [
          true,
          false,
          0,
          1
        ],
        "childen": []
      },
      {
        "type": "dieline_template_variable",
        "name": "thumb_cut",
        "description": "Thumb-cut",
        "data_type": "length",
        "required": false,
        "image": {
          "type": "svg",
          "url": "https://d2atdwxjx7uc4i.cloudfront.net/svg_api/s_52374_h20250213-2-rkgaee.svg"
        },
        "default_value": {
          "value": 0.67,
          "unit": "in"
        },
        "childen": []
      },
      {
        "type": "dieline_template_variable",
        "name": "glue_flap",
        "description": "glue flap",
        "data_type": "length",
        "required": false,
        "image": {
          "type": "svg",
          "url": "https://d2atdwxjx7uc4i.cloudfront.net/svg_api/s_52374__kulak20250213-2-o8b304.svg"
        },
        "default_value": {
          "value": 0.5,
          "unit": "in"
        },
        "childen": []
      },
      {
        "type": "dieline_template_variable",
        "name": "top_tuck_flap",
        "description": "top tuck flap",
        "data_type": "length",
        "required": false,
        "image": {
          "type": "svg",
          "url": "https://d2atdwxjx7uc4i.cloudfront.net/svg_api/s_52374__dil20250213-2-nr2fv4.svg"
        },
        "default_value": {
          "value": 0.6,
          "unit": "in"
        },
        "childen": []
      },
      {
        "type": "dieline_template_variable",
        "name": "bottom_tuck_flap",
        "description": "bottom tuck flap",
        "data_type": "length",
        "required": false,
        "image": {
          "type": "svg",
          "url": "https://d2atdwxjx7uc4i.cloudfront.net/svg_api/s_52374__dip20250213-2-yt4lvi.svg"
        },
        "default_value": {
          "value": 0.435,
          "unit": "in"
        },
        "childen": []
      },
      {
        "type": "dieline_template_variable",
        "name": "lock_tab",
        "description": "lock tab",
        "data_type": "boolean",
        "required": false,
        "default_value": {
          "value": true
        },
        "allowed_values": [
          true,
          false,
          0,
          1
        ],
        "childen": []
      },
      {
        "type": "dieline_template_variable",
        "name": "dimension_texts",
        "description": "",
        "data_type": "boolean",
        "required": false,
        "allowed_values": [
          true,
          false
        ],
        "default_value": {
          "value": true
        }
      }
    ],
    "links": [
      {
        "rel": "self",
        "href": "/dieline_templates/in/becf-1101a",
        "method": "GET"
      },
      {
        "rel": "web",
        "href": "https://www.diecuttemplates.com/dielines/52374/tuck-top-auto-bottom-boxes-becf-1101a",
        "method": "GET"
      },
      {
        "rel": "remove_thumb_cut",
        "href": "/dieline_templates/in/becf-11014",
        "method": "GET"
      }
    ],
    "images": [
      {
        "type": "svg",
        "url": "https://d2atdwxjx7uc4i.cloudfront.net/svg_api/s_5237420250213-2-x6wujb.svg"
      }
    ]
  }
} 


Read Dielines API documentation