Skip to main content
POST
/
3
/
movie
/
{movie_id}
/
rating
Add Ratings
curl --request POST \
  --url 'https://api.themoviedb.org/3/movie/{{movie_id}}/rating' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "media_id": 845781,
  "media_type": "movie",
  "value": 8.5
}
'
{
  "status_code": 12,
  "status_message": "The item/record was updated successfully.",
  "success": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

movie_id
string
required

This represents the movie ID. Get it here

Body

application/json
media_id
number

This represents your media ID. Get it here

Example:

845781

media_type
string

This represents your media type.

Example:

"movie"

value
number

This represents your rating score.

Example:

8.5

Response

201 - application/json

Add Ratings

status_code
number
Example:

12

status_message
string
Example:

"The item/record was updated successfully."

success
boolean
Example:

true