Get Account Details
Retrieve the authenticated user’s account information.Response
The account ID
The account name
The account username
Whether adult content is included
The language code
The country code
Avatar information including gravatar hash
Response Example
Error Response
Error message when not authenticated
Get Account Lists
Retrieve favorites, watchlist, or rated items for the authenticated user.Path Parameters
The account ID from
/api/accountThe section to retrieve. Options:
favorites- User’s favorite itemswatchlist- User’s watchlist itemsrated- User’s rated items
The type of media. Options:
movies- Moviestv- TV shows
Query Parameters
ISO 639-1 language code for the results
Page number for pagination
Sort order. Options:
created_at.asc- Oldest firstcreated_at.desc- Newest first
Response
Current page number
Array of movie or TV show objects
Total number of pages
Total number of results
Response Example
Add to Favorites or Watchlist
Add or remove an item from the user’s favorites or watchlist.Path Parameters
The account ID from
/api/accountThe section to update. Options:
favorite- Add/remove from favoriteswatchlist- Add/remove from watchlist
Body Parameters
The type of media. Options:
movie- Movietv- TV show
The ID of the movie or TV show
Whether to add (true) or remove (false) from favorites. Required when section is
favorite.Whether to add (true) or remove (false) from watchlist. Required when section is
watchlist.Response
The new favorite status (when updating favorites)
The new watchlist status (when updating watchlist)
Response Example
Example: Add to Watchlist
Rate Media
Add or update a rating for a movie or TV show.Path Parameters
The type of media. Options:
movie- Movietv- TV show
The ID of the movie or TV show
Body Parameters
Rating value between 0.5 and 10.0 (in increments of 0.5)
Response
Object containing the rating value
Response Example
Delete Rating
Remove a rating from a movie or TV show.Path Parameters
The type of media. Options:
movie- Movietv- TV show
The ID of the movie or TV show
Response
Null value indicating the rating was removed