Skip to main content
Links can only be inserted into the main layer; other layers are not supported. This API supports undo/redo in notes.
Parameters
Supported linkType ranges may differ across APIs. Currently, insertTextLink only allows 0..4. When reading lasso link data, you may encounter linkType=6 (digest link). This type is currently read-only and cannot be created via this API. See Link / LassoLink.
Returns
  • APIResponse<number>: result is a status code (convention: 0 success, -1 failure, -2 target file requires upgrade)

Example