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

# Welcome

# Welcome to the incaseof.law API

Automate your debt collection workflows end-to-end with our comprehensive Case Management API.

## What You Can Do:

* Create and manage claims and debtors
* Attach invoices and track payments
* Monitor collection stages and statuses
* Integrate seamlessly with your existing systems

***

## Getting Started

### Step 1: Request API Access

If you don't have an API token yet:

1. Visit **[Request API Access](https://app.incaseof.law/openapi)**
2. Fill out the request form with your company details
3. Our team reviews your request (typically 24-48 hours)
4. Receive your API token via email

### Step 2: Authenticate Your Requests

All API requests require a Bearer token in the Authorization header:

```bash theme={null}
Authorization: Bearer ico_live_your_token_here
```

**Token Details (self-service request):**

* Full API access to all endpoints
* 1,000 requests per hour by default — the limit of your key is set when it is approved
* 90-day validity (renewable)

**Partner keys** (issued by the incaseof.law team for a partner integration):

* Valid for **365 days**
* Their own hourly limit, agreed with you
* We are notified 30 days before a key expires and contact you. The key is then either **extended** (the same key keeps working) or we issue a **second key**, you switch over, and the old one is revoked — no downtime either way.
* Build and test against the [Partner sandbox](https://documentation.incaseof.law/Partner-Sandbox.md) with a separate sandbox key.

**Rate limit:** requests are counted per key and clock hour (UTC). Every response carries `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` (Unix seconds). Over the limit, the API answers `429 Too Many Requests` with a `Retry-After` header (seconds until the next hour) — wait that long before retrying.

### Step 3: Start Making API Calls

Try these endpoints:

```bash theme={null}
# List all claims
GET /openapi/claims

# Create a debtor
POST /openapi/debtors

# Record a payment
POST /openapi/claims/{claim_id}/payments
```

Use the **"Try It"** button on any endpoint page to test directly in your browser!

***

## Support

Need help?

* Email: [info@incaseof.law](mailto:info@incaseof.law)
* View detailed examples in each endpoint documentation
* Use the search bar to find specific endpoints

Ready to integrate? Navigate to **Claims**, **Debtors**, or **Payments** to get started!


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