API reference Choose the resource you need and open its endpoint. Each call includes an example and the parameters for using it in your application.
Conversations use version 2: https://api.platic.ai/v2/conversations. Every other resource is on /v1.
Your first call TypeScript REST API
curl https://api.platic.ai/v1/agents \
-H " Authorization : Bearer $PLATIC_API_KEY "
import { Platic } from "platic-sdk" ;
const platic = new Platic ({ apiKey: process.env. PLATIC_API_KEY ! });
const agents = await platic.agents. list ();
What you need to know Authentication: every request carries Authorization: Bearer <key>. See Authentication . Responses: many routes return { "status": "success", "data": … }; conversations add included and meta, and some V1 reads group data in workspaces. See Responses . Paginated lists use limit and pageToken. See Pagination . Retries: use Idempotency-Key on routes that support it, including every conversation action, to avoid repeating a change. See Idempotency . Errors share one shape with a stable details.code. See Errors . A Postman collection has every request. Resources Build agents Resource What it covers Agents Create agents, change their settings and manage versions, files, tools and subagents. Agent templates Install a ready-made agent and resolve its pending items. Evals Simulated conversations that test a version before you publish it. Chat Talk with an agent now or schedule a turn.
Resource What it covers Files Texts, web pages and documents your agents consult. Tools The workspace tool catalog. Custom APIs Turn an HTTP endpoint into a tool. Custom functions Your own TypeScript code as a tool. MCP servers Connect an external MCP server and install its tools. Databases Read-only PostgreSQL or MySQL. Secrets Encrypted credentials for your tools and webhooks. AI providers Bring your own model key.
Channels and conversations Resource What it covers Channels WhatsApp, Instagram, Messenger and email. Web chats The chat for your website. Conversations List, search and count conversations, read their messages, pause or resume the agent, tag, assign and archive. Messages Send and schedule messages. WhatsApp templates Create and track WhatsApp templates. Posts and comments Instagram and Facebook posts, threads and replies. Cases Conversations escalated to your team. Escalations Define when an agent asks for help and what happens while your team handles it.
Resource What it covers Contacts The people your business talks to (API: clients). Custom fields Extra data on contacts. Tags Label contacts. Campaigns WhatsApp campaigns to an audience.
Account Resource What it covers Webhooks Signed events on your server. Usage Consumption and autonomy statistics. Workspaces The workspaces a credential can use. Docs search Search these docs from code.