# Writer AI Integration via LowCodeAPI

## Overview

AI writing platform for teams to create, edit, and improve written content

## Base Endpoint

```
https://api.lowcodeapi.com/writerai/
```

## Authentication

LowCodeAPI handles authentication automatically. You only need to:

1. **Sign up** at [Writer AI](https://writer.com)
3. **Connect your account** in LowCodeAPI dashboard
4. **Use your `api_token`** in all requests

**Auth Type**: TOKEN

## API Categories

- **Writer API** - 3 endpoints

## Common Endpoints

### Category: Writer API

#### List Models

**Method**: `GET` | **LowCodeAPI Path**: `/v1/models`

**Full URL**:
```
https://api.lowcodeapi.com/writerai/v1/models?api_token={api_token}
```

**Description**: List Models

---

#### Text Generation

**Method**: `POST` | **LowCodeAPI Path**: `/v1/completions`

**Full URL**:
```
https://api.lowcodeapi.com/writerai/v1/completions?api_token={api_token}
```

**Description**: Text Generation

**Request Body**:
```json
{
  "model": "<string>",
  "prompt": "<string>"
}
```

---

#### Chat Completion

**Method**: `POST` | **LowCodeAPI Path**: `/v1/chat`

**Full URL**:
```
https://api.lowcodeapi.com/writerai/v1/chat?api_token={api_token}
```

**Description**: Chat Completion

**Request Body**:
```json
{
  "model": "<string>",
  "messages": "<array>"
}
```

---

## Complete Endpoint Reference

For a complete list of all 3 endpoints, refer to:
- **OpenAPI Definition**: `https://backend.lowcodeapi.com/writerai/definition`
- **Official Provider Documentation**: https://dev.writer.com/api-guides/introduction