---
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` Discovery
    - `idea` object
      - `productIdea` string
      - `productName` string
      - `industry` string
      - `brandVoice` string
      - `colorDescription` string
      - `painPoint` string
      - `outcome` string
    - `settings` object
      - `auth` object
        - `isSelected` boolean
        - `solution` string
      - `database` object
        - `isSelected` boolean
        - `type` string
      - `payment` object
        - `isSelected` boolean
        - `solution` string
        - `plan` string
      - `selectedTitle` object
        - `title` string
        - `subtitle` string
      - `components` object[]
        - `id` string

## Response `200`

Successful operation

- object
  - `backendRepoId` string
  - `frontendRepoId` string

## Other responses

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

## Changes

- **2024-06-02** `40e1c48fe92f` — 1 warning, 2 info
  - removed the optional property `message` from the response with the `200` status
  - added the optional property `backendRepoId` to the response with the `200` status
  - added the optional property `frontendRepoId` to the response with the `200` status
- **2024-06-02** `284995b12e6d` — 4 breaking, 1 info
  - removed the enum value `emailAuth` of the request property `discovery/settings/auth/solution`
  - removed the enum value `oneTime` of the request property `discovery/settings/payment/plan`
  - removed the enum value `postgres` of the request property `discovery/settings/database/type`
  - removed the enum value `subscription` of the request property `discovery/settings/payment/plan`
  - …1 more
- **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/40e1c48fe92f/schema)
