List API keys
curl --request GET \
--url https://api.glassmarkets.io/v1/user/api-keys/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v1/user/api-keys/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.glassmarkets.io/v1/user/api-keys/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": 123,
"name": "<string>",
"prefix": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"scopes": "<unknown>",
"last_used_at": "2023-11-07T05:31:56Z"
}
]Account
List API keys
Lists the current user’s API keys without returning their secret values.
List API keys
curl --request GET \
--url https://api.glassmarkets.io/v1/user/api-keys/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v1/user/api-keys/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.glassmarkets.io/v1/user/api-keys/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": 123,
"name": "<string>",
"prefix": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"scopes": "<unknown>",
"last_used_at": "2023-11-07T05:31:56Z"
}
]Authorizations
Token-based authentication with required prefix "Token ". Example: "Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b"

