---
title: "Create object from URL"
method: POST
path: "/object/url"
tags: ["Object"]
---

# Create object from URL

`POST /object/url`

## Request

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

Creates a weblink or media object from a URL. Optional `properties` set title and description; optional `markdown` or `blocks` add notes (not both). See [Markdown](/api/concepts/markdown) and [Blocks](/api/concepts/blocks).

<br>

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

## Request body

- object
  - `url` string, uri, required: URL to save as a web resource object.
  - `markdown` string: Optional Markdown content to add to the notes of the new object.
  - `blocks` object: Optional block content keyed by property definition id (e.g. `media_notes`).
  - `properties` CreateObjectFromUrlProperties: Optional title and description overrides for the created web resource.
    - `title` WritableApiTitleProperty: Writable title property value.
      - `type` 'title', required
      - `title` object, required
        - `value` string, nullable, required: Plain-text title value.
    - `description` WritableApiTextProperty: Writable plain-text property value.
      - `type` 'text', required
      - `text` object, required
        - `value` string, nullable, required: Plain-text value.

## 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`: 12 info
  - added the new optional request property `blocks/additionalProperties/items/oneOf[#/components/schemas/WritableApiEntityBlock]/date/allOf[#/components/schemas/WritableApiDatePayload]/recurrence`
  - added the new optional request property `blocks/additionalProperties/items/oneOf[#/components/schemas/WritableApiEntityBlock]/date/allOf[#/components/schemas/WritableApiDatePayload]/reminder`
  - added the new optional request property `blocks/additionalProperties/items/oneOf[#/components/schemas/WritableApiTextBlock]/tokens/items/oneOf[#/components/schemas/WritableApiLinkToken]/date/allOf[#/components/schemas/WritableApiDatePayload]/recurrence`
  - added the new optional request property `blocks/additionalProperties/items/oneOf[#/components/schemas/WritableApiTextBlock]/tokens/items/oneOf[#/components/schemas/WritableApiLinkToken]/date/allOf[#/components/schemas/WritableApiDatePayload]/reminder`
  - …8 more
- **2026-09-24** `a4a8393a781e`: 1 warning
  - added the new `RootWhiteboard` enum value to the `structureId/anyOf[subschema #2]/` response property for the response status `200`
- **2026-09-08** `fbf7beb5767f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/capacities/apis/capacities-api-beta/changes/object/url/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)
