Application
The default way to authenticate.
Application level authentication would generally be considered the default way of authenticating yourself on the API. Version 3 is controlled by one of either a single query parameter,api_key
, or by using your access token as a Bearer
token. You can request an API key by logging in to your account on TMDB and clicking here.
Bearer Token
The default method to authenticate is with your access token. If you head into your account page, under the API settings section, you will see a new token listed called API Read Access Token. This token is expected to be sent along as an Authorization
header. A simple cURL example using this method looks like the following:
User
Need to make a user based call?
User Authentication You can authenticate TMDB users within your application to extend the TMDB experience within your application. This will let your users (nay—our users) do things like rate movies, maintain their favourite and watch lists as well as do things like create and edit custom lists—all while staying in sync with their account on TMDB. User authentication is controlled with asession_id
query parameter. You can generate a session_id
by following the steps outlined here.Authorizations
Headers
string
Example:
""
Body
application/json · any
The body is of type any
.
Response
200 - application/json
Authentication
Example:
true