---
title: "Returns the Whiteboard with the given ID if it exists"
method: GET
path: "/whiteboard/data/{whiteboard_id}"
tags: ["whiteboard"]
---

# Returns the Whiteboard with the given ID if it exists

`GET /whiteboard/data/{whiteboard_id}`

## Path parameters

- `whiteboard_id` integer, required

## Response `200`

Successful Response

- WhiteboardData
  - `sdocs` SourceDocumentRead[], required — List of source documents
    - `filename` string, required — Filename of the SourceDocument
    - `name` string, required — User-defined name of the document (default is the filename)
    - `doctype` 'text' | 'image' | 'video' | 'audio', required
    - `project_id` integer, required — Project the SourceDocument belongs to
    - `id` integer, required — ID of the SourceDocument
    - `created` string, date-time, required — The created timestamp of the SourceDocument
    - `updated` string, date-time, required — Updated timestamp of the SourceDocument
    - `folder_id` integer, required — ID of the Folder this SourceDocument belongs to
    - `memo_ids` integer[] — IDs of the Memos attached to the SourceDocument
  - `codes` CodeRead[], required — List of codes
    - `name` string, required — Name of the Code
    - `color` string, required — Color of the Code
    - `description` string — Description of the Code
    - `parent_id` integer, nullable — Parent of the Code
    - `enabled` boolean — While false, the code is neither created in pre-processing nor shown in the UI (except in settings to enable it again)
    - `id` integer, required — ID of the Code
    - `project_id` integer, required — Project the Code belongs to
    - `created` string, date-time, required — Created timestamp of the Code
    - `updated` string, date-time, required — Updated timestamp of the Code
    - `is_system` boolean, required — Is the Code a system code
    - `memo_ids` integer[], required — Memo IDs attached to the Code
  - `tags` TagRead[], required — List of tags
    - `name` string, required — Title of the Tag
    - `color` string, required — Color of the Tag
    - `description` string, nullable — Description of the Tag
    - `parent_id` integer, nullable — Parent of the Tag
    - `id` integer, required — ID of the Tag
    - `project_id` integer, required — Project the Tag belongs to
    - `created` string, date-time, required — Created timestamp of the Tag
    - `updated` string, date-time, required — Updated timestamp of the Tag
    - `memo_ids` integer[], required — Memo IDs attached to the Tag
  - `span_annotations` SpanAnnotationRead[], required — List of span annotations
    - `begin` integer, required — Begin of the SpanAnnotation in characters
    - `end` integer, required — End of the SpanAnnotation in characters
    - `begin_token` integer, required — Begin of the SpanAnnotation in tokens
    - `end_token` integer, required — End of the SpanAnnotation in tokens
    - `id` integer, required — ID of the SpanAnnotation
    - `text` string, required — The SpanText the SpanAnnotation spans.
    - `code_id` integer, required — Code the SpanAnnotation refers to
    - `user_id` integer, required — User the SpanAnnotation belongs to
    - `sdoc_id` integer, required — SourceDocument the SpanAnnotation refers to
    - `created` string, date-time, required — Created timestamp of the SpanAnnotation
    - `updated` string, date-time, required — Updated timestamp of the SpanAnnotation
    - `group_ids` integer[], required — The group ids this span annotations belongs to
    - `memo_ids` integer[], required — Memo IDs attached to the SpanAnnotation
  - `sent_annotations` SentenceAnnotationRead[], required — List of sentence annotations
    - `sentence_id_start` integer, required — Start sentence ID of the SentenceAnnotation
    - `sentence_id_end` integer, required — End sentence ID of the SentenceAnnotation
    - `id` integer, required — ID of the SentenceAnnotation
    - `code_id` integer, required — Code the SentenceAnnotation refers to
    - `user_id` integer, required — User that created the SentenceAnnotation
    - `sdoc_id` integer, required — SourceDocument the SentenceAnnotation refers to
    - `created` string, date-time, required — Created timestamp of the SentenceAnnotation
    - `updated` string, date-time, required — Updated timestamp of the SentenceAnnotation
    - `memo_ids` integer[], required — Memo IDs attached to the SentenceAnnotation
  - `bbox_annotations` BBoxAnnotationRead[], required — List of bbox annotations
    - `x_min` integer, required — Absolute x_min coordinate of the BBoxAnnotation
    - `x_max` integer, required — Absolute x_max coordinate of the BBoxAnnotation
    - `y_min` integer, required — Absolute y_min coordinate of the BBoxAnnotation
    - `y_max` integer, required — Absolute y_max coordinate of the BBoxAnnotation
    - `id` integer, required — ID of the BBoxAnnotation
    - `code_id` integer, required — Code the BBoxAnnotation refers to
    - `user_id` integer, required — User that created the BBoxAnnotation
    - `sdoc_id` integer, required — SourceDocument the BBoxAnnotation refers to
    - `created` string, date-time, required — Created timestamp of the BBoxAnnotation
    - `updated` string, date-time, required — Updated timestamp of the BBoxAnnotation
    - `memo_ids` integer[], required — Memo IDs attached to the BBoxAnnotation
  - `memos` MemoRead[], required — List of memos
    - `title` string, required — Title of the Memo
    - `content` string, required — Textual content of the Memo
    - `content_json` string, required — JSON content of the Memo
    - `id` integer, required — ID of the Memo
    - `starred` boolean, required — Starred flag of the Memo
    - `user_id` integer, required — User the Memo belongs to
    - `project_id` integer, required — Project the Memo belongs to
    - `created` string, date-time, required — Created timestamp of the Memo
    - `updated` string, date-time, required — Updated timestamp of the Memo
    - `attached_object_id` integer, required — ID of the Object the Memo is attached to
    - `attached_object_type` 'source_document' | 'code' | 'sentence_annotation' | 'span_annotation' | 'span_group' | 'bbox_annotation' | 'project' | 'tag', required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uhh-lt/discourse-analysis-tool-suite-api/versions/6b22366ce2d1/schema)
