cURL
curl --request POST \ --url https://api.themoviedb.org/3/account/%7B{account_id}%7D/favorite \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "favorite": true, "media_id": 2734, "media_type": "tv" }'
{ "status_code": 1, "status_message": "Success.", "success": true }
This endpoint allows you to add a movie or TV show as a favorite.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
This represents your account ID. Get it here
This represents your session Id. Get it here
Add Favorite
The response is of type object.
object