---
title: "List public templates"
method: GET
path: "/templates/public_templates"
tags: ["Templates"]
---

# List public templates

`GET /templates/public_templates`

## Request

- Base URL: `https://sg.deployhq.com`
- URL: `https://sg.deployhq.com/templates/public_templates`
- Auth: HTTP basic

Returns publicly available templates, optionally filtered by framework type.

## Query parameters

- `framework_type` string

## Response `200`

Success

- object[]
  - `id` integer
  - `permalink` string
  - `name` string
  - `description` string
  - `framework_type` string
  - `version` string
  - `public` boolean

## Other responses

- `401`: You are not authorized to access this resource. You need to authenticate yourself first.
- `403`: You are not allowed to access this resource. You do not have the necessary permissions.
- `500`: An unexpected error occurred on the server. The server was unable to process the request.

---

[API](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation.md) · [All operations](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/revisions/830264ae58be?raw)
