---
title: "Install a template discovery"
method: POST
path: "/templates/discovery/install"
tags: ["Templates"]
---

# Install a template discovery

`POST /templates/discovery/install`

Endpoint to install a template discovery.

## Request body

- object
  - `organization` string
  - `destination` string
  - `isPrivate` boolean
  - `discovery` object
    - `idea` object
      - `productIdea` string
      - `productName` string
      - `industry` string
      - `brandVoice` string
      - `colorDescription` string
      - `painPoint` string
      - `outcome` string
    - `settings` object
      - `auth` object
        - `isSelected` boolean
        - `solution` 'emailAuth'
      - `database` object
        - `isSelected` boolean
        - `type` 'postgres'
      - `payment` object
        - `isSelected` boolean
        - `solution` string
        - `plan` 'oneTime' | 'subscription'
      - `selectedTitle` object
        - `title` string
        - `subtitle` string

## Response `200`

Successful operation

- object
  - `message` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

## Changes

- **2024-06-01** `b7c3ac47994d` — 3 warning, 3 info
  - removed the request property `discovery/settings/authSettings`
  - removed the request property `discovery/settings/databaseSettings`
  - removed the request property `discovery/settings/paymentSettings`
  - added the new optional request property `discovery/settings/auth`
  - …2 more
- **2024-06-01** `5de797b1d2ed` — 2 warning, 2 info
  - removed the optional property `backendRepoId` from the response with the `200` status
  - removed the optional property `frontendRepoId` from the response with the `200` status
  - added the new optional request property `discovery`
  - added the optional property `message` to the response with the `200` status

[Change history](https://skmtc.dev/domeplatform/apis/trydome-api/changes/templates/discovery/install/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/65d99eff08d2/schema)
