Skip to main content
POST
/
4
/
auth
/
access_token
Create Access Token
curl --request POST \
  --url https://api.themoviedb.org/4/auth/access_token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "request_token": "1e2345678"
}
'
{
  "success": true,
  "status_code": 1,
  "status_message": "Success",
  "account_id": "abcdefg123456",
  "access_token": "1e2345678tyui87654"
}

This method is used for obtaining the user access token. More details here

Authorizations

Authorization
string
header
required

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

Body

application/json
request_token
string
required

Token for request.

Response

200 - application/json

Successful response

success
boolean

Indicates success

sucess_code
integer

A numeric code indicating the result of the request.

status_message
string

A message providing additional details about the response status.

account_id
string

Account ID of the user

access_token
string

Token for access