# Stencil API Documentation

This is the complete API documentation for connecting to the Stencil API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Stencil connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/stencil/actions/{actionSlug}/run
```

## Stencil actions

- POST `create-collection-images` Create Collection Images
- POST `create-editor-session` Create Editor Session
- POST `create-image` Create Image
- POST `create-image-synchronously` Create Image Synchronously
- POST `create-pdf` Create PDF
- GET `get-account` Get Account
- GET `get-airtable-image-generation-status` Get Airtable Image Generation Status
- GET `get-editor-session` Get Editor Session
- GET `get-pdf` Get PDF
- GET `get-project` Get Project
- GET `get-template` Get Template
- GET `list-projects` List Projects
- GET `list-templates` List Templates
- GET `retrieve-collection-images` Retrieve Collection Images
- GET `search-images` Search Images
- GET `search-pdfs` Search PDFs
- PUT `trigger-airtable-image-generation` Trigger Airtable Image Generation
