---
title: "Create a status preset from a workspace"
method: POST
path: "/api/status-presets/workspace/{workspaceId}"
tags: ["StatusPresets"]
---

# Create a status preset from a workspace

`POST /api/status-presets/workspace/{workspaceId}`

## Request

- Base URL: `https://app.airfocus.com`
- URL: `https://app.airfocus.com/api/status-presets/workspace/{workspaceId}`
- Auth: HTTP bearer

Creates a new status preset by copying statuses from an existing workspace.<br/>Requirements:<br/>- auth-client scopes: "team"

## Path parameters

- `workspaceId` string, uuid, required

## Query parameters

- `actAsAdmin` boolean

## Request body

- CreateStatusPresetFromWorkspaceRequest
  - `name` string, required: Name of the status preset.

## Response `201`

- StatusPreset
  - `id` string, uuid, required
  - `name` string, required: Name of this status preset.
  - `teamId` string, uuid, required

## Other responses

- `400`: If path parameters are invalid or payload is invalid or resource does not exist.
- `401`: If missing authentication token.
- `403`: If authenticated client does not have the required access scopes.
- `default`: If any other error happens.

---

[API](https://skmtc.dev/airfocus/apis/airfocus-api.md) · [All operations](https://skmtc.dev/airfocus/apis/airfocus-api/llms.txt) · [OpenAPI document](https://skmtc.dev/airfocus/apis/airfocus-api/revisions/fc9ccaa2ec6d?raw)
