ACCOUNT
cURL
curl --request POST \ --url https://api.themoviedb.org/3/account/{account_id}/favorite \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "favorite": true, "media_id": 550, "media_type": "movie" } '
{ "status_code": 1, "status_message": "Success.", "success": true }
This endpoint allows the user to add a specific media item as a favorite.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
account id of the users
session ID for authentication or tracking purposes
Set to true to add the media item to favorites.
true
The unique identifier of the media item.
550
The type of media to be added to favorites e.g movie or tv show
"movie"
Add Favourite
1
"Success."