Pottr/Docs
Topic:Introduction
Getting Started
.md

Introduction

Pottr is a WordPress plugin that gives WordPress an application backend: structured collections, a REST API, separate app-user accounts, blueprints, webhooks, media uploads and live events.

The Developer Mental Model

WordPress is built for content: posts, pages and custom fields stored in wp_posts and wp_postmeta. When you build a web app, a client portal, a directory or a small SaaS product, forcing app data into posts means stitching plugins together and fighting complex queries.

Pottr gives WordPress a dedicated application layer instead. Your frontend talks to a clean REST API, and your data stays in your own WordPress database:

Your Frontend

React · Next.js · Vue · Mobile · SPA

REST JSON

Pottr Engine

REST API · Auth · Schema · Webhooks

Underneath: Runs inside your existing WordPress and MySQL server. No external backend service, no per-request fees, no vendor lock-in.

What Pottr Provides

  • Collections: Define structured data with 9 field types, in the WordPress admin or in code, without touching custom post types or postmeta.
  • A predictable REST API: Create, read, update, patch and delete entries, with equality filters, pagination, sorting, single-level relation expansion and an optional standardized response envelope.
  • API keys: Public keys (pk_live_...) for frontends and secret keys (sk_live_...) for servers and pipelines.
  • App-user authentication: Sign up, log in and manage sessions for your app’s users with 15-minute access tokens and rotating 30-day refresh tokens, without creating wp_users accounts.
  • Row-level security: Add a user_id field to a collection and each user only sees and changes their own entries.
  • Blueprints: Describe your collections and auth profile in JSON and provision them on deploy or app boot, additively and safely.
  • Zero-config connections: An external app can ask to connect, and you approve it with one click in the WordPress admin.
  • Signed webhooks: Get entry.created, entry.updated and entry.deleted notifications verified with HMAC-SHA256.
  • Media uploads: Upload images and PDFs through the API into the WordPress media library.
  • Live events: Stream collection changes to browsers with Server-Sent Events on Pro and Business.
  • Logs and limits: Activity logs, monthly API-call metering and plan limits, all visible in the admin.

One Plugin, Three Plans

Pottr is a single plugin. You download one zip from pottr.tangble.com, install it, and it starts on the Free plan with no license. Pro and Business unlock inside the same plugin when you paste a license key under Pottr › License. Nothing is reinstalled and nothing is deleted if you later go back to Free. See Plans, Limits & Licensing for the limits.

Self-Contained Architecture

Pottr is 100% self-hosted on your WordPress server. Collections, entries and app-user profiles live in your own MySQL database. Entries are stored as JSON documents in one table (wp_pottr_entries), so it suits app-sized data rather than replacing a purpose-built database for very large workloads.

Where to Go Next