---
title: "Get User Templates"
method: GET
path: "/api/user_template"
tags: ["User Template"]
---

# Get User Templates

`GET /api/user_template`

Get a list of User Templates with optional pagination

## Query parameters

- `offset` integer
- `limit` integer

## Response `200`

Successful Response

- UserTemplateResponse[]
  - `name` string, nullable
  - `data_limit` integer, nullable — data_limit can be 0 or greater
  - `expire_duration` integer, nullable — expire_duration can be 0 or greater in seconds
  - `username_prefix` string, nullable
  - `username_suffix` string, nullable
  - `inbounds` object
  - `id` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/atrvatam/apis/marzbanapi.md) · [All operations](https://skmtc.dev/atrvatam/apis/marzbanapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/atrvatam/marzbanapi/revisions/0aa31d6bd001/schema)
