---
name: selectpdf-rest-api
description: "SelectPdf REST API skill. Use when working with SelectPdf REST for api2. Covers 7 endpoints."
version: 1.0.0
generator: lapsh
---

# SelectPdf REST API
API version: 2.0.0

## Auth
No authentication required.

## Base URL
https://selectpdf.com/

## Setup
1. No auth setup needed
2. Verify API access with a test request
3. POST /api2/convert -- create first convert

## Endpoints
7 endpoints across 1 group. See references/api-spec.lap for full details.

### Api2
| Method | Path | Description |
|--------|------|-------------|
| POST | /api2/convert | Convert HTML or URL to PDF |
| POST | /api2/convert/demo | Public, keyless, rate-limited HTML to PDF (demo) |
| POST | /api2/asyncjob | Poll a previously-submitted async job |
| POST | /api2/pdfmerge | Merge multiple PDF files into one |
| POST | /api2/pdftotext | Extract text from a PDF, or search within a PDF |
| POST | /api2/webelements | Retrieve web-elements JSON from a completed async HTML→PDF job |
| POST | /api2/usage | Read account subscription + usage |

## Common Questions
Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "Create a convert?" -> POST /api2/convert
- "Create a demo?" -> POST /api2/convert/demo
- "Create a asyncjob?" -> POST /api2/asyncjob
- "Create a pdfmerge?" -> POST /api2/pdfmerge
- "Create a pdftotext?" -> POST /api2/pdftotext
- "Create a webelement?" -> POST /api2/webelements
- "Create a usage?" -> POST /api2/usage

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- Create/update endpoints return the modified resource on success
- Error responses include status codes and descriptions in the spec

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
