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

# API Reference

> Complete reference documentation for the Mention Me REST APIs

The Mention Me API lets you programmatically manage referral programmes, track conversions, and access customer data. All endpoints use JSON over HTTPS.

## APIs

<CardGroup cols={2}>
  <Card title="Auth API" icon="key" href="/api-reference/authentication/overview">
    OAuth2 client credentials flow. Obtain access tokens for authenticating requests to other APIs.
  </Card>

  <Card title="Merchant API" icon="building" href="/api-reference/merchant-api/overview">
    Manage your referral programme, campaigns, and merchant-level configuration.
  </Card>

  <Card title="Consumer API" icon="user" href="/api-reference/consumer-api/overview">
    Track orders, look up customers, and manage referral data at the consumer level.
  </Card>

  <Card title="Entrypoint API" icon="code" href="/api-reference/entry-point-api/overview">
    Server-side alternative to JavaScript tags. Serve referrer offers, referee journeys, and dashboards via API.
  </Card>
</CardGroup>

## Base URLs

| Environment | Base URL                          |
| ----------- | --------------------------------- |
| Production  | `https://api.mention-me.com`      |
| Demo        | `https://api-demo.mention-me.com` |

## Authentication

All API requests require a Bearer token obtained via the [Auth API](/api-reference/authentication/overview). See the [authentication guide](/api-reference/authentication/overview) for details on the OAuth2 client credentials flow.

## Common Patterns

* All responses are JSON
* Dates use ISO 8601 format
* Errors return standard HTTP status codes with a JSON error body
* Rate limits apply per access token — see [rate limits](/api-reference/getting-started/rate-limits)
