POST
/
4
/
auth
/
request_token
curl --request POST \
  --url https://api.themoviedb.org/4/auth/request_token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "redirect_to": "https://www.themoviedb.org/"
}'
{
  "request_token": "eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIxMzk5ZTI4YjczZjA4M2U0ZTQzMmZmYzUxOTc1YWFmYSIsIm5iZiI6MTc0MDk5MjcyMS4zMDg3MjMsImp0aSI6IjY3YzU3MGQxNjQ1ZDZjMmVjNTRhOWFhNiIsInNjb3BlcyI6WyJwZW5kaW5nX3JlcXVlc3RfdG9rZW4iXSwidmVyc2lvbiI6MiwiZXhwIjoxNzQwOTkzNjIxLCJyZWRpcmVjdF90byI6Imh0dHBzOi8vd3d3LnRoZW1vdmllZGIub3JnLyJ9.dnITyB2RQO4UbilSqTJzFt9XZ-SYxovjqSVlSDI4DIg",
  "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.

Body

application/json

Response

200 - application/json

Create a Request Token

The response is of type object.