# Zapier — Moderation API Integrations
> zapier.com/apps/moderation-api/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Identity
Moderation API is a content moderation platform that checks text, images and video, routes flagged content to review queues and blocks repeat offenders.

- App slug: moderation-api
- Operations published here: 14 (7 events, 6 functions, 1 query)

## Authentication
Zapier connects to Moderation API via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection moderation-api
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/moderation-api/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect Moderation API through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · allow_content`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "moderation-api", owner: "me" });

const { data } = await zapier.runAction({
  app: "moderation-api",
  actionType: "write",
  action: "allow_content",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action moderation-api write allow_content \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing Moderation API's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "moderation-api" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions moderation-api --page-size 50 --max-items 200 --json
```

### Events (7)

Events fire when something happens in Moderation API. Use them to start a run.

#### Author Blocked
Triggers when an author (one of your users) is blocked.

- Type: read · Key: `author_blocked`
- Requires: nothing
- SDK: `runAction({ app: "moderation-api", actionType: "read", action: "author_blocked" })`
- CLI: `npx zapier-sdk run-action moderation-api read author_blocked`

#### Author Suspended
Triggers when an author is suspended for a while.

- Type: read · Key: `author_suspended`
- Requires: nothing
- SDK: `runAction({ app: "moderation-api", actionType: "read", action: "author_suspended" })`
- CLI: `npx zapier-sdk run-action moderation-api read author_suspended`

#### Author Unblocked
Triggers when a blocked or suspended author is enabled again.

- Type: read · Key: `author_unblocked`
- Requires: nothing
- SDK: `runAction({ app: "moderation-api", actionType: "read", action: "author_unblocked" })`
- CLI: `npx zapier-sdk run-action moderation-api read author_unblocked`

#### New Item in Review Queue
Triggers when content lands in a review queue and waits for a moderator.

- Type: read · Key: `new_queue_item`
- Requires: queueId
- SDK: `runAction({ app: "moderation-api", actionType: "read", action: "new_queue_item" })`
- CLI: `npx zapier-sdk run-action moderation-api read new_queue_item`

#### Custom Action on Content
Triggers when a moderator runs one of your custom actions on a queue item (built-in allow and reject have their own triggers).

- Type: read · Key: `queue_item_action`
- Requires: nothing
- SDK: `runAction({ app: "moderation-api", actionType: "read", action: "queue_item_action" })`
- CLI: `npx zapier-sdk run-action moderation-api read queue_item_action`

#### Content Allowed
Triggers when content is allowed in a review queue.

- Type: read · Key: `queue_item_allowed`
- Requires: nothing
- SDK: `runAction({ app: "moderation-api", actionType: "read", action: "queue_item_allowed" })`
- CLI: `npx zapier-sdk run-action moderation-api read queue_item_allowed`

#### Content Rejected
Triggers when content is rejected in a review queue, by a moderator or a rule.

- Type: read · Key: `queue_item_rejected`
- Requires: nothing
- SDK: `runAction({ app: "moderation-api", actionType: "read", action: "queue_item_rejected" })`
- CLI: `npx zapier-sdk run-action moderation-api read queue_item_rejected`

### Functions (6)

Functions change something in Moderation API.

#### Allow Content
Allows content and resolves it in the review queue, as if a moderator allowed it.

- Type: write · Key: `allow_content`
- Requires: id
- Optional: reason, queueId, moderator
- SDK: `runAction({ app: "moderation-api", actionType: "write", action: "allow_content" })`
- CLI: `npx zapier-sdk run-action moderation-api write allow_content`

#### Block Author
Blocks an author (one of your users) until they are unblocked.

- Type: write · Key: `block_author`
- Requires: id
- Optional: reason
- SDK: `runAction({ app: "moderation-api", actionType: "write", action: "block_author" })`
- CLI: `npx zapier-sdk run-action moderation-api write block_author`

#### Reject Content
Rejects content and resolves it in the review queue, as if a moderator rejected it.

- Type: write · Key: `reject_content`
- Requires: id
- Optional: reason, queueId, moderator
- SDK: `runAction({ app: "moderation-api", actionType: "write", action: "reject_content" })`
- CLI: `npx zapier-sdk run-action moderation-api write reject_content`

#### Moderate Content
Checks text, an image, a video or audio against your channel's policies and returns allow, review or reject. Flagged content goes to your review queue.

- Type: write · Key: `submit_content`
- Requires: contentType
- Optional: channel, contentId, authorId, conversationId, metaType, metadata, doNotStore
- SDK: `runAction({ app: "moderation-api", actionType: "write", action: "submit_content" })`
- CLI: `npx zapier-sdk run-action moderation-api write submit_content`

#### Suspend Author
Suspends an author for a set number of hours.

- Type: write · Key: `suspend_author`
- Requires: id
- Optional: reason, hours
- SDK: `runAction({ app: "moderation-api", actionType: "write", action: "suspend_author" })`
- CLI: `npx zapier-sdk run-action moderation-api write suspend_author`

#### Unblock Author
Enables a blocked or suspended author again.

- Type: write · Key: `unblock_author`
- Requires: id
- Optional: reason
- SDK: `runAction({ app: "moderation-api", actionType: "write", action: "unblock_author" })`
- CLI: `npx zapier-sdk run-action moderation-api write unblock_author`

### Queries (1)

Queries read from Moderation API and return data. They change nothing.

#### Find Author
Finds an author (one of your users) and returns their status, trust level and how much of their content was flagged.

- Type: search · Key: `find_author`
- Requires: id
- SDK: `runAction({ app: "moderation-api", actionType: "search", action: "find_author" })`
- CLI: `npx zapier-sdk run-action moderation-api search find_author`

## Popular integrations
- [Moderation API + Instagram for Business](zapier.com/apps/moderation-api/integrations/instagram-for-business.md)
- [Moderation API + Gmail](zapier.com/apps/moderation-api/integrations/gmail.md)
- [Moderation API + HubSpot](zapier.com/apps/moderation-api/integrations/hubspot.md)
- [Moderation API + Mailchimp](zapier.com/apps/moderation-api/integrations/mailchimp.md)
- [Moderation API + Airtable](zapier.com/apps/moderation-api/integrations/airtable.md)
- [Moderation API + Google Ads](zapier.com/apps/moderation-api/integrations/google-ads.md)
- [Moderation API + ChatGPT (OpenAI)](zapier.com/apps/moderation-api/integrations/chatgpt.md)
- [Moderation API + Discord](zapier.com/apps/moderation-api/integrations/discord.md)
- [Moderation API + Facebook Pages](zapier.com/apps/moderation-api/integrations/facebook-pages.md)
- [Moderation API + YouTube](zapier.com/apps/moderation-api/integrations/youtube.md)
- [Moderation API + Kajabi](zapier.com/apps/moderation-api/integrations/kajabi.md)
- [Moderation API + LinkedIn Ads](zapier.com/apps/moderation-api/integrations/linkedin-ads.md)
- [Moderation API + LinkedIn](zapier.com/apps/moderation-api/integrations/linkedin.md)
- [Moderation API + Mighty Networks](zapier.com/apps/moderation-api/integrations/mightynetworks.md)
- [Moderation API + Chatwork](zapier.com/apps/moderation-api/integrations/chatwork.md)
- [Moderation API + Podio](zapier.com/apps/moderation-api/integrations/podio.md)

## Links
- Full app page: zapier.com/apps/moderation-api/integrations
- MCP: zapier.com/mcp/moderation-api
- SDK: npmjs.com/package/@zapier/zapier-sdk