This endpoint retrieves account details by account Id.
curl --request GET \
--url https://api.themoviedb.org/3/account/%7B{account_id}%7D \
--header 'Authorization: Bearer <token>'
{
"avatar": {
"gravatar": {
"hash": "d3121522dae075799968cc2f2b51cf21"
},
"tmdb": {
"avatar_path": null
}
},
"id": 21308017,
"include_adult": false,
"iso_3166_1": "NG",
"iso_639_1": "en",
"name": "",
"username": "gloriaSilver"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Account details
The response is of type object
.
curl --request GET \
--url https://api.themoviedb.org/3/account/%7B{account_id}%7D \
--header 'Authorization: Bearer <token>'
{
"avatar": {
"gravatar": {
"hash": "d3121522dae075799968cc2f2b51cf21"
},
"tmdb": {
"avatar_path": null
}
},
"id": 21308017,
"include_adult": false,
"iso_3166_1": "NG",
"iso_639_1": "en",
"name": "",
"username": "gloriaSilver"
}