The Movie Database Support

where do i find my account id to use in path parameter while making api call

6 replies (on page 1 of 1)

Jump to last post

@roshanraj882794 said:
regarding account id
where do i find my account id to use in path parameter while making api call

As the subject is API I will move to API Support.

I don't know if I understood correctly, but...

You must have an API Key to make API Requests.
Check here on your profile if you already have:
https://www.themoviedb.org/settings/api
Request example:
https://api.themoviedb.org/3/movie/550?api_key=THE_KEY

https://api.themoviedb.org/4/account/{account_id}/lists?page=1

in order to call this api present at https://developers.themoviedb.org/4/account/get-account-lists ,i need an account_id value and i dont know what to fill in there as i have already tried using roshanraj882794 or my email id as rcc882794@gmail.com

@roshanraj882794 said:

https://api.themoviedb.org/4/account/{account_id}/lists?page=1

in order to call this api present at https://developers.themoviedb.org/4/account/get-account-lists ,i need an account_id value and i dont know what to fill in there as i have already tried using roshanraj882794 or my email id as rcc882794@gmail.com

but nothing works

@roshanraj882794 said:
but nothing works

If you entered the link I posted
https://www.themoviedb.org/settings/api
and didn't find your API Key,
it's because you haven't requested your API Key yet.
And there should be a link on the page for you to ask for your API Key.
See the instructions here
https://developers.themoviedb.org/3/getting-started/introduction
and here the indication
https://files.tmdb.org/misc/api_step_4-1534865184.png

I have already my api key and bearer token generated and I m just asking how to call this api https://api.themoviedb.org/4/account/{account_id}/lists?page=1 where it is asking account_id

I personally never use API v4, I only use v3, so I can't help.
If I'm understanding correctly, I suggest reading these instructions.
https://developers.themoviedb.org/3/getting-started/authentication
https://developers.themoviedb.org/3/authentication/how-do-i-generate-a-session-id
If you've read it and it didn't solve your problem, I suggest posting a new topic whose title explains your problem.
Something like Token Access or something like that.

Also, maybe these links below can help you.

Token Issues
Some tips on how to do it.
https://www.themoviedb.org/talk/605cbdda8f26bc002a612929#605e51579a64350054ff8c63

You can use test scripts to see how all of this works.
All of this code is frontend only (inspect the source), so it's easy to see what's happening.
Start with v3_auth.html.

Are some examples.

You can inspect the source code to see what's happening.
http://dev.travisbell.com/play/v4_auth.html
http://dev.travisbell.com/play/v4_auth_delete.html

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login