---
title: "Retrieve a BlockTemplate by blockTemplateId."
method: GET
path: "/client/{appId}/blockTemplates/{blockTemplateId}"
tags: ["Development API - Block Templates"]
---

# Retrieve a BlockTemplate by blockTemplateId.

`GET /client/{appId}/blockTemplates/{blockTemplateId}`

## Request

- Base URL: `https://api.tapcart.com`
- URL: `https://api.tapcart.com/client/{appId}/blockTemplates/{blockTemplateId}`
- Auth: HTTP bearer

Retrieves a BlockTemplate along with the specified version based on `versionIndex`. Requires read auth

## Path parameters

- `blockTemplateId` string, required
- `appId` string, required

## Query parameters

- `versionIndex` number

## Response `200`

BlockTemplate retrieved successfully.

- object
  - `blockTemplate` object

## Other responses

- `400`: Invalid versionIndex or label not found.
- `401`: Unauthorized access.
- `404`: BlockTemplate version not found.
- `500`: Internal server error.

---

[API](https://skmtc.dev/tapcart/apis/tapcart-tapcart-app-pages-api.md) - [All operations](https://skmtc.dev/tapcart/apis/tapcart-tapcart-app-pages-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tapcart/apis/tapcart-tapcart-app-pages-api/revisions/4b5a76199cc4?raw)
