---
title: "Get All Account Templates"
method: GET
path: "/accounts/{accountId}/templates"
tags: ["Account"]
---

# Get All Account Templates

`GET /accounts/{accountId}/templates`

Retrieves a paginated list of account-level message templates.  Supports global search filtering by template name or body text,  sorting options, and direct lookup using a specific template ID.

## Path parameters

- `accountId` string, required

## Query parameters

- `search` string
- `pageNumber` integer
- `pageSize` integer
- `sorting` 'Ascending' | 'Descending'
- `templateId` string

## Response `200`

Success

- AppTemplatePaginatedResponse3ExternalApiResponseNew
  - `data` AppTemplatePaginatedResponse3
    - `pageNumber` integer
    - `pageSize` integer
    - `totalCount` integer
    - `totalPages` integer
    - `data` AppTemplate[]
      - `templateId` string
      - `name` string
      - `message` string
      - `status` string
      - `mediaDetails` MediaDetails
        - `mediaPath` MediaPath[], nullable
          - `fileName` string
          - `extension` string
          - `fileSaveId` string
          - `mimetype` string
          - `url` string
  - `appCode` string
  - `message` string
  - `isError` boolean

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/ministrybytext/apis/pbt-api-documentation.md) · [All operations](https://skmtc.net/ministrybytext/apis/pbt-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ministrybytext/pbt-api-documentation/versions/ca6e9c8f430d/schema)
