TypeScript
import { Kombo } from "@kombo-api/sdk"; const kombo = new Kombo({ api_key: "<YOUR_BEARER_TOKEN_HERE>", }); async function run() { const result = await kombo.general.checkApiKey(); console.log(result); } run();
200
example1
{ "status": "success", "data": { "environment_id": "2Uev1YUTqLFdvMPD3Jtrg2FX", "customer_id": "2Uev1YUTqLFdvMPD3Jtrg2FX" } }
Check whether your API key is working properly.
Create an API key on the Secrets page in the Kombo dashboard.
GET /check-api-key Positive response
"success"
Show child attributes
{ "environment_id": "2Uev1YUTqLFdvMPD3Jtrg2FX", "customer_id": "2Uev1YUTqLFdvMPD3Jtrg2FX"}
Was this page helpful?