Skip to main content
POST
/
3
/
account
/
{account_id}
/
favorite
Mark as Favorite
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": 550,
  "favorite": true
}'
{
  "status_code": 1,
  "status_message": "The item was updated successfully."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
integer
required
Example:

12345678

Body

application/json
media_type
enum<string>
Available options:
movie,
tv
Example:

"movie"

media_id
integer
Example:

550

favorite
boolean
Example:

true

Response

200 - application/json

Successfully marked as favorite

status_code
integer
Example:

1

status_message
string
Example:

"The item was updated successfully."

I