---
title: "A Form tab's link: whether it is published and open, how many responses it has, and how many the caller has not seen. Anyone who may read the tab; the code itself only to someone who may edit it."
method: GET
path: "/documents/{id}/tabs/{tabId}/form-link"
tags: ["Documents"]
---

# A Form tab's link: whether it is published and open, how many responses it has, and how many the caller has not seen. Anyone who may read the tab; the code itself only to someone who may edit it.

`GET /documents/{id}/tabs/{tabId}/form-link`

## Request

- Base URL: `https://www.livediagram.app/api`
- URL: `https://www.livediagram.app/api/documents/{id}/tabs/{tabId}/form-link`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Owner-Id`

## Path parameters

- `id` string, required
- `tabId` string, required

## Response `200`

Success.

- FormLinkResponse
  - `canPublish` boolean, required
  - `link` FormLink, required
    - `code` string, required
    - `createdAt` number, required
    - `open` boolean, required
  - `responses` number, required
  - `suspendedAt` number, nullable, required
  - `unseen` number, required

## Other responses

- `400`: Error.
- `403`: Error.
- `404`: Error.
- `429`: Rate limited. Back off and retry.

---

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