# Pdfless

Pdfless is a document factory that enables developers to create high-quality PDF documents using HTML/CSS templates and data integration.

- **Category:** documents
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 2
- **Triggers:** 0
- **Slug:** `PDFLESS`
- **Version:** 20260227_00

## Tools

### Get Workspace

**Slug:** `PDFLESS_GET_WORKSPACE`

Get workspace details and information. Use this to check if a workspace exists or is available based on the API key. Retrieves metadata about the current workspace including its active status, creation date, and name.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Document Templates

**Slug:** `PDFLESS_LIST_DOCUMENT_TEMPLATES`

List all document templates in your PDFLess workspace with pagination support. Use this action to discover available templates before generating PDFs. Templates must be created in the PDFLess dashboard before they appear in this list. The response includes template IDs which are required for PDF generation operations.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. Default is 1. |
| `pageSize` | integer | No | Number of items per page. If not specified, the API will return all templates on the requested page. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
