from kombo import SDK
with SDK(
api_key="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:
res = sdk.general.check_api_key()
# Handle response
print(res){
"status": "success",
"data": {
"environment_id": "2Uev1YUTqLFdvMPD3Jtrg2FX",
"customer_id": "2Uev1YUTqLFdvMPD3Jtrg2FX"
}
}Check whether your API key is working properly.
from kombo import SDK
with SDK(
api_key="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:
res = sdk.general.check_api_key()
# Handle response
print(res){
"status": "success",
"data": {
"environment_id": "2Uev1YUTqLFdvMPD3Jtrg2FX",
"customer_id": "2Uev1YUTqLFdvMPD3Jtrg2FX"
}
}Was this page helpful?