---
title: "Retrieve message template"
method: GET
path: "/message_templates/{id}"
tags: ["Message templates"]
---

# Retrieve message template

`GET /message_templates/{id}`

## Request

- Base URL: `https://api.pipelinecrm.com/api/v3`
- URL: `https://api.pipelinecrm.com/api/v3/message_templates/{id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer and API key in header `app-key`
  - API key in query parameter `api_key` and API key in query parameter `app_key`

## Path parameters

- `id` integer, required

## Response `200`

Successful Response

- MessageTemplateAll
  - `id` integer
  - `user_id` integer: Owner of the template
  - `name` string
  - `subject` string, nullable
  - `body` string, nullable: HTML body. Merge fields such as `{{first_name}}` are left unexpanded.
  - `shared` boolean, nullable: Visible to the whole account rather than only its owner
  - `is_sample` boolean
  - `created_at` string
  - `updated_at` string
  - `user` object
    - `id` integer
    - `first_name` string
    - `last_name` string
  - `attachments` object[]
    - `id` integer
    - `filename` string
    - `key` string
    - `content_type` string
    - `size` integer
    - `link` string, nullable: Temporary download URL

## Other responses

- `404`: No record with that id is visible to this user. Records owned by other users that you cannot see also answer 404.

---

[API](https://skmtc.dev/pipelinecrm/apis/pipeline-crm-api.md) · [All operations](https://skmtc.dev/pipelinecrm/apis/pipeline-crm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pipelinecrm/apis/pipeline-crm-api/revisions/53ebfcc83597?raw)
