Get a card's text
/v1/cards/{cardId}/contentAuthorizationBearer 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.
cardIdstringrequiredkindstringWhich text to return when a card has more than one. Without it the response is a document's text, then a transcript, then a note's content, and never article: ask for article to get a link's article.
articledocumenttranscriptcontentThe card's full stored text
cardIdstringrequiredkindstringrequireddocument: text extracted from the card's file (PDF, Word, PowerPoint, text or code). transcript: the speech in its audio or video. content: a text or quote card's written text. article: a link's article from its saved copy, as Markdown whose images are signed URLs valid for 7 days; returned only for ?kind=article.
documenttranscriptcontentarticletextstringrequiredcharCountnumberrequiredCharacters in the full stored text
truncatedbooleanrequiredTrue when text is not the document's whole text. Teak keeps the first 500 pages of a PDF and at most 524,288 characters; when the stored text can't be read, its first 32 KiB is returned and text is shorter than charCount
INVALID_INPUT: kind isn't one of the listed kinds
codestringrequirederrorstringrequiredretryAtnumber | nullCard not found, or NO_CONTENT: the card has no stored text (of that kind, when given)