---
title: "Get Report Template"
method: GET
path: "/reports/templates/{template_id}"
tags: ["Reports"]
---

# Get Report Template

`GET /reports/templates/{template_id}`

## Request

- Base URL: `https://api.rebrandly.com/v1`
- URL: `https://api.rebrandly.com/v1/reports/templates/{template_id}`
- Auth: API key in header `apikey`

Get details of a specific report template.

**Requires:**
- Workspace access

## Path parameters

- `template_id` string, required

## Headers

- `Workspace` string
- `apikey` string, required

## Response `200`

Template details

- ReportTemplate: Custom report template
  - `id` string, required: Template public ID
  - `name` string, required: Template name
  - `description` string: Template description
  - `query` object: Query definition for the report
  - `schedule` object: Schedule configuration
    - `id` string
    - `frequency` 'daily' | 'weekly' | 'monthly'
    - `active` boolean
    - `nextRun` string, date-time
  - `lastExecutionTimestamp` string, date-time: Last time the report was executed
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `404`: Resource not found

---

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