POST
/
3
/
account
/
{account_id}
/
favorite
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
}

Authorizations

Authorization
string
header
required

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

Path Parameters

account_id
string
required

This represents your account ID. Get it here

Query Parameters

session_id
string

This represents your session Id. Get it here

Body

application/json

Response

201 - application/json

Add Favorite

The response is of type object.