Get authenticated account information
curl --request GET \
--url https://v2.stopbars.com/auth/account \
--header 'X-Vatsim-Token: <api-key>'import requests
url = "https://v2.stopbars.com/auth/account"
headers = {"X-Vatsim-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Vatsim-Token': '<api-key>'}};
fetch('https://v2.stopbars.com/auth/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Auth
Get authenticated account information
GET
/
auth
/
account
Get authenticated account information
curl --request GET \
--url https://v2.stopbars.com/auth/account \
--header 'X-Vatsim-Token: <api-key>'import requests
url = "https://v2.stopbars.com/auth/account"
headers = {"X-Vatsim-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Vatsim-Token': '<api-key>'}};
fetch('https://v2.stopbars.com/auth/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
VATSIM authentication token obtained via OAuth callback.
Response
Account found
Was this page helpful?
