Skip to content

Authentication

All management API requests require authentication via the Authorization header.

Authorization: Bearer sk_live_your_key_here

API keys are created in the developer console under API Keys.

API Keys

Keys with the sk_live_ prefix authenticate against production data. API keys provide full management access to your account's resources.

To create a key:

  1. Open the developer console at app.smplkit.com
  2. Navigate to API Keys in the sidebar
  3. Click + Create API Key
  4. Copy the key — you won't be able to see it again

Token Types

TypePrefixScopeUsed For
API Keysk_live_Account-wideManagement API calls from scripts, CI/CD, IaC tools
SDK Keysdk_live_Per-environmentRuntime SDK calls from your application (coming soon)

Error Responses

If authentication fails, the API returns a 401 response:

json
{
  "errors": [
    {
      "status": "401",
      "title": "Missing Authorization header",
      "detail": "Provide an API key in the Authorization header: 'Authorization: Bearer sk_live_your_key_here'"
    }
  ]
}

Security Best Practices

  • Do not commit API keys to source control
  • Use environment variables to store keys in your application
  • Rotate keys periodically using the console
  • Revoke keys immediately if compromised