تخطَّ إلى المحتوى

Get an API key

  1. Go to id.tkawen.com/signup
  2. Sign up with email + phone (SMS verification, free)
  3. Confirm your email, then sign in to the developer dashboard
  4. Click “Create API key” — you get two keys back:
    • pk_sandbox_... (publishable, safe for client-side use)
    • sk_sandbox_... (secret, never expose publicly)
Terminal window
# ~/.bashrc or your project's environment
export TKAWEN_KEY="sk_sandbox_xxxxxxxxxxxxxxxxxxxxxxxx"
Terminal window
curl -H "Authorization: Bearer $TKAWEN_KEY" \
https://api.tkawen.com/v1/identity/me

Expected response:

{
"key_id": "ak_xxx",
"mode": "sandbox",
"owner": "your-email@example.com",
"quota": { "calls_this_month": 0, "limit": 1000 }
}