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

# Introduction

> Welcome to the Benji Platform APIs

<Note>
  All API endpoints require authentication using an **API key** via the `x-api-key` header. API keys can be generated through the Benji dashboard.
</Note>

## Overview

The Benji Platform APIs are REST-based APIs that give you access to trigger campaigns, manage partnerships, retrieve user loyalty data, and interact with reward transactions. All endpoints use the `x-api-key` header for authentication.

## API Base URL

```
https://api-staging.withbenji.com (sandbox)
https://api.withbenji.com (production - available after approval post sandbox integration)
```

## API Categories

<CardGroup cols={2}>
  <Card title="Partnerships" href="/api-reference/endpoint/partnerships/get">
    Retrieve partnership details and send trigger events
  </Card>

  <Card title="Member API" href="/api-reference/endpoint/users/get">
    Get user information and link external users
  </Card>

  <Card title="Reward API" href="/api-reference/endpoint/transactions/get">
    Retrieve reward transaction details
  </Card>

  <Card title="Campaigns" href="/api-reference/endpoint/campaigns/get">
    List and retrieve campaign information
  </Card>

  <Card title="Webhooks" href="/api-reference/webhooks/overview">
    Subscribe to events for real-time updates on users, campaigns, and transactions
  </Card>
</CardGroup>
