Skip to content

Find a non-deleted card saved from the same link

Matches a card outside Trash saved from the same link, ignoring http/https, a leading www., a trailing slash, a #fragment (except #/ and #! routes) and utm_*, fbclid and gclid parameters. Other parameters, their order and the path’s case count. Archived cards match; when several do, the newest is returned. Percent-encode # in the url parameter, or the client drops the fragment before sending.

GET/v1/cards/duplicate
Authorization
AuthorizationBearer token (OAuth access token or teakapi_ API key) · headerrequired

Bearer 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.

Query parameters
urlstring<uri>required
max length 8192
Responses
200

Matching card ID, or null

cardIdstring | nullrequired
400

Invalid URL

401

Invalid or revoked credentials

429

Rate limit exceeded

Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://teakvault.com/api/v1/cards/duplicate?url=http%3A%2F%2Fexample.com' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "cardId": "string"
}

Was this page helpful?