---
title: "Share Template"
method: POST
path: "/v1/template/share"
tags: ["templates"]
---

# Share Template

`POST /v1/template/share`

Share a private template (shared-with-link)

## Headers

- `X-Team-Id` string

## Request body

- object
  - `template_id` string, required
  - `share_type` 'unlisted' | 'organization' | 'users', required
  - `ttl` string
  - `organizations` string[]
  - `emails` string[]

## Response `200`

Example response

- object
  - `message` string, required
  - `result` SharedTemplateMetaData, required
    - `expires_at` string, date-time
    - `organizations` string[]
    - `share_type` string
    - `template_id` string
    - `users_email` string[]

## Other responses

- `400` — Example response
- `401` — Example response
- `404` — Example response
- `500` — Example response
- `default` — Example response

---

[API](https://skmtc.net/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.net/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/versions/220f0adf9efd/schema)
