Developers

API & AI agents: drive Pamba programmatically

Workspace-scoped API keys, the public customer API, and connecting Claude and other agents over MCP.

Everything the Pamba UI does, an agent can do through the API. The full public API reference lives at pamba.app/api: endpoint auth, request and response structures, credit usage, and examples.

Authentication

  • •Base URL: https://api.pamba.app
  • •Agent auth: X-API-Key header. Open account settings and select Workspace Settings, then find API Keys directly below Company name. You can also open workspace settings from the workspace switcher.
  • •JWT callers must include X-Workspace-Id on workspace-scoped routes; API-key callers don't, since the key already carries the workspace.

Connect Claude, Codex or another agent

Claude Code, Codex, Cursor and other MCP clients connect to the MCP server at https://api.pamba.app/mcp with the same X-API-Key header. They get every tool the in-app assistant has, and the connection hands the model Pamba's product knowledge, so there is no guide file to download or keep up to date. The MCP tool reference lists every tool.

An agent that calls the REST API directly works from pamba.app/api, which lists every customer route.

What your agent can do

Track TikTok accounts and mine analyzed videos; add ideas and scripts in bulk; create project batches as drafts or fully generated videos; generate clips and select takes; check when an account's phone is free (GET /devices/accounts/schedule) and schedule, reschedule, cancel, and retry posts; configure warming; create avatars from reference images; manage starting-frame libraries; and pull analytics dashboards and account metrics.

Credits

Generation spends credits (clip generation per model-second, avatar photos and scenes at 15 credits per image, voices at 100, premium voice clones at 1500, hook purchases at 200). Failed operations are never charged, and insufficient-credit requests return 402 Payment Required with remaining_credits and required_credits. The live price list is public at GET /usage/pricing; use GET /user for subscription state and credit totals.

This help center is agent-readable too

Every article here is available as raw markdown: see /llms.txt for the index and /llms-full.txt for the whole term list in one document.

Was this helpful?

Still stuck? Message the team