LettrLabs API
API ReferenceTemplates

Retrieve a template

Returns one of the authenticated account's active templates: metadata and preview image URLs only (no design/scene definition).

GET
/v1/templates/{id}

Returns one of the authenticated account's active templates: metadata and preview image URLs only (no design/scene definition).

X-API-KEY<token>

In: header

Path Parameters

id*integer

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/templates/0"
{  "profile": {    "id": 0,    "aadId": "1cbad290-069a-4527-be23-a0c144b5302d",    "email": "string",    "firstName": "string",    "lastName": "string",    "company": "string",    "created": "2019-08-24T14:15:22Z",    "shouldProcessQrCodes": true  },  "payload": {    "id": 0,    "name": "string",    "product": "string",    "previews": {      "sceneFrontThumb": "string",      "sceneBackThumb": "string",      "sceneFrontFull": "string",      "sceneBackFull": "string",      "envelopeFull": "string"    }  },  "errors": [    "string"  ],  "hasErrors": true,  "warnings": [    "string"  ],  "hasWarnings": true,  "metadata": {    "property1": null,    "property2": null  }}
{  "profile": {    "id": 0,    "aadId": "1cbad290-069a-4527-be23-a0c144b5302d",    "email": "string",    "firstName": "string",    "lastName": "string",    "company": "string",    "created": "2019-08-24T14:15:22Z",    "shouldProcessQrCodes": true  },  "payload": {    "id": 0,    "name": "string",    "product": "string",    "previews": {      "sceneFrontThumb": "string",      "sceneBackThumb": "string",      "sceneFrontFull": "string",      "sceneBackFull": "string",      "envelopeFull": "string"    }  },  "errors": [    "string"  ],  "hasErrors": true,  "warnings": [    "string"  ],  "hasWarnings": true,  "metadata": {    "property1": null,    "property2": null  }}
"string"
{  "authenticationSchemes": [    "string"  ],  "properties": {    "items": {      "property1": "string",      "property2": "string"    }  }}
{  "profile": {    "id": 0,    "aadId": "1cbad290-069a-4527-be23-a0c144b5302d",    "email": "string",    "firstName": "string",    "lastName": "string",    "company": "string",    "created": "2019-08-24T14:15:22Z",    "shouldProcessQrCodes": true  },  "payload": {    "id": 0,    "name": "string",    "product": "string",    "previews": {      "sceneFrontThumb": "string",      "sceneBackThumb": "string",      "sceneFrontFull": "string",      "sceneBackFull": "string",      "envelopeFull": "string"    }  },  "errors": [    "string"  ],  "hasErrors": true,  "warnings": [    "string"  ],  "hasWarnings": true,  "metadata": {    "property1": null,    "property2": null  }}