---
title: "Appends any element to the end of the notebook"
method: POST
path: "/api/notebook/appendElement"
---

# Appends any element to the end of the notebook

`POST /api/notebook/appendElement`

Appends any element to the end of the notebook

## Query parameters

- `notebookId` string, required

## Request body

- object
  - `element` object, required — the new element getting appended to the notebook
    - `id` string, required
    - `type` string, required
    - `children` unknown[], required
      - unknown

## Response `200`

Ok

## Changes

> 8 revisions in range; 1 could not be searched.

- **2023-11-27** `c2d57e621a13` — 5 breaking, 1 info
  - added the new required request property `element/children`
  - added the new required request property `element/id`
  - added the new required request property `element/type`
  - the request property `element` became required
  - …2 more
- **2023-11-20** `ee7eb73634d2` — 1 breaking, 2 warning, 1 info
  - the `element` request property type/format changed from `object`/`` to ``/``
  - removed the request property `element/id`
  - removed the request property `element/type`
  - the request property `element` became optional
- **2023-11-19** `35c27bb79744` — 1 info
  - added the media type `application/json` for the response with the status `200`
- **2023-10-27** `f8c8d4256dda` — 1 breaking, 1 warning, 3 info
  - removed the media type `application/json` for the response with the status `200`
  - removed the request property `element/children`
  - api operation id `appendElement` was added
  - the request property `element/id` became optional
  - …1 more

[Change history](https://skmtc.dev/decipad/apis/create-and-modify-a-decipad-notebook/changes/api/notebook/appendElement/post.md)

---

[API](https://skmtc.dev/decipad/apis/create-and-modify-a-decipad-notebook.md) · [All operations](https://skmtc.dev/decipad/apis/create-and-modify-a-decipad-notebook/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/decipad/create-and-modify-a-decipad-notebook/revisions/5f77d79b504f/schema)
