Authentication Request Token

This method is used to generate a valid request token for user based authentication. A request token is required in order to request a session id.

You can generate any number of request tokens but they will expire after 60 minutes. As soon as a valid session id has been created the token will be destroyed.

For a detailed walk through of the authentication process, click here.

HTTP Request

GET http://api.themoviedb.org/3/authentication/token/new

Required HTTP Parameters

  • api_key

HTTP Response

{
    "expires_at": "2012-02-09 19:50:25 UTC",
    "request_token": "641bf16c663db167c6cffcdff41126039d4445bf",
    "success": true
}

HTTP Header Response

HTTP/1.1 200 OK
Content-Type: application/json;charset=utf-8
Cache-Control: public, max-age=0
Authentication-Callback: http://www.themoviedb.org/authenticate/641bf16c663db167c6cffcdff41126039d4445bf
Content-Length: 114
Connection: keep-alive