List owned credential metadata with bounded pagination
curl --request GET \
--url https://app.communicate.so/api/v1/account-credentials \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.communicate.so/api/v1/account-credentials', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.communicate.so/api/v1/account-credentials"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"prefix": "<string>",
"scopes": [
"workspaces:read"
],
"expiresAt": "2023-11-07T05:31:56Z",
"audience": "https://app.communicate.so/api/v1",
"revokedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"rotatedFromId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"nextCursor": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Account credentials
List owned credential metadata with bounded pagination
Use an explicit credentials:read account bearer grant or a live email-verified application session. Returns only owned metadata, including revocation and rotation history, ordered by descending credential ID. Follow nextCursor until null.
GET
/
account-credentials
List owned credential metadata with bounded pagination
curl --request GET \
--url https://app.communicate.so/api/v1/account-credentials \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.communicate.so/api/v1/account-credentials', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.communicate.so/api/v1/account-credentials"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"prefix": "<string>",
"scopes": [
"workspaces:read"
],
"expiresAt": "2023-11-07T05:31:56Z",
"audience": "https://app.communicate.so/api/v1",
"revokedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"rotatedFromId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"nextCursor": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Authorizations
accountBeareraccountSessionlocalAccountSession
Opaque user-bound ca_ account credential. Each request checks live account scopes, verified email, expiry, revocation and the issuer session. Not a workspace ck_ key or OAuth access token.
Query Parameters
Required range:
1 <= x <= 100Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Response
List owned credential metadata with bounded pagination