Pinapex
Agent-first Pinterest marketing

Give your AI agent a real Pinterest operating layer.

Pinapex lets agents discover the right account, publish or schedule Pins, manage the queue, and bring analytics back into the next decision—all through a secure CLI and API.

Pinterest OAuth · Revocable team token · JSON output · No database secrets

codex — pinapex agent
AIList the connected accounts and sync the boards for North & Pine.
$ pinapex accounts list --json
{ "id": "acct_01", "name": "North & Pine", "status": "active" }
$ pinapex boards list acct_01 --sync --json
{ "boards": ["Spring Ideas", "Small Spaces", "Weekend Projects"] }
AISchedule this creative to Spring Ideas tomorrow at 9am UTC.
$ pinapex pins publish --account acct_01 \
  --board "Spring Ideas" --image ./pin.jpg \
  --schedule 2026-09-02T09:00:00Z --json
✓ queued · post_8f29 · human-readable and machine-readable
Official API
Pinterest OAuth connection
Team-scoped
Server-enforced isolation
Agent-readable
JSON on every command
Revocable
Control access at any time

From prompt to published Pin

The complete operating loop an agent needs.

Writing a caption is one step. Pinapex exposes the operational context and actions around it, so an agent can finish the job and verify what happened.

01

Discover the workspace

List connected Pinterest accounts, sync boards, and inspect sections as structured JSON before the agent makes a decision.

pinapex boards list <accountId> --sync --json
02

Publish with context

Choose the correct account and board, upload a local asset or URL, then publish immediately or schedule an exact ISO time.

pinapex pins publish … --schedule <iso8601> --json
03

Operate the queue

Inspect status, change copy or timing while a Pin is queued, cancel work, and surface delivery errors without opening another tab.

pinapex queue list --status queued --json
04

Close the feedback loop

Sync impressions, saves, Pin clicks, and outbound clicks so the next content decision starts with current performance data.

pinapex analytics summary --days 30 --json

Agentic by architecture

A controlled action layer between the model and Pinterest.

The model never needs your Pinterest password or infrastructure credentials. It expresses an action; Pinapex authenticates, scopes, validates, executes, and reports the result.

01

You set the intent

Campaign goal, creative, timing, and guardrails.

02

The agent discovers context

Accounts, boards, sections, queues, and recent results.

03

Pinapex executes securely

Team scope, OAuth, validation, and official API delivery.

04

Results return as data

Status and metrics feed the next agent decision.

Powerful enough for an agent. Bounded enough for a team.

Agent access should be explicit, scoped, observable, and reversible. That boundary is part of the product—not a prompt you hope the model follows.

01

No Pinterest passwords

Accounts connect through Pinterest OAuth, not shared login credentials.

02

No infrastructure secrets

The CLI is an authenticated HTTP client; it holds no database, storage, or Pinterest app secrets.

03

Hard team boundaries

Every action is filtered to the token's team on the server. There is no client-side team override.

04

Access you can end

Revoke a personal access token whenever an agent or machine no longer needs it.

Bring your own agent

One interface. More than one model.

Use the Pinapex CLI from a terminal or call the same authenticated actions over HTTP. Structured JSON keeps the workflow portable across agent environments.

See every command
Claude Code
Codex
ChatGPT
Any HTTP client

Pinterest Agent FAQ

The practical questions, answered.

What the agent can do, what it needs, and where control stays with your team.

What is a Pinterest marketing agent?+

It is an AI agent that can do operational Pinterest work through defined tools, not merely suggest copy. With Pinapex, an authorized agent can discover accounts and boards, publish or schedule Pins, manage the queue, and read analytics.

Can an AI agent publish Pins with Pinapex?+

Yes. The Pinapex CLI and HTTP API support immediate and scheduled publishing with a Pinterest account, board, image, title, description, destination link, alt text, and optional tags.

Does the agent need my Pinterest password?+

No. Pinterest accounts connect through OAuth. The agent receives a revocable, team-scoped Pinapex token; it never needs a Pinterest password, database credential, or storage secret.

Which AI agents can use Pinapex?+

The workflow is designed for Claude Code, Codex, ChatGPT, and other agents that can run shell commands or make authenticated HTTP requests. Every command can return machine-readable JSON.

Do I need to clone the Pinapex repository?+

No. A signed-in user can generate a token in the browser, and an agent can call the hosted API from any machine. The CLI is an optional convenience layer over the same authenticated HTTP actions.

Agent-ready from the first account

Turn “publish this campaign” into a reviewable workflow.

Connect Pinterest once, give your agent scoped access, and keep every account, action, queue, and result in Pinapex.