# UGC Documentation - developer.ugc.africa/docs > UGC is an API-first advertising distribution engine. Creators broadcast brand assets and earn from verified reach; advertisers fund campaigns via wallet, hosted checkout, or a payment link; agencies and automation platforms integrate via REST API, outbound webhooks, MCP, and Agent Credentials. - **Product:** https://ugc.africa - **Developer console:** https://developer.ugc.africa - **Hosted checkout / pay pages:** served under the main product domain (payment-link short codes, e.g. `/pay/{shortCode}`) - **Remote MCP (streamable HTTP):** https://api.ugc.africa/mcp - **MCP discovery:** GET https://api.ugc.africa/.well-known/mcp.json - **MCP registry:** `africa.ugc/ugc` at https://registry.modelcontextprotocol.io/ - **Actions Gateway OpenAPI:** GET https://api.ugc.africa/actions-gateway/openapi.json - **Support:** hello@ugc.africa ## Getting started - [Getting Started](https://developer.ugc.africa/docs/getting-started) - [Developer Console](https://developer.ugc.africa/docs/guides/developer-console) - [Authentication overview](https://developer.ugc.africa/docs/guides/authentication-overview) - [API key authentication](https://developer.ugc.africa/docs/api/auth/api-keys) - [Errors](https://developer.ugc.africa/docs/api/errors) Every API key (`UGSK_live_...`) is live from the moment it's created - there is no sandbox mode for self-serve keys today (the `test` segment is reserved in the key format for a future TEST environment). Self-serve: create a key in the Developer Console and start calling the API immediately, no approval step. ## Core API - campaigns, payment links, endpoints - [API overview](https://developer.ugc.africa/docs/api/overview) - [Campaign endpoints](https://developer.ugc.africa/docs/api/campaigns) - [Payment link endpoints](https://developer.ugc.africa/docs/api/payment-links) - [Error handling](https://developer.ugc.africa/docs/api/errors) - [Campaign funding & payouts guide](https://developer.ugc.africa/docs/guides/campaign-funding-and-payouts) - [Advertiser checkout guide](https://developer.ugc.africa/docs/guides/advertiser-checkout) - [Payment links guide](https://developer.ugc.africa/docs/guides/payment-links) - [How creators get paid](https://developer.ugc.africa/docs/guides/getting-paid) - [Webhooks](https://developer.ugc.africa/docs/guides/webhooks-overview) - [Conversion postbacks guide](https://developer.ugc.africa/docs/guides/conversion-postbacks) - report installs, signups and purchases back to a campaign - [Conversion postback API](https://developer.ugc.africa/docs/api/conversion-postbacks) - `POST /campaigns/:id/conversion-postback-secret`, `GET /campaigns/:id/conversions`, `POST|GET /track/postback`, `conversion_recorded` webhook Advertisers fund campaigns via wallet debit, hosted checkout, or a shareable payment link (`POST /automation/actions/campaigns/:id/fund`). Creators reserve slots, submit proof of broadcast, and get paid from verified reach. ## Object reference (schemas) - [Webhook payload](https://developer.ugc.africa/docs/api/schemas/webhook) - [Payment Link Issue Report](https://developer.ugc.africa/docs/api/schemas/dispute) - [Error](https://developer.ugc.africa/docs/api/schemas/error) ## Automation - Zapier / Make / n8n / custom backends - [Automation API overview](https://developer.ugc.africa/docs/api/automation) - [Triggers (39)](https://developer.ugc.africa/docs/api/automation/triggers) - [Actions (7)](https://developer.ugc.africa/docs/api/automation/actions) - [OAuth 2.0 PKCE](https://developer.ugc.africa/docs/api/automation/oauth) - [Zapier / Make / n8n hub](https://developer.ugc.africa/docs/integrations/automation/overview) Auth for direct integrations: `Authorization: Bearer UGSK_live_...` (self-serve API key) or `Bearer UGAU_live_...` (Automation connection key from an OAuth-connected app). Subscribe to REST-hook triggers with `POST /automation/webhooks/subscribe`; deliveries are signed with `X-UGC-Signature` (raw-body HMAC-SHA256, hex digest) and carry a unique `X-UGC-Event-Id` for dedupe. Actions (campaign create/fund/list-slots/conversions/postback-secret, username check, crypto deposit address) live under `/automation/actions/*` and support an `Idempotency-Key` header. Trigger names cover Campaign lifecycle (`campaign_created/funded/approved/rejected/activated/paused/completed`), Conversions (`conversion_recorded`), Slot lifecycle (`slot_reserved/submitted/approved/rejected/expired/proof_required`), Creator earnings (`earnings_credited`, `earnings_released`), wallet withdrawals (`withdrawal_initiated/review/completed/failed`), and checkout/subscription/username events. ## AI agents - two distinct systems ### System 1 - Agent Credentials (agcred_ keys, scoped delegation) Use when an AI agent needs to send wallet transfers or create payment links on your behalf, with per-transaction spend limits and daily caps. - [AI agents overview](https://developer.ugc.africa/docs/guides/ai-agents) - [Agent Credentials reference](https://developer.ugc.africa/docs/api/ai-agents/agent-api) Auth: `Authorization: Bearer agcred_` - not `UGSK_`. HMAC-signed callbacks use `X-UGC-Signature: v1=` (HMAC-SHA256 over `{timestamp}.{rawBody}`) and `X-UGC-Timestamp`; requests support an `idempotencyKey` field. ### System 2 - MCP server (LLM tool calls) Use when an LLM needs to orchestrate the platform's campaign, slot, wallet, trust, and Relay tools directly through self-describing MCP tool calls. - [MCP server reference](https://developer.ugc.africa/docs/api/mcp) - [MCP tools quick index](https://developer.ugc.africa/docs/api/ai-agents/tools) Remote MCP is streamable HTTP at `https://api.ugc.africa/mcp` (`GET`/`POST`/`DELETE`). Discovery: `GET https://api.ugc.africa/.well-known/mcp.json`. Official registry listing: `africa.ugc/ugc` at `https://registry.modelcontextprotocol.io/`. The ChatGPT plugin package is `api/docs/chatgpt-plugin`. Claude connects by pasting `https://api.ugc.africa/mcp` as a custom connector. Do not upload the ChatGPT zip to Claude. Advertiser chat tools include create, fund, feature, conversion report (`campaign_conversions`), postback secret (`campaign_conversion_secret`), wallets, and crypto checkout. Creator tools include discover, reserve, submit proof, and earnings. `campaign_create` takes `title`, `payoutType` (`FLAT`, `CPM_SOCIAL`, `CPM_STREAMING`), `advertiserCpmRate`, `totalBudget`, `campaignType`, `campaignGoal`, `targetPlatforms` (channels), captions, and asset URLs. No upload tool. Clip Studio is a product, not an MCP tool. There is no `agent_transfer` MCP tool. Curated OpenAPI: `GET https://api.ugc.africa/actions-gateway/openapi.json`. Tool names come from the live ActionRegistry catalog (not a fixed list of 18). ## Integrations - [Zapier](https://developer.ugc.africa/docs/integrations/zapier) - [Make](https://developer.ugc.africa/docs/integrations/make) - [n8n](https://developer.ugc.africa/docs/integrations/n8n) - [Telegram Mini App](https://developer.ugc.africa/docs/guides/telegram-mini-app) - [WhatsApp Bot](https://developer.ugc.africa/docs/guides/whatsapp-bot) ## Developer Platform - [Solution Partners](https://developer.ugc.africa/docs/guides/partners) - [Partner attribution](https://developer.ugc.africa/docs/guides/partner-attribution) - [UGC Relay](https://developer.ugc.africa/docs/guides/relay) ## SDKs (coming soon) - [Node.js / TypeScript](https://developer.ugc.africa/docs/sdk/node) - [Python](https://developer.ugc.africa/docs/sdk/python) - [PHP](https://developer.ugc.africa/docs/sdk/php) - [Ruby](https://developer.ugc.africa/docs/sdk/ruby) - [Go](https://developer.ugc.africa/docs/sdk/go) No official language SDKs are published yet - call the REST API directly with your language's standard HTTP client.