---
title: "Get Backlinks"
method: GET
path: "/api/links/backlinks/{page_id}"
tags: ["links"]
---

# Get Backlinks

`GET /api/links/backlinks/{page_id}`

## Request

- Base URL: `https://app.ctlsurf.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ctlsurf.com/api/links/backlinks/{page_id}`
- Auth: HTTP bearer

Get all pages/blocks that link to this page.

Returns a list of source pages, blocks, and link text for each incoming link.

## Path parameters

- `page_id` string, uuid, required

## Response `200`

Successful Response

- BacklinksResponse: Response for backlinks query.
  - `page_id` string, required
  - `page_title` string, required
  - `links` BacklinkItem[], required
    - `source_page_id` string, required
    - `source_page_title` string, required
    - `source_block_id` string, required
    - `link_text` string, nullable, required
  - `count` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ctlsurf/apis/notebook-control-plane.md) · [All operations](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/revisions/ddfbbe20d5ce?raw)
