The account and this key
GET/v1/account
account:read
Who the key acts as, which licenses let the account hold keys, and the key's own settings.
Request: curl
curl "https://api.getcadcraft.com/v1/account" \
-H "Authorization: Bearer $CADCRAFT_KEY"Request: PHP
<?php
$ch = curl_init('https://api.getcadcraft.com/v1/account');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('CADCRAFT_KEY')],
]);
$res = json_decode(curl_exec($ch), true);
print_r($res['data']);
Request: Python
import os, requests
r = requests.get(
"https://api.getcadcraft.com/v1/account",
headers={"Authorization": f"Bearer {os.environ['CADCRAFT_KEY']}"},
)
print(r.json()["data"])
Request: Node.js
const res = await fetch("https://api.getcadcraft.com/v1/account", {
headers: { Authorization: `Bearer ${process.env.CADCRAFT_KEY}` },
});
console.log((await res.json()).data);
Example response
{
"status": "success",
"message": "",
"data": {
"account": {
"name": "Dana Reyes",
"email": "dana@example.com",
"email_verified": true,
"licensed_by": [
"team_cloud_plan_manager"
]
},
"key": {
"id": "6f1c…",
"name": "Seat sync",
"prefix": "cck_live_AbCd1234…",
"mode": "live",
"scopes": [
"account:read",
"licenses:write"
],
"workspace": null,
"expires_at": null,
"created_at": "2026-11-03T18:00:00Z",
"last_used_at": "2026-11-03T18:05:00Z"
}
},
"meta": {
"request_id": "3f2a9c1e-5b7d-4e8f-a1b2-c3d4e5f6a7b8",
"mode": "live"
}
}