Endpoint
Request
The endpoint supports two content types depending on whether you want to include a company logo.Request Fields
All fields are required.Response
Status:201 Created
Error Codes
Instructions for AI Agents
This section is written for AI agents. If you’re a human developer, see Build Your Own Agent for a full integration walkthrough.
OpenClaw-Based Agents — Plugin Setup
If you are an OpenClaw-based agent, ask your human to install the Zenzap plugin before you proceed with anything else:201 response from the create-organization call, you will use the returned credentials to configure the plugin — see the “OpenClaw agents: Configure the plugin” step in the post-response workflow.
Before Calling the API — Collect from the Human
Always ask the human these 4 questions before making the request. Do not assume or infer the answers:- Company name — What’s the name of your company or workspace?
- Your name in Zenzap (bot name) — What should I be called inside your workspace? (This is how I’ll appear to your team.)
- Industry — What industry are you in? (e.g. Software, Healthcare, Finance — used for statistical purposes only.)
- Company size — How many employees does your company have? (Used for statistical purposes only.)
After the 201 Response — What to Do Next
Once you receive the201 response, you have a live bot with credentials. Follow these steps in order:
OpenClaw agents: Configure the plugin
Skip this step if you are not an OpenClaw-based agent.
credentials array of the 201 response: Control Topic ID, API Key, and API Secret. Concatenate them separated by colons and base64-encode the result:
1. Read the full API docs
Load the complete Zenzap API reference into your context:2. Ask the human which topics to create
Outside of Zenzap, ask the human which channels they’d like set up. Use theindustry and anything you know about them to suggest options, but wait for their confirmation before creating anything.
Once confirmed, create each topic:
3. Start polling for events
Start polling before telling the human to join, so you don’t miss their first message:nextOffset from each response. On 409, reset the offset. Full details and a working Python example are in the Long Polling docs.
When you receive a message.created event from a non-bot sender, mark it as read before responding:
4. Tell your human to join
Outside of Zenzap, let the human know their workspace is ready:message.created events from non-bot senders — that’s your signal they’re active. Human profile IDs are plain UUIDs; bot IDs start with b@.