---
title: "Get Template Log Details"
method: GET
path: "/api/MobileApp/get_template_log_details"
tags: ["MobileApp"]
---

# Get Template Log Details

`GET /api/MobileApp/get_template_log_details`

## Request

- Base URL: `https://api.leapsurgebi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.leapsurgebi.com/api/MobileApp/get_template_log_details`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/token`
- TypeScript: <https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/docs/api/MobileApp/get_template_log_details/get.ts> (a function with typed inputs; its response is checked against the schema)

**Function**: `get_template_log_details`
**Type**: API Endpoint (GET)

**Purpose**:  
Retrieves the template log details for a given template code and batch ID.

**Headers**:  
- `Template-Code` (str, required): The template code for which the log details are to be retrieved.
- `Batch-Id` (str, required): The batch ID for which the log details are to be retrieved.

**Response**:  
A JSON response containing the template log details, including the title, template name, generated status, generated on, sent mode, sent status, sent on, and message.

**Exceptions**:  
Returns a JSON response with status "failed" and a 500 status code for any internal errors.

## Headers

- `Template-Code` string, required
- `Batch-Id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `23b42df3193a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/changes/api/MobileApp/get_template_log_details/get.md)

---

[API](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi.md) - [All operations](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/llms.txt) - [OpenAPI document](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/revisions/13653cb8ee76?raw)
