> ## Documentation Index
> Fetch the complete documentation index at: https://docs.supernote.com/llms.txt
> Use this file to discover all available pages before exploring further.

# insertSticker

> Insert sticker.

<Note>
  This API inserts a sticker into the current page of the currently opened file.
</Note>

```ts theme={null}
static insertSticker(path: string): Promise<APIResponse<boolean>>;
```

**Parameters**

| Parameter | Type     | Description                    |
| --------- | -------- | ------------------------------ |
| `path`    | `string` | Sticker file path (`.sticker`) |

**Returns**

* [`APIResponse<boolean>`](/en/api-reference/supernote-plugin/types/api-response):
  `result === true` indicates the insertion succeeded

## Example

```ts wrap theme={null}
import { PluginCommAPI } from 'sn-plugin-lib';

/**
 * Insert sticker example.
 */
export async function exampleInsertSticker() {
 const stickerPath = '/storage/emulated/0/Note/stickers/demo.sticker';
 const res = await PluginCommAPI.insertSticker(stickerPath);
 if (!res.success) {
 throw new Error(res.error?.message ?? 'insertSticker call failed');
 }
 return res.result;
}
```
