List Access Tokens
curl --request GET \
--url https://api.studio.prisme.ai/v2/user/accessTokens \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.studio.prisme.ai/v2/user/accessTokens', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/user/accessTokens"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"expiresAt": "<string>",
"name": "<string>",
"token": "<string>",
"userId": "<string>",
"id": "<string>"
}
]{
"error": "AuthenticationError",
"message": "Unauthenticated"
}API Gateway
List Access Tokens
Retrieve user personal access tokens
GET
/
v2
/
user
/
accessTokens
List Access Tokens
curl --request GET \
--url https://api.studio.prisme.ai/v2/user/accessTokens \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.studio.prisme.ai/v2/user/accessTokens', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/user/accessTokens"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"expiresAt": "<string>",
"name": "<string>",
"token": "<string>",
"userId": "<string>",
"id": "<string>"
}
]{
"error": "AuthenticationError",
"message": "Unauthenticated"
}Was this page helpful?