---
title: "Download Discovery Template"
method: POST
path: "/templates/discovery/download"
tags: ["Templates"]
---

# Download Discovery Template

`POST /templates/discovery/download`

Download a discovery template

## Headers

- `Content-Type` string, required
- `accept` string, required
- `accept-language` string, required
- `cookie` string, required
- `origin` string, required
- `priority` string, required
- `referer` string, required
- `sec-ch-ua` string, required
- `sec-ch-ua-mobile` string, required
- `sec-ch-ua-platform` string, required
- `sec-fetch-dest` string, required
- `sec-fetch-mode` string, required
- `sec-fetch-site` string, required
- `user-agent` string, required

## Request body

- object
  - `organization` string
  - `destination` string
  - `isPrivate` boolean

## Response `200`

Provided zipped source code

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-07-14** `ed2a8d341371` — 1 breaking, 1 warning, 1 info
  - removed the success response with the status `201`
  - removed the request property `discovery`
  - added the success response with the status `200`
- **2024-06-12** `375f1da3cbc3` — 1 info
  - endpoint added
- **2024-06-02** `284995b12e6d` — 1 breaking
  - api path removed without deprecation
- **2024-06-02** `65d99eff08d2` — 1 info
  - api tag `Templates` added
- **2024-06-02** `a757868c89a7` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/domeplatform/apis/trydome-api/changes/templates/discovery/download/post.md)

---

[API](https://skmtc.dev/domeplatform/apis/trydome-api.md) · [All operations](https://skmtc.dev/domeplatform/apis/trydome-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/domeplatform/trydome-api/revisions/ed2a8d341371/schema)
