---
title: "Get templates"
method: GET
path: "/api/vps/v1/templates"
tags: ["VPS: OS Templates"]
---

# Get templates

`GET /api/vps/v1/templates`

Retrieve available OS templates for virtual machines.

Use this endpoint to view operating system options before creating or recreating VPS instances.

## Response `200`

Success response

- VPSV1TemplateTemplateResource[] — Array of [`VPS.V1.Template.TemplateResource`](#model/vpsv1templatetemplateresource)
  - `id` integer — Template ID
  - `name` string — Template name
  - `description` string — Template description
  - `documentation` string, nullable — Link to official OS documentation

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/74abfea76e36/schema)
