Required Headers

You'll need to send some required headers when making API calls to identify your application, set the version and set the content type to JSON.

HeaderValue
Content-Typeapplication/json
User-AgentWe suggest using your app and version like MyAppName/1.0.0
trakt-api-keyYour client_id listed under your Trakt applications.
trakt-api-version2API version to use.

All POST, PUT, and DELETE methods require a valid OAuth access_token. Some GET calls require OAuth and others will return user specific data if OAuth is sent. Methods that 🔒 require or have 🔓 optional OAuth will be indicated.

Your OAuth library should take care of sending the auth headers for you, but for reference here's how the Bearer token should be sent.

HeaderValue
AuthorizationBearer [access_token]