Execute bulk card operations
/v1/cards/bulkAuthorizationBearer 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.
application/jsonitemsobject[]requiredUp to 100 items. create items take content, url, notes, tags, cardType, sourceUrl and sourceTitle; update items take cardId plus content, url, notes or tags; favorite items take cardId and isFavorited. delete, restore, archive and unarchive items take cardId. addTags and removeTags items take cardId and tags (up to 20, each at most 64 characters); tags are matched ignoring case, and removeTags also clears tags Teak added. Repeating an operation on a card already in that state succeeds without changing it.
operationstringrequiredcreateupdatefavoritedeletearchiveunarchiveaddTagsremoveTagsrestoreBulk operation result
operationstringrequiredcreateupdatefavoritedeletearchiveunarchiveaddTagsremoveTagsrestoreresultsobject[]requiredOne result per item, in order: { index, status: "success", cardId } or { index, status: "error", code, error }. An item that fails changes nothing.
failedIdsstring[]requiredThe cardId of every item that failed, so a client can retry just those.
summaryobjectrequiredShow propertiesHide properties
failednumberrequiredsucceedednumberrequiredtotalnumberrequired