Skip to content

GET /v1/templates

Returns a list of all published templates available to your team, or templates in a specific library.

Endpoint:

GET /v1/templates
Authorization: Bearer bp_sk_live_YOUR_KEY
ParameterTypeDescription
librarystringOptional. Filter by library slug (e.g., carbon). Returns only templates from that library.

Status: 200 OK

{
"templates": [
{
"id": "abc123",
"name": "Shipping Label",
"slug": "shipping-label",
"dimensions": { "width": "4in", "height": "6in" },
"tags": ["shipping"],
"publishedAt": 1711843200000
},
{
"id": "def456",
"name": "Product 2x1",
"slug": "product-2x1",
"librarySlug": "carbon",
"dimensions": { "width": "2in", "height": "1in" },
"tags": ["labels"],
"publishedAt": 1711756800000
}
]
}
FieldTypeDescription
templatesarrayArray of template metadata objects.
templates[].idstringTemplate ID.
templates[].namestringTemplate name.
templates[].slugstringTemplate slug. For team templates, use this directly as templateId.
templates[].librarySlugstringLibrary slug (present only for library templates). Use librarySlug:slug as templateId (e.g., carbon:product-2x1).
templates[].dimensionsobjectTemplate dimensions (width, height, optional safeMargin).
templates[].tagsstring[]Organizational tags.
templates[].publishedAtnumberPublish timestamp (milliseconds since epoch).
Terminal window
curl -H "Authorization: Bearer bp_sk_live_YOUR_KEY" \
https://api.binderypress.dev/v1/templates
Terminal window
curl -H "Authorization: Bearer bp_sk_live_YOUR_KEY" \
"https://api.binderypress.dev/v1/templates?library=carbon"
StatusCodeCause
401AUTH_REQUIREDMissing or invalid API key.