Skip to content

GET /v1/templates

Returns a list of all published templates available to your team.

Endpoint:

GET /v1/templates
Authorization: Bearer bp_sk_live_YOUR_KEY

Status: 200 OK

{
"templates": [
{
"_id": "abc123",
"name": "Shipping Label",
"status": "published",
"teamId": "team_xyz",
"createdAt": 1711843200000
},
{
"_id": "def456",
"name": "Invoice",
"status": "published",
"teamId": "team_xyz",
"createdAt": 1711756800000
}
]
}
FieldTypeDescription
templatesarrayArray of template metadata objects.
templates[]._idstringTemplate ID. Use this as templateId in render requests.
templates[].namestringTemplate name.
templates[].statusstringAlways "published" for API key access.
templates[].teamIdstringOwning team ID.
templates[].createdAtnumberCreation timestamp (milliseconds since epoch).
Terminal window
curl -H "Authorization: Bearer bp_sk_live_YOUR_KEY" \
https://api.binderypress.dev/v1/templates
StatusCodeCause
401AUTH_REQUIREDMissing or invalid API key.