cURL
curl --request POST \ --url https://api.themoviedb.org/3/account/{account_id}/favorite \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "media_type": "movie", "media_id": 500, "favorite": true } '
{ "status_code": 1, "status_message": "Success" }
This endpoint is used to mark a movie or TV show as favorite.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the account to retrieve.
The session ID for user authentication.
The type of media (e.g., movie, TV show).
The unique identifier for the media.
Indicates whether the media is marked as a favorite.
Successful
Request was successfully processed by the server
Indicates that the action was completed without any errors