> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kairosafrika.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Kairos Afrika API Documentation

> Comprehensive API documentation for SMS, USSD, Payment, and Checkout services

## Welcome to Kairos Afrika API

Build powerful applications with our comprehensive suite of APIs for SMS messaging, USSD applications, payments, and hosted checkout solutions across Africa.

<Note>
  **Environment Switching Available**: All API endpoints support both staging and production environments.
  Use the environment dropdown in the API playground to switch between environments:

  **SMS, USSD & Checkout APIs:**

  * **Staging**: `https://api.staging.kairosafrika.com/v1` (for testing)
  * **Production**: `https://api.kairosafrika.com/v1` (for live applications)

  **Payment API:**

  * **Staging**: `https://api.staging.kairosafrika.cloud/paygw` (for testing)
  * **Production**: `https://api.kairosafrika.cloud/paygw` (for live applications)
</Note>

## Quick Start

Get started with our APIs in minutes.

<CardGroup cols={2}>
  <Card title="Authentication" icon="key" href="/quickstart">
    Learn how to authenticate your API requests
  </Card>

  <Card title="SMS API" icon="message" href="/sms-api/introduction">
    Send SMS messages to customers across Africa
  </Card>

  <Card title="USSD API" icon="mobile" href="/ussd-api/introduction">
    Create interactive USSD applications
  </Card>

  <Card title="Payment API" icon="credit-card" href="/payment-api/introduction">
    Process payments via mobile money and other methods
  </Card>
</CardGroup>

## Features

<CardGroup cols={2}>
  <Card title="Environment Switching" icon="toggle-on">
    Seamlessly switch between staging and production environments
  </Card>

  <Card title="Interactive API Playground" icon="play">
    Test API endpoints directly in the documentation
  </Card>

  <Card title="Comprehensive Examples" icon="code">
    Ready-to-use code examples in multiple programming languages
  </Card>

  <Card title="Real-time Testing" icon="bolt">
    Test your integrations in real-time with our staging environment
  </Card>
</CardGroup>

## Environment Switching

Our documentation includes built-in environment switching functionality:

1. **Staging Environment** (`api.staging.kairosafrika.com`): Perfect for development and testing
2. **Production Environment** (`api.kairosafrika.com`): For live applications

When viewing API endpoints, you'll see a dropdown at the top of each API playground that allows you to switch between environments. Your selection persists across all API sections for a consistent testing experience.
