Reset a link's image
Goes back to the image Teak found for the link and deletes the uploaded one.
/v1/cards/{cardId}/thumbnailAuthorizationBearer token (OAuth access token or teakapi_ API key) · headerrequiredBearer token. Accepts either an OAuth 2.0 access token (obtained via browser sign-in; expires after 1 hour and is refreshable) or a teakapi_ API key.
cardIdstringrequiredThe card, back on the image Teak found (or its screenshot). Resetting a card without a chosen image changes nothing
aiSummarystring | nullaiTagsstring[]requiredaiTranscriptstring | nullappUrlstring<uri>requiredcompactUrlstring | nullrequired256px rendition URL for small cards; present for image uploads.
contentstringrequiredisDeletedbooleanmetadataStatusstring | nullprocessingStatusobject | nullPer-stage processing state (classify, categorize, metadata, renderables, screenshot), or null once nothing is tracked.
linkPreviewDescriptionstring | nulllinkFactsobject[]Show propertiesHide properties
objectlabelstringrequiredvaluestringrequiredlinkPreviewTitlestring | nulllinkPriceobject | nullA product link's price, read from the page: amount in the page's currency and currency as an ISO 4217 code, or null when the page didn't say which. Null for cards without a price. price: in q compares amount.
Show propertiesHide properties
amountnumberrequiredcurrencystring | nullrequiredlinkFaviconUrlstring | nullfileWidthnumber | nullfileHeightnumber | nullaudioWaveformobject | nullAudio bar heights from 0 to 100: 45 for a grid card and 200 for a player. Null for other cards and audio saved before waveforms.
Show propertiesHide properties
detailnumber[]requiredgridnumber[]requiredvideoScrubobject | nullA horizontal JPEG strip of evenly spaced video frames for hover previews, frames * frameWidth wide. The URL is signed and expires. Null for other cards and videos saved before scrub strips.
Show propertiesHide properties
frameHeightnumberrequiredframeWidthnumberrequiredframesnumberrequiredurlstringrequiredcolorsobject[]Show propertiesHide properties
objecthexstringrequirednamestringcreatedAtnumberrequireddetailUrlstring | nullfileExtensionstring | nullfileKindstring | nullfileLanguagestring | nullfileNamestring | nullfilePreviewobject | nullfileSizenumber | nullfileUrlstring | nullidstringrequiredarchivedAtnumber | nullWhen the card was archived, or null when it isn't.
folderIdsstring[]Ids of the folders the card is in (at most 50).
isArchivedbooleanrequiredArchived cards are hidden from the library and listings unless you ask for them with archived.
isFavoritedbooleanrequiredlinkPreviewImageUrlstring | nulllinkPreviewMediaobject[]Show propertiesHide properties
objecttypestringrequiredimagevideourlstringrequiredcontentTypestringwidthnumberheightnumberposterUrlstringposterContentTypestringposterWidthnumberposterHeightnumberlinkSiteNamestring | nulllinkAuthorstring | nulllinkPublisherstring | nulllinkPublishedAtstring | nullmetadataDescriptionstring | nullmetadataTitlestring | nullmimeTypestring | nullnotesstring | nullplaceholderUrlstring | nullrequired48px loading-placeholder rendition URL; present for image uploads.
screenshotUrlstring | nulltagsstring[]requiredthumbnailOverriddenbooleanTrue when linkPreviewImageUrl is an image chosen for this link (PUT /v1/cards/{cardId}/thumbnail) rather than the one Teak found.
thumbnailUrlstring | nulltypestringrequiredupdatedAtnumberrequiredurlstring | nullTYPE_MISMATCH: not a link card. UNSUPPORTED_TYPE: not an accepted image type (JPEG, PNG, WebP, GIF (its first frame) or AVIF. SVG and HEIC are refused.). INVALID_INPUT: the image couldn't be read, or is over 10,000 pixels on a side
codestringrequirederrorstringrequiredretryAtnumber | nullThe card, or the upload for it, was not found
codestringrequirederrorstringrequiredretryAtnumber | nullThe card is in Trash
codestringrequirederrorstringrequiredretryAtnumber | nullFILE_TOO_LARGE: images must be under 20 MB
codestringrequirederrorstringrequiredretryAtnumber | nullRATE_LIMITED: 20 image changes a minute; retryAt and Retry-After say when to try again
codestringrequirederrorstringrequiredretryAtnumber | null