# Scopes

> What each Admin API scope opens and the operations that need it, and the scopes an MCP connection asks for.

## Admin API {#admin-api}

A token (`kf_…`) holds the scopes its owner chose when making it, and each operation needs one. Every scope of an area also reads it: a token that may change products may read them. The powers, marked so, are what the AI manager asks the owner's yes for; the token screen keeps them under *Customise*.

| Scope | What it opens | Operations |
|---|---|---|
| [`products:read`](https://docs.kaizenaflow.com/reference/scopes#products-read) | Read products, categories and tags, the media library and products' galleries, price lists and their prices, and the product file's jobs. | 13 |
| [`products:write`](https://docs.kaizenaflow.com/reference/scopes#products-write) | Make products and change drafts (a product on the site only with `products:publish` too). | 2 |
| [`products:manage`](https://docs.kaizenaflow.com/reference/scopes#products-manage) | Make categories and tags, upload pictures to the media library, import the product file (only drafts without `products:publish`), and put a draft in a category or tag and change its gallery. | 14 |
| [`inventory:read`](https://docs.kaizenaflow.com/reference/scopes#inventory-read) | Read stock locations and levels. | 2 |
| [`inventory:write`](https://docs.kaizenaflow.com/reference/scopes#inventory-write) | Adjust and set stock. | 2 |
| [`orders:read`](https://docs.kaizenaflow.com/reference/scopes#orders-read) | Read orders with their addresses, invoices and credit notes, refunds and notes, draft orders and requests for a quote, returns and subscriptions. | 12 |
| [`orders:write`](https://docs.kaizenaflow.com/reference/scopes#orders-write) | Record parcels with tracking. | 1 |
| [`orders:manage`](https://docs.kaizenaflow.com/reference/scopes#orders-manage) | Make and change draft orders, and add notes and tags to orders. | 5 |
| [`customers:read`](https://docs.kaizenaflow.com/reference/scopes#customers-read) | Read customers and their tags, their store credit and bonus credits, and segments. | 8 |
| [`customers:write`](https://docs.kaizenaflow.com/reference/scopes#customers-write) | Tag customers. | 2 |
| [`customers:manage`](https://docs.kaizenaflow.com/reference/scopes#customers-manage) | Add customers and change their name, phone, address and company (their email only with `customers:email` too). | 3 |
| [`discounts:read`](https://docs.kaizenaflow.com/reference/scopes#discounts-read) | Read discount codes. | 2 |
| [`discounts:write`](https://docs.kaizenaflow.com/reference/scopes#discounts-write) | Make discount codes. | 1 |
| [`checkout:read`](https://docs.kaizenaflow.com/reference/scopes#checkout-read) | Read checkout rules and questions. | 2 |
| [`checkout:write`](https://docs.kaizenaflow.com/reference/scopes#checkout-write) | Change checkout rules and questions. | 6 |
| [`content:read`](https://docs.kaizenaflow.com/reference/scopes#content-read) | Read pages, blog articles, content types and entries, and menus. | 9 |
| [`content:write`](https://docs.kaizenaflow.com/reference/scopes#content-write) | Write drafts of pages, blog articles and content entries; nothing on the site changes. | 6 |
| [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#settings-read) | Read the store's countries, currencies, languages, shipping, tax profile and price display. | 1 |
| [`reports:read`](https://docs.kaizenaflow.com/reference/scopes#reports-read) | Run saved reports on the data as it is now. | 4 |
| [`forms:read`](https://docs.kaizenaflow.com/reference/scopes#forms-read) | Read forms; with the right to read customers, their responses. | 3 |
| [`forms:write`](https://docs.kaizenaflow.com/reference/scopes#forms-write) | Make forms and change them. | 2 |
| [`products:publish`](https://docs.kaizenaflow.com/reference/scopes#products-publish) | A power: publish, unpublish, archive and bring back products; change a product on the site (its fields, gallery, categories and tags); rename and delete categories and tags; set price lists' prices; import a file that does any of these. | 9 |
| [`orders:send`](https://docs.kaizenaflow.com/reference/scopes#orders-send) | A power: send draft orders (a pay link) and decline requests for a quote, approve, decline and receive returns, pause and cancel subscriptions. Each emails the customer. | 7 |
| [`orders:refund`](https://docs.kaizenaflow.com/reference/scopes#orders-refund) | A power: refund orders through the admin's own refund, to the payment or as store credit, and cancel orders not paid yet. | 2 |
| [`customers:email`](https://docs.kaizenaflow.com/reference/scopes#customers-email) | A power: change the email a customer signs in with (codes to sign in are sent to it). | 0 |
| [`discounts:publish`](https://docs.kaizenaflow.com/reference/scopes#discounts-publish) | A power: change discount codes and switch them off. | 2 |
| [`gift_cards:write`](https://docs.kaizenaflow.com/reference/scopes#gift-cards-write) | A power: issue, read and deactivate gift cards. A card's code is answered once, when it is issued. | 4 |
| [`content:publish`](https://docs.kaizenaflow.com/reference/scopes#content-publish) | A power: publish pages, blog articles and content entries, and change the address of one on the site (or of pages under it). | 3 |
| [`webhooks:write`](https://docs.kaizenaflow.com/reference/scopes#webhooks-write) | A power: add, change and remove the owner's webhook endpoints, read their deliveries and send one again, as on the Integrations page. | 6 |

### `products:read` {#products-read}

Read products, categories and tags, the media library and products' galleries, price lists and their prices, and the product file's jobs.

- [List products](https://docs.kaizenaflow.com/reference/admin-api/products#products-list): `GET /products`
- [Get a product](https://docs.kaizenaflow.com/reference/admin-api/products#products-get): `GET /products/{id}`
- [List categories](https://docs.kaizenaflow.com/reference/admin-api/categories-and-tags#categories-list): `GET /categories`
- [Get a category](https://docs.kaizenaflow.com/reference/admin-api/categories-and-tags#categories-get): `GET /categories/{id}`
- [List tags](https://docs.kaizenaflow.com/reference/admin-api/categories-and-tags#tags-list): `GET /tags`
- [Get a tag](https://docs.kaizenaflow.com/reference/admin-api/categories-and-tags#tags-get): `GET /tags/{id}`
- [List the media library](https://docs.kaizenaflow.com/reference/admin-api/media#media-list): `GET /media`
- [Get a product's gallery](https://docs.kaizenaflow.com/reference/admin-api/media#products-media): `GET /products/{id}/media`
- [List price lists](https://docs.kaizenaflow.com/reference/admin-api/price-lists#price-lists-list): `GET /price-lists`
- [List a price list's prices](https://docs.kaizenaflow.com/reference/admin-api/price-lists#price-lists-prices): `GET /price-lists/{id}/prices`
- [Export the product file](https://docs.kaizenaflow.com/reference/admin-api/bulk-jobs#jobs-product-export): `POST /jobs/product-exports`
- [Poll a job](https://docs.kaizenaflow.com/reference/admin-api/bulk-jobs#jobs-get): `GET /jobs/{id}`
- [Download a job's file](https://docs.kaizenaflow.com/reference/admin-api/bulk-jobs#jobs-download): `GET /jobs/{id}/download`

### `products:write` {#products-write}

Make products and change drafts (a product on the site only with `products:publish` too).

- [Create a draft product](https://docs.kaizenaflow.com/reference/admin-api/products#products-create): `POST /products`
- [Change a draft product](https://docs.kaizenaflow.com/reference/admin-api/products#products-update): `PATCH /products/{id}`

### `products:manage` {#products-manage}

Make categories and tags, upload pictures to the media library, import the product file (only drafts without `products:publish`), and put a draft in a category or tag and change its gallery.

- [Create a category](https://docs.kaizenaflow.com/reference/admin-api/categories-and-tags#categories-create): `POST /categories`
- [Put a product in a category](https://docs.kaizenaflow.com/reference/admin-api/categories-and-tags#categories-add-product): `POST /categories/{id}/products`
- [Take a product out of a category](https://docs.kaizenaflow.com/reference/admin-api/categories-and-tags#categories-remove-product): `DELETE /categories/{id}/products/{product_id}`
- [Create a tag](https://docs.kaizenaflow.com/reference/admin-api/categories-and-tags#tags-create): `POST /tags`
- [Tag a product](https://docs.kaizenaflow.com/reference/admin-api/categories-and-tags#tags-add-product): `POST /tags/{id}/products`
- [Take a tag off a product](https://docs.kaizenaflow.com/reference/admin-api/categories-and-tags#tags-remove-product): `DELETE /tags/{id}/products/{product_id}`
- [Start an upload](https://docs.kaizenaflow.com/reference/admin-api/media#media-upload): `POST /media/uploads`
- [Keep an uploaded picture](https://docs.kaizenaflow.com/reference/admin-api/media#media-create): `POST /media`
- [Add a picture to a product](https://docs.kaizenaflow.com/reference/admin-api/media#products-media-add): `POST /products/{id}/media`
- [Order a product's pictures](https://docs.kaizenaflow.com/reference/admin-api/media#products-media-order): `PATCH /products/{id}/media`
- [Take a picture off a product](https://docs.kaizenaflow.com/reference/admin-api/media#products-media-remove): `DELETE /products/{id}/media/{media_id}`
- [Start a product import](https://docs.kaizenaflow.com/reference/admin-api/bulk-jobs#jobs-product-import): `POST /jobs/product-imports`
- [Check an uploaded product file](https://docs.kaizenaflow.com/reference/admin-api/bulk-jobs#jobs-product-import-check): `POST /jobs/product-imports/{id}/check`
- [Apply a checked import](https://docs.kaizenaflow.com/reference/admin-api/bulk-jobs#jobs-apply): `POST /jobs/{id}/apply`

### `inventory:read` {#inventory-read}

Read stock locations and levels.

- [List stock locations](https://docs.kaizenaflow.com/reference/admin-api/inventory#inventory-locations): `GET /inventory/locations`
- [List stock levels](https://docs.kaizenaflow.com/reference/admin-api/inventory#inventory-levels): `GET /inventory/levels`

### `inventory:write` {#inventory-write}

Adjust and set stock.

- [Adjust stock](https://docs.kaizenaflow.com/reference/admin-api/inventory#inventory-adjust): `POST /inventory/adjust`
- [Set stock to a count](https://docs.kaizenaflow.com/reference/admin-api/inventory#inventory-set): `POST /inventory/set`

### `orders:read` {#orders-read}

Read orders with their addresses, invoices and credit notes, refunds and notes, draft orders and requests for a quote, returns and subscriptions.

- [List orders](https://docs.kaizenaflow.com/reference/admin-api/orders#orders-list): `GET /orders`
- [Get an order](https://docs.kaizenaflow.com/reference/admin-api/orders#orders-get): `GET /orders/{id}`
- [Get an invoice as UBL](https://docs.kaizenaflow.com/reference/admin-api/orders#invoices-ubl): `GET /invoices/{id}/ubl`
- [Get a credit note as UBL](https://docs.kaizenaflow.com/reference/admin-api/orders#credit-notes-ubl): `GET /credit-notes/{id}/ubl`
- [List draft orders](https://docs.kaizenaflow.com/reference/admin-api/draft-orders#drafts-list): `GET /drafts`
- [Get a draft order](https://docs.kaizenaflow.com/reference/admin-api/draft-orders#drafts-get): `GET /drafts/{id}`
- [List an order's refunds](https://docs.kaizenaflow.com/reference/admin-api/orders#orders-refunds): `GET /orders/{id}/refunds`
- [List an order's notes](https://docs.kaizenaflow.com/reference/admin-api/orders#orders-notes): `GET /orders/{id}/notes`
- [List returns](https://docs.kaizenaflow.com/reference/admin-api/returns#returns-list): `GET /returns`
- [Get a return](https://docs.kaizenaflow.com/reference/admin-api/returns#returns-get): `GET /returns/{id}`
- [List subscriptions](https://docs.kaizenaflow.com/reference/admin-api/subscriptions#subscriptions-list): `GET /subscriptions`
- [Get a subscription](https://docs.kaizenaflow.com/reference/admin-api/subscriptions#subscriptions-get): `GET /subscriptions/{id}`

### `orders:write` {#orders-write}

Record parcels with tracking.

- [Send a parcel](https://docs.kaizenaflow.com/reference/admin-api/orders#orders-fulfil): `POST /orders/{id}/fulfillments`

### `orders:manage` {#orders-manage}

Make and change draft orders, and add notes and tags to orders.

- [Create a draft order](https://docs.kaizenaflow.com/reference/admin-api/draft-orders#drafts-create): `POST /drafts`
- [Change a draft order](https://docs.kaizenaflow.com/reference/admin-api/draft-orders#drafts-update): `PATCH /drafts/{id}`
- [Add a note to an order](https://docs.kaizenaflow.com/reference/admin-api/orders#orders-note): `POST /orders/{id}/notes`
- [Tag an order](https://docs.kaizenaflow.com/reference/admin-api/orders#orders-tag): `POST /orders/{id}/tags`
- [Remove an order's tag](https://docs.kaizenaflow.com/reference/admin-api/orders#orders-untag): `DELETE /orders/{id}/tags/{tag}`

### `customers:read` {#customers-read}

Read customers and their tags, their store credit and bonus credits, and segments.

- [List customers](https://docs.kaizenaflow.com/reference/admin-api/customers#customers-list): `GET /customers`
- [Get a customer](https://docs.kaizenaflow.com/reference/admin-api/customers#customers-get): `GET /customers/{id}`
- [Get a customer's store credit](https://docs.kaizenaflow.com/reference/admin-api/customers#customers-store-credit): `GET /customers/{id}/store-credit`
- [Get a customer's bonus credits](https://docs.kaizenaflow.com/reference/admin-api/customers#customers-loyalty): `GET /customers/{id}/loyalty`
- [List segments](https://docs.kaizenaflow.com/reference/admin-api/segments#segments-list): `GET /segments`
- [Get a segment](https://docs.kaizenaflow.com/reference/admin-api/segments#segments-get): `GET /segments/{id}`
- [List contracts](https://docs.kaizenaflow.com/reference/admin-api/contracts#contracts-list): `GET /contracts`
- [Get a contract](https://docs.kaizenaflow.com/reference/admin-api/contracts#contracts-get): `GET /contracts/{id}`

### `customers:write` {#customers-write}

Tag customers.

- [Tag a customer](https://docs.kaizenaflow.com/reference/admin-api/customers#customers-tag): `POST /customers/{id}/tags`
- [Remove a customer's tag](https://docs.kaizenaflow.com/reference/admin-api/customers#customers-untag): `DELETE /customers/{id}/tags/{tag}`

### `customers:manage` {#customers-manage}

Add customers and change their name, phone, address and company (their email only with `customers:email` too).

- [Send an event about a subscriber](https://docs.kaizenaflow.com/reference/admin-api/customers#events-create): `POST /events`
- [Create a customer](https://docs.kaizenaflow.com/reference/admin-api/customers#customers-create): `POST /customers`
- [Change a customer](https://docs.kaizenaflow.com/reference/admin-api/customers#customers-update): `PATCH /customers/{id}`

### `discounts:read` {#discounts-read}

Read discount codes.

- [List discount codes](https://docs.kaizenaflow.com/reference/admin-api/discounts#discounts-list): `GET /discounts`
- [Get a discount code](https://docs.kaizenaflow.com/reference/admin-api/discounts#discounts-get): `GET /discounts/{id}`

### `discounts:write` {#discounts-write}

Make discount codes.

- [Create a discount code](https://docs.kaizenaflow.com/reference/admin-api/discounts#discounts-create): `POST /discounts`

### `checkout:read` {#checkout-read}

Read checkout rules and questions.

- [List checkout rules](https://docs.kaizenaflow.com/reference/admin-api/checkout#checkout-rules): `GET /checkout/rules`
- [List checkout questions](https://docs.kaizenaflow.com/reference/admin-api/checkout#checkout-fields): `GET /checkout/fields`

### `checkout:write` {#checkout-write}

Change checkout rules and questions.

- [Create a checkout rule](https://docs.kaizenaflow.com/reference/admin-api/checkout#checkout-rule-create): `POST /checkout/rules`
- [Change or switch a checkout rule](https://docs.kaizenaflow.com/reference/admin-api/checkout#checkout-rule-update): `PATCH /checkout/rules/{id}`
- [Delete a checkout rule](https://docs.kaizenaflow.com/reference/admin-api/checkout#checkout-rule-delete): `DELETE /checkout/rules/{id}`
- [Create a checkout question](https://docs.kaizenaflow.com/reference/admin-api/checkout#checkout-field-create): `POST /checkout/fields`
- [Change, switch or move a checkout question](https://docs.kaizenaflow.com/reference/admin-api/checkout#checkout-field-update): `PATCH /checkout/fields/{id}`
- [Delete a checkout question](https://docs.kaizenaflow.com/reference/admin-api/checkout#checkout-field-delete): `DELETE /checkout/fields/{id}`

### `content:read` {#content-read}

Read pages, blog articles, content types and entries, and menus.

- [List pages](https://docs.kaizenaflow.com/reference/admin-api/pages#pages-list): `GET /pages`
- [Get a page](https://docs.kaizenaflow.com/reference/admin-api/pages#pages-get): `GET /pages/{id}`
- [List blog articles](https://docs.kaizenaflow.com/reference/admin-api/blog#articles-list): `GET /articles`
- [Get a blog article](https://docs.kaizenaflow.com/reference/admin-api/blog#articles-get): `GET /articles/{id}`
- [List content types](https://docs.kaizenaflow.com/reference/admin-api/content#content-types): `GET /content-types`
- [List a type's entries](https://docs.kaizenaflow.com/reference/admin-api/content#content-entries): `GET /content-types/{id}/entries`
- [Get an entry](https://docs.kaizenaflow.com/reference/admin-api/content#content-entry): `GET /content-entries/{id}`
- [List menus](https://docs.kaizenaflow.com/reference/admin-api/menus#menus-list): `GET /menus`
- [Get a menu](https://docs.kaizenaflow.com/reference/admin-api/menus#menus-get): `GET /menus/{id}`

### `content:write` {#content-write}

Write drafts of pages, blog articles and content entries; nothing on the site changes.

- [Create a draft page](https://docs.kaizenaflow.com/reference/admin-api/pages#pages-create): `POST /pages`
- [Save a page's draft](https://docs.kaizenaflow.com/reference/admin-api/pages#pages-update): `PATCH /pages/{id}`
- [Create a draft blog article](https://docs.kaizenaflow.com/reference/admin-api/blog#articles-create): `POST /articles`
- [Save a blog article's draft](https://docs.kaizenaflow.com/reference/admin-api/blog#articles-update): `PATCH /articles/{id}`
- [Create an entry](https://docs.kaizenaflow.com/reference/admin-api/content#content-entry-create): `POST /content-types/{id}/entries`
- [Save an entry's draft](https://docs.kaizenaflow.com/reference/admin-api/content#content-entry-update): `PATCH /content-entries/{id}`

### `settings:read` {#settings-read}

Read the store's countries, currencies, languages, shipping, tax profile and price display.

- [Get the store's settings](https://docs.kaizenaflow.com/reference/admin-api/settings#settings-get): `GET /settings`

### `reports:read` {#reports-read}

Run saved reports on the data as it is now.

- [List saved reports](https://docs.kaizenaflow.com/reference/admin-api/reports#reports-list): `GET /reports`
- [Run a saved report](https://docs.kaizenaflow.com/reference/admin-api/reports#reports-run): `GET /reports/{id}/run`
- [List A/B tests](https://docs.kaizenaflow.com/reference/admin-api/a-b-tests#experiments-list): `GET /experiments`
- [Get an A/B test](https://docs.kaizenaflow.com/reference/admin-api/a-b-tests#experiments-get): `GET /experiments/{id}`

### `forms:read` {#forms-read}

Read forms; with the right to read customers, their responses.

- [List forms](https://docs.kaizenaflow.com/reference/admin-api/forms#forms-list): `GET /forms`
- [Get a form](https://docs.kaizenaflow.com/reference/admin-api/forms#forms-get): `GET /forms/{id}`
- [List a form's responses](https://docs.kaizenaflow.com/reference/admin-api/forms#forms-responses): `GET /forms/{id}/responses`

### `forms:write` {#forms-write}

Make forms and change them.

- [Make a form](https://docs.kaizenaflow.com/reference/admin-api/forms#forms-create): `POST /forms`
- [Change a form](https://docs.kaizenaflow.com/reference/admin-api/forms#forms-update): `PATCH /forms/{id}`

### `products:publish` {#products-publish}

A power: publish, unpublish, archive and bring back products; change a product on the site (its fields, gallery, categories and tags); rename and delete categories and tags; set price lists' prices; import a file that does any of these.

- [Change a category](https://docs.kaizenaflow.com/reference/admin-api/categories-and-tags#categories-update): `PATCH /categories/{id}`
- [Delete a category](https://docs.kaizenaflow.com/reference/admin-api/categories-and-tags#categories-delete): `DELETE /categories/{id}`
- [Change a tag](https://docs.kaizenaflow.com/reference/admin-api/categories-and-tags#tags-update): `PATCH /tags/{id}`
- [Delete a tag](https://docs.kaizenaflow.com/reference/admin-api/categories-and-tags#tags-delete): `DELETE /tags/{id}`
- [Publish a product](https://docs.kaizenaflow.com/reference/admin-api/products#products-publish): `POST /products/{id}/publish`
- [Take a product off the site](https://docs.kaizenaflow.com/reference/admin-api/products#products-unpublish): `POST /products/{id}/unpublish`
- [Archive a product](https://docs.kaizenaflow.com/reference/admin-api/products#products-archive): `POST /products/{id}/archive`
- [Bring an archived product back](https://docs.kaizenaflow.com/reference/admin-api/products#products-unarchive): `POST /products/{id}/unarchive`
- [Set a price list's prices](https://docs.kaizenaflow.com/reference/admin-api/price-lists#price-lists-set-prices): `POST /price-lists/{id}/prices`

### `orders:send` {#orders-send}

A power: send draft orders (a pay link) and decline requests for a quote, approve, decline and receive returns, pause and cancel subscriptions. Each emails the customer.

- [Send a draft order](https://docs.kaizenaflow.com/reference/admin-api/draft-orders#drafts-send): `POST /drafts/{id}/send`
- [Decline a request for a quote](https://docs.kaizenaflow.com/reference/admin-api/draft-orders#drafts-decline): `POST /drafts/{id}/decline`
- [Approve a return](https://docs.kaizenaflow.com/reference/admin-api/returns#returns-approve): `POST /returns/{id}/approve`
- [Decline a return](https://docs.kaizenaflow.com/reference/admin-api/returns#returns-decline): `POST /returns/{id}/decline`
- [Mark a return received](https://docs.kaizenaflow.com/reference/admin-api/returns#returns-receive): `POST /returns/{id}/receive`
- [Pause a subscription](https://docs.kaizenaflow.com/reference/admin-api/subscriptions#subscriptions-pause): `POST /subscriptions/{id}/pause`
- [Cancel a subscription](https://docs.kaizenaflow.com/reference/admin-api/subscriptions#subscriptions-cancel): `POST /subscriptions/{id}/cancel`

### `orders:refund` {#orders-refund}

A power: refund orders through the admin's own refund, to the payment or as store credit, and cancel orders not paid yet.

- [Refund an order](https://docs.kaizenaflow.com/reference/admin-api/orders#orders-refund): `POST /orders/{id}/refunds`
- [Cancel an unpaid order](https://docs.kaizenaflow.com/reference/admin-api/orders#orders-cancel): `POST /orders/{id}/cancel`

### `customers:email` {#customers-email}

A power: change the email a customer signs in with (codes to sign in are sent to it).

No operation needs it alone yet.

### `discounts:publish` {#discounts-publish}

A power: change discount codes and switch them off.

- [Change a discount code](https://docs.kaizenaflow.com/reference/admin-api/discounts#discounts-update): `PATCH /discounts/{id}`
- [Switch a discount code off](https://docs.kaizenaflow.com/reference/admin-api/discounts#discounts-disable): `POST /discounts/{id}/disable`

### `gift_cards:write` {#gift-cards-write}

A power: issue, read and deactivate gift cards. A card's code is answered once, when it is issued.

- [List gift cards](https://docs.kaizenaflow.com/reference/admin-api/gift-cards#gift-cards-list): `GET /gift-cards`
- [Get a gift card](https://docs.kaizenaflow.com/reference/admin-api/gift-cards#gift-cards-get): `GET /gift-cards/{id}`
- [Issue a gift card](https://docs.kaizenaflow.com/reference/admin-api/gift-cards#gift-cards-issue): `POST /gift-cards`
- [Deactivate a gift card](https://docs.kaizenaflow.com/reference/admin-api/gift-cards#gift-cards-disable): `POST /gift-cards/{id}/disable`

### `content:publish` {#content-publish}

A power: publish pages, blog articles and content entries, and change the address of one on the site (or of pages under it).

- [Publish a page](https://docs.kaizenaflow.com/reference/admin-api/pages#pages-publish): `POST /pages/{id}/publish`
- [Publish a blog article](https://docs.kaizenaflow.com/reference/admin-api/blog#articles-publish): `POST /articles/{id}/publish`
- [Publish an entry](https://docs.kaizenaflow.com/reference/admin-api/content#content-entry-publish): `POST /content-entries/{id}/publish`

### `webhooks:write` {#webhooks-write}

A power: add, change and remove the owner's webhook endpoints, read their deliveries and send one again, as on the Integrations page.

- [List webhook endpoints](https://docs.kaizenaflow.com/reference/admin-api/webhook-endpoints#webhooks-list): `GET /webhooks`
- [Add a webhook endpoint](https://docs.kaizenaflow.com/reference/admin-api/webhook-endpoints#webhooks-create): `POST /webhooks`
- [Change a webhook endpoint](https://docs.kaizenaflow.com/reference/admin-api/webhook-endpoints#webhooks-update): `PATCH /webhooks/{id}`
- [Remove a webhook endpoint](https://docs.kaizenaflow.com/reference/admin-api/webhook-endpoints#webhooks-delete): `DELETE /webhooks/{id}`
- [List an endpoint's deliveries](https://docs.kaizenaflow.com/reference/admin-api/webhook-endpoints#webhooks-deliveries): `GET /webhooks/{id}/deliveries`
- [Send a delivery again](https://docs.kaizenaflow.com/reference/admin-api/webhook-endpoints#webhooks-resend): `POST /webhooks/{id}/deliveries/{delivery_id}/resend`

## MCP {#mcp}

An MCP client signs in with OAuth 2.1 and asks for scopes: `stores:read` to list the stores, and one per staff permission. A call needs its tool's scope in the grant, and the person's own role decides at every call, so a token never does more than its person may.

| Scope | Tools that need it |
|---|---|
| `stores:read` | 1, in [Stores](https://docs.kaizenaflow.com/reference/mcp/stores) |
| `orders:read` | 14, in [Orders](https://docs.kaizenaflow.com/reference/mcp/orders) |
| `orders:write` | 19, in [Orders](https://docs.kaizenaflow.com/reference/mcp/orders) |
| `products:read` | 17, in [Products](https://docs.kaizenaflow.com/reference/mcp/products) |
| `products:write` | 16, in [Products](https://docs.kaizenaflow.com/reference/mcp/products) |
| `customers:read` | 16, in [Customers](https://docs.kaizenaflow.com/reference/mcp/customers) |
| `customers:write` | 14, in [Customers](https://docs.kaizenaflow.com/reference/mcp/customers) |
| `marketing:read` | 20, in [Marketing](https://docs.kaizenaflow.com/reference/mcp/marketing) |
| `marketing:write` | 27, in [Marketing](https://docs.kaizenaflow.com/reference/mcp/marketing) |
| `analytics:read` | 19, in [Analytics](https://docs.kaizenaflow.com/reference/mcp/analytics) |
| `analytics:write` | 3, in [Analytics](https://docs.kaizenaflow.com/reference/mcp/analytics) |
| `website:read` | 18, in [Website](https://docs.kaizenaflow.com/reference/mcp/website) |
| `website:write` | 27, in [Website](https://docs.kaizenaflow.com/reference/mcp/website) |
| `bookings:read` | 2, in [Bookings](https://docs.kaizenaflow.com/reference/mcp/bookings) |
| `bookings:write` | 2, in [Bookings](https://docs.kaizenaflow.com/reference/mcp/bookings) |
| `support:read` | 3, in [Support](https://docs.kaizenaflow.com/reference/mcp/support) |
| `support:write` | 3, in [Support](https://docs.kaizenaflow.com/reference/mcp/support) |
| `settings:read` | 18, in [Settings](https://docs.kaizenaflow.com/reference/mcp/settings) |
| `settings:write` | 15, in [Settings](https://docs.kaizenaflow.com/reference/mcp/settings) |
| `billing:read` | 1, in [Billing](https://docs.kaizenaflow.com/reference/mcp/billing) |
| `billing:write` | none |
| `staff:read` | none |
| `staff:write` | none |
| `books:read` | none |
| `books:write` | none |
| `owner` | 46, in [The owner's own](https://docs.kaizenaflow.com/reference/mcp/owner) |

---

https://docs.kaizenaflow.com/reference/scopes · made from the API contract 1.57
