HomeBlogOrdering via API or AI agent
AI Agents

Order a UGC campaign via API or AI agent

Published June 30, 2026 · by UGC Pocket · ~7 min read

TL;DR

UGC Pocket lets an AI agent order a campaign through a REST API or an MCP server. Every order creates a draft that the brand confirms and funds manually: there is no automatic payment. The agent authenticates with a ugcp_live_… key, within a limit of 30 requests/minute, and can use idempotency to avoid duplicates. The allowed values are bounded: one campaign package from €2,000, 7 niche categories, 5 platforms, 3 services. The result: an agent prepares all the work, a human keeps the final say.

Why order via an AI agent

Marketing teams increasingly use AI assistants to orchestrate their tasks. Rather than filling out a form by hand, an agent can turn an intent ("I want 3 TikTok videos from creators with a dog to launch our kibble") into a campaign that's ready to confirm.

There are three benefits:

How it works: the "human-confirmed draft" model

In one sentence: an agent creates a draft, the brand confirms and funds it. That's the human_confirmed_draft principle, designed to combine automation and safety.

  1. The agent authenticates with a ugcp_live_… API key tied to your brand account.
  2. The agent creates a campaign by sending a brief and the parameters (categories, platforms, campaign package).
  3. UGC Pocket returns a draft. The campaign is not active: it's waiting for a human action.
  4. The brand confirms and funds from the app. Only then does the campaign go live for creators.
  5. The rest follows the usual flow: creator selection, receiving the videos, approval, one invoice for the package.

This model guarantees that no agent can commit any spend on its own. AI speeds up the preparation; the human validates the financial commitment.

Draft to confirm
Kibble launch: 3 dog creators, TikTok, authentic tone…
🐶 DogTikTok
Max campaign budget€4,000
Confirm & fund
Edit the draft

The draft created by the agent, awaiting human confirmation.

The surfaces: REST, MCP, llms.txt

UGC Pocket exposes three entry points for agents:

A minimal example of creating a campaign in REST:

curl -X POST https://ugcpocket.com/api/campaigns \
  -H "Authorization: Bearer ugcp_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: camp-kibble-2026-06-30" \
  -d '{
    "title": "Kibble launch",
    "brief": "Energetic TikTok video, authentic tone, show the kibble in use with a dog.",
    "target_categories": ["dog"],
    "platforms": ["tiktok"],
    "prestation": "video_post",
    "budget_max_cents": 400000
  }'

The response returns a draft (unconfirmed status) with its identifier, which the brand finds in the app for confirmation.

Allowed values

The API validates every field. Here are the accepted values:

FieldAllowed values
budget_max_cents200000 minimum (i.e. €2,000 minimum)
target_categoriesdog, cat, car, cooking, couple, business, podcast
platformstiktok, instagram, youtube, snapchat, facebook
prestationvideo_post

The budget is expressed in cents in the API (400000 = €4,000) and is a maximum for the whole campaign, with a €2,000 minimum. The 7 niche categories correspond to: dog, cat, car, cooking, couple, business, podcast. The 3 services: UGC only, Video + posting, Posting provided.

Security & limits

Security rests on three safeguards: human confirmation, rate limits, idempotency.

In short: an agent can prepare and submit, but can neither spend nor publish without your explicit go-ahead.

Agent documentation

Everything you need to integrate your agent

Find the API schema, the MCP endpoints and the examples on our page dedicated to AI agents. You can also explore the available creators by category before submitting a campaign.

Agent documentation → openapi.json → Find creators →

FAQ

Can an AI agent pay for a campaign on its own?

No. Every order via API or MCP creates a draft (human_confirmed_draft) that the brand has to confirm and fund manually. No payment is ever triggered automatically by the agent.

What are the allowed values for a campaign via API?

One campaign package, from €2,000 (in cents in the API). Categories: dog, cat, car, cooking, couple, business, podcast. Platforms: TikTok, Instagram, YouTube, Snapchat, Facebook. Services: UGC only, Video + posting, Posting provided.

How do you authenticate an agent on the API?

With a key in the ugcp_live_… format passed in the Authorization: Bearer header. Requests are limited to 30 per minute, and idempotency (Idempotency-Key header) avoids duplicate drafts.

What's the difference between the REST API and MCP?

The REST API (host /api) integrates through standard HTTP/JSON requests. The MCP server (host /mcp) exposes the same capabilities as tools that compatible agents discover and call natively, without hand-coding the REST integration.

What happens after the draft is confirmed?

The campaign becomes visible to creators. You select the profiles, receive the videos within a few days and rate each delivery; the creator is paid by bank transfer, when they request it.

Connect your agent to UGC Pocket

Let the AI prepare the campaign, keep control over the confirmation and the budget.

Launching 2026: REST API + MCP server.