API Key Authentication

All SuggestKit API requests require authentication using your project’s API key. The API key should be included in the Authorization header as a Bearer token.
Authorization: Bearer your_public_api_key_here

Getting Your API Key

  1. Log in to your SuggestKit Dashboard
  2. Navigate to your project settings
  3. Copy your public API key from the API Keys section
Never share your API key publicly or include it in client-side code. Keep it secure and use environment variables in production.

Example Request

cURL
curl -X GET "https://api.suggestkit.app/api/v1/sdk/users" \
  -H "Authorization: Bearer sk_live_1234567890abcdef..." \
  -H "Content-Type: application/json"

Error Responses

If authentication fails, you’ll receive a 401 Unauthorized response:
{
  "error": {
    "message": "Invalid or missing API key",
    "code": "UNAUTHORIZED"
  }
}

Base URL

All API requests should be made to:
https://api.suggestkit.app/api/v1/sdk