create_bookmark
Create a channel bookmark by providing a display name, type (link or file), and optional emoji. Include link URL for link type or file ID for file type.
Instructions
Create a channel bookmark.
Creates a link bookmark (URL) or file bookmark (attached file). For link type, link_url is required. For file type, file_id is required (from upload_file).
Note: Requires Entry, Professional, Enterprise, or Enterprise Advanced edition (not available in Team Edition). Minimum version: v10.1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emoji | No | Emoji icon | |
| file_id | No | File ID (required for file type) | |
| link_url | No | URL (required for link type) | |
| image_url | No | Preview image URL | |
| channel_id | Yes | 26-character channel identifier (e.g., 'o5w8h47pdfbzjc4d8w7dhnhren') | |
| display_name | Yes | Bookmark display name | |
| bookmark_type | Yes | Bookmark type: 'link' or 'file' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique bookmark identifier | |
| type | Yes | Bookmark type: 'link' or 'file' | |
| emoji | No | Emoji icon | |
| file_id | Yes | File ID for file bookmarks (empty for links) | |
| link_url | No | URL for link bookmarks | |
| owner_id | Yes | User ID who created the bookmark | |
| create_at | Yes | Creation timestamp in milliseconds | |
| delete_at | Yes | Deletion timestamp (0 if not deleted) | |
| file_info | No | File metadata for file bookmarks | |
| image_url | No | Preview image URL | |
| parent_id | No | Parent bookmark ID | |
| update_at | Yes | Last update timestamp in milliseconds | |
| channel_id | Yes | Channel this bookmark belongs to | |
| sort_order | Yes | Position in bookmark list | |
| original_id | No | Original bookmark ID if copied | |
| display_name | Yes | Bookmark display name |