> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postsyncer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Products

> The products a workspace's posts can promote.

> [!NOTE]
>
> Each route needs its `products` permission: `products:read` to list, `products:create`, `products:update` and `products:delete` to change them. The same permission gates the matching [MCP tool](https://docs.postsyncer.com/mcp/tools-reference.md#products). See [Permissions](https://docs.postsyncer.com/essentials/authentication.md#permissions).

A product is something the workspace sells or offers, which PostSyncer's AI can write posts about: a name, a description, a link, and hooks (opening lines for posts about it). In the app, products are on the **Products** page.

Products are on paid plans, as in the app, where the **Products** page is locked on Free. On Free every route is refused with `403`, `error: plan_limit_reached` and `limit: products`, and nothing changes. The owner's key gets `upgrade_url` and `upgrade_plan`; anyone else's is told to ask the owner (`owner_plan: true`, no `upgrade_url`). See [Plan limits](https://docs.postsyncer.com/plan-limits.md#on-paid-plans-only).

| Method | Path | What it does | MCP tool |
| - | - | - | - |
| GET | [`/products`](https://docs.postsyncer.com/api-reference/products/list) | Every product, newest first. | `list-products` |
| POST | [`/products`](https://docs.postsyncer.com/api-reference/products/create) | Add a product. | `create-product` |
| PUT | [`/products/{id}`](https://docs.postsyncer.com/api-reference/products/update) | Replace it, as the app's form does. | `update-product` |
| DELETE | [`/products/{id}`](https://docs.postsyncer.com/api-reference/products/delete) | Delete it. | `delete-product` |

## The product object

| Field | Type | Description |
| - | - | - |
| `id` | integer | The product's id. |
| `workspace_id` | integer | The workspace it belongs to. |
| `name` | string | Unique in its workspace, up to 255 characters. |
| `description` | string or null | 50 to 500 characters. |
| `url` | string or null | Its page. A product has a description, a link, or both. |
| `hooks` | array of strings or null | Opening lines for posts about it, 5 to 300 characters each. |

```json theme={null}
{
  "id": 31,
  "workspace_id": 12,
  "name": "Monday roast",
  "description": "Single-origin Ethiopian beans, roasted every Monday in Leeds and posted the same day.",
  "url": "https://haldencoffee.com/shop/monday-roast",
  "hooks": ["Roasted Monday, at your door by Wednesday."]
}
```

## Roles

The person who owns the key also needs a role that allows it in the product's workspace: every role can read products, and owners, managers, content managers and content creators can add, change and delete them. If not, the request is refused with `403`.

A product of a workspace the key's person is not in is answered with `404`, as if it did not exist.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.