Add to watchlist

Add movies and shows to your watchlist in one call.

POST https://cotlet.dev/api/v1/trakt/watchlists

write

Adds the given titles to your watchlist. A show on its own adds just the show. Titles already on the watchlist are counted, not added twice, and titles Trakt cannot match come back in not_found. The call fails with an account-limit error if the watchlist is full. It reaches no one and remove_from_watchlist undoes it, so it needs no confirmation.

Parameters

Parameters: add_to_watchlist
NameTypeDescription
items array required array Titles to change. Each item is an object: type ('movie', 'show', 'season' or 'episode'), title and year, or trakt_id from search_titles. Seasons and episodes also take season and episode numbers. add_to_history also takes watched_at, rate_titles takes rating.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/trakt/watchlists \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"items":[{"type":"movie","title":"Past Lives","year":2023},{"type":"show","title":"Slow Horses","year":2022},{"type":"movie","title":"Perfect Days","year":2023}]}'
Python
result = client.call("trakt", "add_to_watchlist", {"items":[{"type":"movie","title":"Past Lives","year":2023},{"type":"show","title":"Slow Horses","year":2022},{"type":"movie","title":"Perfect Days","year":2023}]})
Node.js
const result = await cotlet.call('trakt', 'add_to_watchlist', {"items":[{"type":"movie","title":"Past Lives","year":2023},{"type":"show","title":"Slow Horses","year":2022},{"type":"movie","title":"Perfect Days","year":2023}]});
CLI
cotlet call trakt add_to_watchlist --data '{"items":[{"type":"movie","title":"Past Lives","year":2023},{"type":"show","title":"Slow Horses","year":2022},{"type":"movie","title":"Perfect Days","year":2023}]}'

Example response

JSON

{
  "added": {
    "movies": 2,
    "shows": 1
  },
  "already_on_watchlist": 0,
  "not_found": []
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.