ACCOUNT
AUTHENTICATION
- Endpoints
CERTIFICATIONS
- Endpoints
CHANGES
- Endpoints
COLLECTIONS
- Endpoints
COMPANIES
- Endpoints
CONFIGURATION
- Endpoints
CREDITS
FIND
GENRES
GUEST-SESSIONS
KEYWORDS
MOVIES
PEOPLE
PEOPLE-LISTS
REVIEWS
TV-EPISODE-GROUPS
TV-EPISODES
TV-SEASONS
TV-SERIES
TV-SERIES-LISTS
WATCH-PROVIDERS
Endpoints
Add Favorite
This endpoint marks a movie or TV show as a favourite.
POST
/
3
/
account
/
{account_id}
/
favorite
Copy
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": 550,
"media_type": "movie"
}'
Copy
{
"status_code": 1,
"status_message": "Success.",
"success": true
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
Response
201 - application/json
Mark Favorite
The response is of type object
.
Copy
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": 550,
"media_type": "movie"
}'
Copy
{
"status_code": 1,
"status_message": "Success.",
"success": true
}
Assistant
Responses are generated using AI and may contain mistakes.