POST
/
3
/
movie
/
{movie_id}
/
rating
curl --request POST \
  --url https://api.themoviedb.org/3/movie/{movie_id}/rating \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "value": 8.5
}'
{
  "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

movie_id
integer
required

A unique identifier for a movie

Example:

18

Query Parameters

session_id
string

A unique identifier for an authenticated user session. Usually used for user authentication

Example:

"02a0e6d34dbd8325254e83c78918599076a62b0e"

guest_session_id
string

A unique identifier for an authenticated guest user session. Usually used for guest user authentication

Example:

"0145215ad484b24c4b3f2ed0f5b77217"

Body

application/json

Response

201 - application/json

Request successful

The response is of type object.