---
title: "Create stack (Developer API)"
method: POST
path: "/api/v1/stack/create"
tags: ["Stack"]
---

# Create stack (Developer API)

`POST /api/v1/stack/create`

## Request

- Base URL: `https://stackby.com`
- URL: `https://stackby.com/api/v1/stack/create`
- Auth: API key in header `X-API-Key`

## Request body

- object
  - `name` string
  - `workspaceId` integer
  - `description` string

## Response `201`

Stack created successfully

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `id` integer
    - `name` string
    - `description` string
    - `workspaceId` integer
    - `createdBy` integer
    - `shareId` string
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `timestamp` string, date-time

---

[API](https://skmtc.dev/stackby/apis/stackby-api-complete-documentation.md) - [All operations](https://skmtc.dev/stackby/apis/stackby-api-complete-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/stackby/apis/stackby-api-complete-documentation/revisions/c9909a003a56?raw)
