API reference · Workspace
Check a key
GET
https://goblins-call-api.onrender.com/v1/meSays which key you are using and which workspace it acts in, with that workspace’s balance. A quick way to confirm a key works.
Needs a workspace API key.
Response
apiKeyobjectThe key the request was made with.
workspacesobject[]The one workspace the key belongs to.
curl "https://goblins-call-api.onrender.com/v1/me" \
-H "Authorization: Bearer $CRACKLE_API_KEY"Response · 200 OK
{
"account": null,
"apiKey": { "id": "key_4b7e1d9a2c5f8036", "name": "Production server" },
"isAdmin": false,
"workspaces": [
{
"id": "usr_8c1d2e3f4a5b",
"name": "Sunrise Dental",
"balance": 42.1853,
"currency": "USD",
"plan": "starter",
"maxConcurrentCalls": 5
}
]
}