---
title: "Create object from Markdown"
method: POST
path: "/object/markdown"
tags: ["Object"]
---

# Create object from Markdown

`POST /object/markdown`

## Request

- Base URL: `https://api.capacities.io`
- URL: `https://api.capacities.io/object/markdown`
- Auth: HTTP bearer

Creates an object from Markdown. See [Markdown](/api/concepts/markdown).

<br>

**Rate limit**: 30 requests per 60 seconds

## Request body

- object
  - `structureId` union, required: Structure id (UUID for custom types, or a built-in id such as RootPage).
    - string, uuid
    - 'RootSpace' | 'User' | 'UserPersonal' | 'RootDatabase' | 'RootQuery' | 'RootPage' | 'RootStructure' | 'RootEntity' | 'RootBlocksTemplate' | 'MediaImage' | 'MediaPDF' | 'MediaAudio' | 'MediaVideo' | 'MediaWebResource' | 'MediaFile' | 'MediaTweet' | 'RootAIChat' | 'RootSimpleTable' | 'RootWhiteboard' | 'RootDailyNote' | 'RootTag' | 'UtilDate' | 'RootTask'
  - `markdown` string, required: Markdown content used to create the object.

## Response `200`

200 OK

- object
  - `id` string, uuid, required: Unique identifier of the object.
  - `structureId` union, required: Structure id (UUID for custom types, or a built-in id such as RootPage).
    - string, uuid
    - 'RootSpace' | 'User' | 'UserPersonal' | 'RootDatabase' | 'RootQuery' | 'RootPage' | 'RootStructure' | 'RootEntity' | 'RootBlocksTemplate' | 'MediaImage' | 'MediaPDF' | 'MediaAudio' | 'MediaVideo' | 'MediaWebResource' | 'MediaFile' | 'MediaTweet' | 'RootAIChat' | 'RootSimpleTable' | 'RootWhiteboard' | 'RootDailyNote' | 'RootTag' | 'UtilDate' | 'RootTask'
  - `collections` string[], required: Collection ids this object is currently assigned to.
  - `properties` ApiObjectProperties, required: Map of property definition id to typed object property value.
  - `blocks` object: Block content keyed by property definition id.
  - `files` object[]: File resources attached to this object. Present only for media object types.
    - `url` string, required: Signed URL for downloading the original file.
    - `fileType` string, required: MIME type of the file (e.g. `image/jpeg`, `application/pdf`).
    - `expirationDate` string: ISO 8601 datetime after which the signed URL expires. Re-fetch the object to get a fresh URL.

## Changes

- **2026-11-25** `cb48d3ffc537`: 8 info
  - added the optional property `blocks/additionalProperties/items/oneOf[#/components/schemas/ApiEntityBlock]/date/allOf[#/components/schemas/ApiDatePayload]/recurrence` to the response with the `200` status
  - added the optional property `blocks/additionalProperties/items/oneOf[#/components/schemas/ApiEntityBlock]/date/allOf[#/components/schemas/ApiDatePayload]/reminder` to the response with the `200` status
  - added the optional property `blocks/additionalProperties/items/oneOf[#/components/schemas/ApiTextBlock]/tokens/items/oneOf[#/components/schemas/ApiLinkToken]/date/allOf[#/components/schemas/ApiDatePayload]/recurrence` to the response with the `200` status
  - added the optional property `blocks/additionalProperties/items/oneOf[#/components/schemas/ApiTextBlock]/tokens/items/oneOf[#/components/schemas/ApiLinkToken]/date/allOf[#/components/schemas/ApiDatePayload]/reminder` to the response with the `200` status
  - …4 more
- **2026-09-24** `a4a8393a781e`: 1 warning, 1 info
  - added the new `RootWhiteboard` enum value to the `structureId/anyOf[subschema #2]/` response property for the response status `200`
  - added the new `RootWhiteboard` enum value to the request property `structureId/anyOf[subschema #2]/`
- **2026-09-08** `fbf7beb5767f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/capacities/apis/capacities-api-beta/changes/object/markdown/post.md)

---

[API](https://skmtc.dev/capacities/apis/capacities-api-beta.md) - [All operations](https://skmtc.dev/capacities/apis/capacities-api-beta/llms.txt) - [OpenAPI document](https://skmtc.dev/capacities/apis/capacities-api-beta/revisions/8a6ece33d9bf?raw)
