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"
}'
{
"status_code": 1,
"status_message": "Success.",
"success": true
}
This endpoint allows you to mark a movie or TV show as a favourite.
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"
}'
{
"status_code": 1,
"status_message": "Success.",
"success": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The user session ID created
"string"
Add favourite
The response is of type object
.