View as Markdown

Authentication

Send your secret key as a bearer token on every request:

curl https://api.kibanda.africa/v1/shop -H "Authorization: Bearer kb_live_..."

Errors

Status Code Meaning
401 unauthenticated No Authorization header.
401 api_key_invalid Malformed, unknown or revoked key.
401 api_key_wrong_environment A test key on production, or a live key on staging.
403 session_required The endpoint is dashboard-only (API key management).