---
title: "Retrieve a list of all merchant-owned custom block templates based on app id. Requires read auth."
method: GET
path: "/client/{appId}/blocks"
tags: ["Development API - Blocks"]
---

# Retrieve a list of all merchant-owned custom block templates based on app id. Requires read auth.

`GET /client/{appId}/blocks`

## Path parameters

- `appId` string, required

## Response `200`

Merchant-owned custom block template response

- object
  - `reactBlockTemplates` object[] — Block template properties
    - `owner` object — Type of block template owner
      - `type` string — Either "tapcart" or "app" but will be "app" for templates in this response
      - `id` string — App id of merchant owner
    - `label` string — Custom block title
    - `code` string — Base64 string of code to be rendered in code editor
    - `transpiledCode` string — Base64 string of transpiled code
    - `manifestOptionsList` object[] — An empty array
    - `versions` string[] — Array of previously submitted block versions
    - `updateDescription` string
    - `tags` string[]

## Other responses

- `404` — App not found
- `500` — Server error

---

[API](https://skmtc.net/tapcart/apis/tapcart-tapcart-app-pages-api.md) · [All operations](https://skmtc.net/tapcart/apis/tapcart-tapcart-app-pages-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tapcart/tapcart-tapcart-app-pages-api/revisions/4b5a76199cc4/schema)
