Tape generates link previews for URLs inside link fields or that are shared via comments, replies and chat messages. A link preview always has the
url properties, all other properties (
previewImage) are optional, depending on whether Tape was able to access the provided URL.
There are many reasons why generating a link preview can take a long time or fail (website not reachable, website takes a long time to respond, ...). To prevent critical operations like creating a record to fail due to an unsuccessful link preview generation, Tape accepts only the URL as an input and will generate the full link preview after the operation was successful. Therefore, generating a link preview via the dedicated endpoint is optional and only needed if you want full control over the process.
Create a link preview
Create a link preview by providing the
url property in the request body:
"url": "https://tapeapp.com" // The absolute url of the link to generate the preview for
The response will be a link preview object containing the information Tape could generate for the provided URL:
"id": 1, // The unique ID of the link preview object
"url": "https://tapeapp.com", // The absolute url of the link
"title": "Tape - Build your own powerful business platform", // The title of the link's website
"description": "Fully customizable. No-code. Low-code.", // The description of the link's website
// A representative thumbnail image for the link's website (e.g., the favicon)
previewImage property is a thumbnail object. Read more about thumbnails here.