---
search:
  tags:
    - stage-templates
    - POST
seo:
  description: >-
    Install the default sales-led merchant pipeline stages… Reference for the
    POST /workspaces/{organizationId}/stage-templates/seed endpoint in the Pile
    API.
sidebar:
  label: Create stage template seed
  badge: POST
title: Create stage template seed
type: openapi-operation
---
Install the default sales-led merchant pipeline stages (Prospect → Onboarding & go-live) as stage templates. Idempotent — existing (entityType, status, stepKey) rows are skipped so operator edits survive a re-seed; deleted rows are re-created.

`POST /workspaces/{organizationId}/stage-templates/seed`

**Responses**

- `200` — Seeded stage templates

Response example, 200:

```json
{
  "templates": [
    {
      "id": "string",
      "organizationId": "string",
      "entityType": "issue",
      "status": "string",
      "stepKey": "string",
      "title": "string",
      "required": true,
      "ownerAgent": "string",
      "condition": {
        "field": "string",
        "equals": "string"
      },
      "position": 0,
      "teamId": "string",
      "createdBy": "string",
      "createdAt": "string",
      "updatedAt": "string"
    }
  ],
  "skipped": 0
}
```
