POST
/
3
/
account
/
{account_id}
/
favorite
curl --request POST \
  --url https://api.themoviedb.org/3/account/{account_id}/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
}

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

account id of the users

Query Parameters

session_id
string

session ID for authentication or tracking purposes

Body

application/json

Response

201 - application/json

Add Favourite

The response is of type object.