---
title: "List User Message Templates"
method: GET
path: "/restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store-templates"
tags: ["SMS Templates"]
---

# List User Message Templates

`GET /restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store-templates`

## Request

- Base URL: `https://platform.ringcentral.com`
- URL: `https://platform.ringcentral.com/restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store-templates`
- Auth: OAuth 2
  - Authorization code: `https://platform.ringcentral.com/restapi/oauth/authorize`
  - Token URL: `https://platform.ringcentral.com/restapi/oauth/token`
- TypeScript: <https://skmtc.dev/ringcentral/apis/ringcentral-api/docs/restapi/v1.0/account/:accountId/extension/:extensionId/message-store-templates/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of user's personal text message templates.

## Path parameters

- `accountId` string, required
- `extensionId` string, required

## Query parameters

- `siteIds` string[]
- `scope` 'Company' | 'Personal': Specifies if a template is available on a user (Personal) or a company (Company) level

## Response `200`

List of user text message templates

- MessageTemplatesListResponse
  - `records` MessageTemplateResponse[]: List of text message templates
    - `id` string: Internal identifier of a template
    - `displayName` string: Name of a template
    - `body` TemplateInfo: Text message template information
      - `text` string, required: Text of the message template. Maximum length is 1000 symbols (2-byte UTF-16 encoded). If a character is encoded in 4 bytes in UTF-16 it is treated as 2 characters, thus limiting the maximum message length up to 500 symbols
    - `scope` 'Company' | 'Personal': Specifies if a template is available on a user (Personal) or a company (Company) level
    - `site` Site: Specifies a site that message template is associated with. Supported only if the Sites feature is enabled. The default is `main-site` value.
      - `id` string: Internal identifier of a site
      - `name` string: Custom name of a site

## Other responses

- `404`: General response with **HTTP 404 "Not found"** status.<br> Reasons: the entity with given ID (typically specified in a path parameter), is not found or inaccessible

---

[API](https://skmtc.dev/ringcentral/apis/ringcentral-api.md) - [All operations](https://skmtc.dev/ringcentral/apis/ringcentral-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ringcentral/apis/ringcentral-api/revisions/8d602198ec97?raw)
