---
title: "Record the first meaningful Workspace composition"
method: POST
path: "/workspaces/{id}/setup/composition"
tags: ["Workspaces"]
---

# Record the first meaningful Workspace composition

`POST /workspaces/{id}/setup/composition`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/workspaces/{id}/setup/composition`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

Atomically records meaningful text, attached media, or an intentional content-mode choice once per Workspace.

## Path parameters

- `id` string, required: Workspace ID

## Request body

- StartWorkspaceCompositionInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `origin_key` string, required: Opaque browser-generated key used to reconcile an uncertain claim response
  - `signal` 'text' | 'media' | 'content_mode', required: Meaningful composer interaction category

## Response `200`

OK

- StartWorkspaceCompositionResponse
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `claimed` boolean, required: Whether this request recorded the Workspace's first meaningful composition

## Other responses

- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

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