Get a card's text
GET
/v1/cards/{cardId}/contentAuthorization
AuthorizationBearer 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.
Path parameters
cardIdstringrequiredResponses
200
The 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.
Allowed:
documenttranscriptcontenttextstringrequiredcharCountnumberrequiredCharacters 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
404
Card not found, or NO_CONTENT: the card has no stored text