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

# API Reference Overview

> Complete reference for all LinkedCamp API endpoints

## Base URL

```
https://api.linkedcamp.com
```

## Available Endpoints

### Users

| Method | Endpoint          | Description                    |
| ------ | ----------------- | ------------------------------ |
| GET    | `/users/me`       | Get current authenticated user |
| GET    | `/users/{userId}` | Generate token for a user      |
| POST   | `/users/register` | Register a new sub-account     |
| POST   | `/users/pause`    | Pause a sub-account            |
| POST   | `/users/resume`   | Resume a sub-account           |
| POST   | `/users/cancel`   | Cancel (delete) a sub-account  |

### Campaigns

| Method | Endpoint                        | Description             |
| ------ | ------------------------------- | ----------------------- |
| POST   | `/campaigns`                    | Create a new campaign   |
| GET    | `/campaigns`                    | List all campaigns      |
| GET    | `/campaigns/{campaignId}`       | Get a specific campaign |
| GET    | `/campaigns/{campaignId}/stats` | Get campaign statistics |
| PUT    | `/campaigns/{campaignId}`       | Update campaign status  |

### Leads

| Method | Endpoint                 | Description                       |
| ------ | ------------------------ | --------------------------------- |
| GET    | `/leads`                 | List leads for a campaign         |
| GET    | `/leads/{leadId}`        | Get a specific lead               |
| POST   | `/leads/update`          | Update lead information           |
| PUT    | `/leads/{leadId}`        | Pause, resume, or delete a lead   |
| POST   | `/leads/add-to-campaign` | Add leads to an existing campaign |

### Conversations

| Method | Endpoint                          | Description               |
| ------ | --------------------------------- | ------------------------- |
| POST   | `/conversations/send-message`     | Send a message to a lead  |
| GET    | `/conversations/{conversationId}` | Get conversation messages |

### Webhooks

| Method | Endpoint                | Description            |
| ------ | ----------------------- | ---------------------- |
| POST   | `/webhooks`             | Create a webhook       |
| GET    | `/webhooks`             | List all webhooks      |
| GET    | `/webhooks/{webhookId}` | Get a specific webhook |
| DELETE | `/webhooks/{webhookId}` | Delete a webhook       |

### Tags

| Method | Endpoint | Description   |
| ------ | -------- | ------------- |
| POST   | `/tags`  | Create a tag  |
| GET    | `/tags`  | List all tags |

### Blacklists

| Method | Endpoint      | Description            |
| ------ | ------------- | ---------------------- |
| POST   | `/blacklists` | Add a blacklist entry  |
| GET    | `/blacklists` | List blacklist entries |

### API Tokens

| Method | Endpoint  | Description                              |
| ------ | --------- | ---------------------------------------- |
| GET    | `/tokens` | Get API token for a sub-account (agency) |
