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

# Introduction

> API Reference and Integration Guide

> [!NOTE]
>
> The Clink API is currently in development, and available features are limited.

## Base Endpoints

The Clink API follows REST principles and requires HTTPS for all requests to ensure data security, integrity, and privacy.

API endpoints for different environments:

> [accordion] Sandbox
>
> ```http theme={null}
> https://uat-api.clinkbill.com
> ```

> [accordion] Production
>
> ```http theme={null}
> https://api.clinkbill.com
> ```

## Authentication

Clink uses API keys in request headers for security. A dynamic timestamp is also required — in production it must be within 2 minutes of platform time (the sandbox is more lenient). Generate it when you make the call rather than relying on the tolerance window.

```json theme={null}
{
  "headers": {
    "X-API-Key": "sk_uat_*********************",
    "X-Timestamp": "${currentMillisecondsTimestamp}"
  }
}
```

## Response codes

We use standard HTTP status codes to indicate the outcome of API requests:

2xx codes indicate successful requests
4xx codes indicate client-side errors
5xx codes indicate server-side issues

| Status | Description |
| - | - |
| 200 | Request successful |
| 400 | Invalid parameters or request format |
| 401 | Missing or invalid API key |
| 403 | Insufficient permissions for requested resource |
| 404 | Requested resource not found |
| 429 | Rate limit exceeded |
| 500 | Internal server error |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.