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

# API Reference Introduction

> Complete API reference for Sendly

## Overview

The Sendly API provides a comprehensive set of endpoints for sending emails, managing domains, tracking delivery, and handling webhooks.

### Base URL

```
https://api.usesendly.app/v1
```

### Authentication

All API requests require authentication using your API key:

```
Authorization: Bearer YOUR_API_KEY
```

### Response Format

All responses are in JSON format.

### Rate Limiting

* **Limit**: 1,000 requests per minute
* **Headers**:
  * `X-RateLimit-Limit`: Total requests allowed
  * `X-RateLimit-Remaining`: Requests remaining
  * `X-RateLimit-Reset`: Unix timestamp when limit resets

### Error Handling

Errors are returned with appropriate HTTP status codes and error details:

```json theme={null}
{
  "code": "INVALID_EMAIL",
  "message": "The email address is invalid"
}
```

## Quick Start

Choose your preferred integration method:

<CardGroup cols={3}>
  <Card title="SDK" icon="code" href="/integration/sdk">
    TypeScript/JavaScript SDK
  </Card>

  <Card title="cURL" icon="terminal" href="/integration/curl">
    REST API with cURL
  </Card>

  <Card title="SMTP" icon="envelope" href="/integration/smtp">
    SMTP Integration
  </Card>
</CardGroup>

## Endpoints

### Emails

* [Send Email](/api-reference/emails/send)
* [List Emails](/api-reference/emails/list)
* [Get Email](/api-reference/emails/get)
* [List Inbound](/api-reference/emails/inbound)
* [List Envelopes](/api-reference/emails/envelope)

### Domains

* [List Domains](/api-reference/domains/list)
* [Create Domain](/api-reference/domains/create)
* [Get Domain](/api-reference/domains/get)
* [Update Domain](/api-reference/domains/update)
* [Verify Domain](/api-reference/domains/verify)
* [Delete Domain](/api-reference/domains/delete)

### Logs

* [List Logs](/api-reference/logs/list)

### Webhooks

* [List Webhooks](/api-reference/webhooks/list)
* [Create Webhook](/api-reference/webhooks/create)
* [Get Webhook](/api-reference/webhooks/get)
* [Update Webhook](/api-reference/webhooks/update)
* [Delete Webhook](/api-reference/webhooks/delete)

***

Need help? Contact [support@usesendly.app](mailto:support@usesendly.app)
