---
title: "Get RCS template history"
method: GET
path: "/rcs/template_history/{template_id}"
tags: ["RCS Templates"]
---

# Get RCS template history

`GET /rcs/template_history/{template_id}`

## Request

- Base URL: `https://rcs-api.in.kaleyra.io/v1/XXXXX6913850XXXX`
- URL: `https://rcs-api.in.kaleyra.io/v1/XXXXX6913850XXXX/rcs/template_history/{template_id}`
- Auth: none declared. Required headers: `Content-Type`, `api-key`

## Path parameters

- `template_id` string, required

## Headers

- `Content-Type` 'application/json', required
- `api-key` string, required

## Response `200`

RCS Template history fetched successfully.

- TemplateHistoryResponse
  - `code` string: RCS template response code.
  - `message` string
  - `data` TemplateHistoryEntry[]
    - `template_id` string: Template ID.
    - `status` 'DRAFT' | 'CREATED' | 'SUBMITTEDFORAPPROVAL' | 'ACTIVE' | 'FAILED' | 'DELETED': Template status. DRAFT can be edited. CREATED can be edited until ACTIVE. SUBMITTEDFORAPPROVAL indicates submission to the carrier. ACTIVE templates can be used for messaging and cannot be edited. FAILED and DELETED are documented workflow states.
    - `created_date` string, date-time: Date/time at which the history entry was created.
    - `created_by` string: Identifier of the user/entity that created the history entry.
  - `error` object

## Other responses

- `400`: RCS Channel is not enabled for this User.
- `405`: Method not allowed.
- `500`: Internal Gateway Error.

---

[API](https://skmtc.dev/kaleyra/apis/kaleyra-rcs-template-api.md) - [All operations](https://skmtc.dev/kaleyra/apis/kaleyra-rcs-template-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kaleyra/apis/kaleyra-rcs-template-api/revisions/996348f423f0?raw)
