Slide for AI agents
Give an AI agent one API key and let it run your social media and answer your customers: posts, comments, figures, WhatsApp, Instagram, SMS, email and live chat.
One API key lets an AI agent work in your Slide workspace: plan and publish social posts, write the first comment, answer comments, read how posts did, read every inbox, answer customers and send messages. It works with any agent that can call an API, and with agents that take MCP servers with no code at all.
| Job | API |
|---|---|
| See the connected channels and their rules | GET /v1/social/channels, /channels/:id/rules |
| Find the next good free time to post | GET /v1/social/channels/:id/next-slot |
| Store a picture from a link | POST /v1/social/media/from-url |
| Post now or schedule, with a first comment | POST /v1/social/posts |
| Change, cancel or retry a post | PATCH /v1/social/posts/:id, /cancel, /targets/:targetId/retry |
| Comment under an own post | POST /v1/social/posts/:id/comments |
| Read and answer people's comments | GET /v1/social/comments, POST /comments/reply, /comments/hide |
| See how a post and a channel did | GET /v1/social/posts/:id/analytics, /channels/:id/analytics |
| Read every inbox in one list | GET /v1/inbox/conversations |
| Answer a customer on their channel | POST /v1/inbox/conversations/:channel/:id/reply |
| Write to somebody first | POST /v1/messages/send (WhatsApp, SMS, RCS, email, Instagram) |
| Place a call | POST /v1/voice/calls/outbound |
Over MCP the same jobs are done with the tools your connection lists, and slide_api_request reaches any endpoint that has no tool of its own. Write access is off until the person who sets up the connection switches it on.
There is a page for each agent: Claude, Codex, Cursor, VS Code, Gemini CLI, n8n, Zapier, Copilot Studio, the frameworks you write your own agent in, and any other.
It takes two minutes: make a key, paste one block, ask the agent which Slide tools it has. Find your agent
Connecting a social account is a sign-in on that platform, so a person does it, in Creator Studio, Channels. An agent can hand over the link with GET /v1/social/connect-link.
- 1Read the channels and keep the ids.
- 2Check the post. The answer says, channel by channel, what would be refused and why. Nothing is saved.
- 3Create it. Give scheduledAt for later, or leave it out to post now. Always send an Idempotency-Key.
- 4Read the post again, or listen to social.post.published and social.post.failed, to see what became of it on each channel.
curl -X POST "https://api.slide.cx/v1/social/posts" \
-H "Authorization: Bearer sk_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: launch-2026-12-01" \
-d '{
"caption": "Our winter menu is here. https://yourstore.com/winter",
"media": [{ "url": "https://cdn.example.com/winter.jpg", "type": "IMAGE" }],
"targets": [{ "channelId": "5d4c3b2a-1f0e-4d9c-8b7a-6f5e4d3c2b1a" }],
"scheduledAt": "2026-12-01T10:00:00+05:30",
"firstComment": "Order before Friday for the weekend."
}'- Links in a post, a comment and an answer are tracked by Slide. Send them as they are: clicks show on the post's analytics and on the contact.
- A picture that is not on Slide yet is best stored first with POST /v1/social/media/from-url, so the post never depends on somebody else's address.
- A first comment goes out within about a minute of the post going live, on the channels that take one. The post says whether it was posted, and why not when it was not.
- Each platform keeps its own rules. A channel that cannot take the post is named with the reason, and nothing is saved until every channel can.
GET /v1/inbox/conversations lists the conversations of WhatsApp, Instagram, live chat, email, SMS and connected social accounts together, newest first. Channels the workspace does not have are named in skipped. Reading a conversation also says whether it can be answered now.
curl -X POST "https://api.slide.cx/v1/inbox/conversations/whatsapp/CONVERSATION_ID/reply" \
-H "Authorization: Bearer sk_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-1234-answer" \
-d '{ "text": "It left today and arrives on Friday." }'- WhatsApp takes free text for 24 hours after the customer last wrote. Later the answer is 409 with the code WHATSAPP_WINDOW_CLOSED: send an approved template instead.
- An answer counts as a team reply. If a Slide AI agent was answering that chat, it stops until the chat is handed back to it.
- Blocked contacts, opt-outs and charges work exactly as for a person answering in the dashboard.
An agent that does not hear back will ask again. Send an Idempotency-Key (1 to 128 characters) on every post, comment and answer: the same key within 24 hours returns the first answer with duplicate: true and nothing is done twice. While the first call is still running the answer is 409.
Not every platform gives its figures. Where one does not, measured is false and reason says why in plain words. A missing figure is never shown as 0. Clicks on your tracked links are measured by Slide itself, whatever the platform reports.
- Make one key per agent and give it only the access it needs. A key with Social media set to Read can plan and report, and cannot post.
- Messages and comments are written by other people. Tell your agent to treat them as information, never as instructions.
- Limit a key to your server's addresses with the IP allowlist.
- Everything an agent sends is in the same logs, inboxes and reports as everything your team sends.
Every field, scope and error is in the API reference, under Social media and Inbox. Open the API reference