---
title: "Get Smart Link in the content tree by id"
method: GET
path: "/embeds/{id}"
tags: ["Smart Link"]
---

# Get Smart Link in the content tree by id

`GET /embeds/{id}`

Returns a specific Smart Link in the content tree.

**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
Permission to view the Smart Link in the content tree and its corresponding space.

## Path parameters

- `id` integer, required

## Query parameters

- `include-collaborators` boolean
- `include-direct-children` boolean
- `include-operations` boolean
- `include-properties` boolean

## Response `200`

Returned if the requested Smart Link in the content tree is returned.

- object
  - `id` string — ID of the Smart Link in the content tree.
  - `type` string — The content type of the object.
  - `status` 'current' | 'draft' | 'archived' | 'historical' | 'trashed' | 'deleted' | 'any' — The status of the content.
  - `title` string — Title of the Smart Link in the content tree.
  - `parentId` string — ID of the parent content, or null if there is no parent content.
  - `parentType` 'page' | 'whiteboard' | 'database' | 'embed' | 'folder' — Content type of the parent, or null if there is no parent.
  - `position` integer, nullable — Position of the Smart Link within the given parent page tree.
  - `authorId` string — The account ID of the user who created this Smart Link in the content tree originally.
  - `ownerId` string — The account ID of the user who owns this Smart Link in the content tree.
  - `createdAt` string, date-time — Date and time when the Smart Link in the content tree was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
  - `embedUrl` string — The embedded URL of the Smart Link. If the Smart Link does not have an embedded URL, this property will not be included in the response.
  - `spaceId` string — ID of the space the Smart Link is in.
  - `version` Version
    - `createdAt` string, date-time — Date and time when the version was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
    - `message` string — Message associated with the current version.
    - `number` integer — The version number.
    - `minorEdit` boolean — Describes if this version is a minor version. Email notifications and activity stream updates are not created for minor versions.
    - `authorId` string — The account ID of the user who created this version.
  - `_links` object
    - `webui` string — Web UI link of the content.
    - `base` string — Base url of the Confluence site.

## Other responses

- `400` — Returned if an invalid request is provided.
- `401` — Returned if the authentication credentials are incorrect or missing from the request.
- `404` — Returned if the calling user does not have permission to view the requested Smart Link in the content tree or the Smart Link was not found.

---

[API](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api-v2.md) · [All operations](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-confluence-cloud-rest-api-v2/revisions/c4bd1ed570f2/schema)
