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

# API overview

> Integrate Formswrite into your applications with the REST API

The Formswrite API lets you convert Google Docs into quizzes and export them to 25 supported platforms programmatically. Use it to build custom workflows with Zapier, Make, or your own applications.

## Base URL

```
https://api.formswrite.com
```

## Authentication

All API requests require a JWT Bearer token. Generate your token from the Formswrite dashboard:

1. Go to **Settings**
2. Click **Generate Auth Token**
3. Copy the token and include it in the `Authorization` header

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

<Warning>
  Keep your API token secret. Do not share it publicly or commit it to version control.
</Warning>

## Available endpoints

| Method | Endpoint                        | Description                            |
| ------ | ------------------------------- | -------------------------------------- |
| `POST` | `/api/v1/convert`               | Convert a document to a quiz format    |
| `GET`  | `/api/v1/convert/status/:jobId` | Poll the status of an async conversion |

## Rate limits

API requests are subject to your subscription plan limits. Each conversion counts as one credit.

## Next steps

<CardGroup cols={2}>
  <Card title="Convert document" icon="file-export" href="/api/convert">
    Convert a document to any supported format.
  </Card>

  <Card title="Poll status" icon="clock" href="/api/status">
    Check the status of an async conversion job.
  </Card>
</CardGroup>
