# OneDoc API Doc API

> OneDoc API Doc API on Apizie: 2 endpoints (Generates a PDF from a specified bucket., Initiates a document's rendering) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://www.apizie.tech/v1/dev-tools:onedoc/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `dev-tools:onedoc`
- Category: Dev Tools
- Status: byok
- Source: https://onedoc.com
- Page: https://www.apizie.tech/api/dev-tools/onedoc
- OpenAPI: https://www.apizie.tech/api/dev-tools/onedoc/openapi.json

Onedoc is an innovative API solution for developers, offering a simple and secure way to create and manage PDF documents using familiar technologies like React.

## Endpoints

### Generates a PDF from a specified bucket.
`POST https://www.apizie.tech/v1/dev-tools:onedoc/document-generate-pdf-from-bucket` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Initiates a document's rendering
`POST https://www.apizie.tech/v1/dev-tools:onedoc/document-rendering-bucket` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

## Example
```
curl "https://www.apizie.tech/v1/dev-tools:onedoc/document-generate-pdf-from-bucket" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the OneDoc API Doc API?
Create a free Apizie key, then send POST https://www.apizie.tech/v1/dev-tools:onedoc/document-generate-pdf-from-bucket with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the OneDoc API Doc API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. OneDoc API Doc itself also needs your own key from app.onedoclabs.com.

### Can AI agents use the OneDoc API Doc API?
Yes. Add the Apizie MCP server (https://www.apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key dev-tools:onedoc.

### What is the status of the OneDoc API Doc API?
Needs your own provider key (bring your own key)
