curl --request POST \
--url https://api.zenzap.co/v2/agentic/organization/create \
--header 'Content-Type: application/json' \
--data '
{
"companyName": "Acme Corp",
"humanEmail": "founder@acme.com",
"companySize": 50,
"industry": "Software",
"botName": "Acme Assistant"
}
'import requests
url = "https://api.zenzap.co/v2/agentic/organization/create"
payload = {
"companyName": "Acme Corp",
"humanEmail": "founder@acme.com",
"companySize": 50,
"industry": "Software",
"botName": "Acme Assistant"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
companyName: 'Acme Corp',
humanEmail: 'founder@acme.com',
companySize: 50,
industry: 'Software',
botName: 'Acme Assistant'
})
};
fetch('https://api.zenzap.co/v2/agentic/organization/create', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.zenzap.co/v2/agentic/organization/create",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'companyName' => 'Acme Corp',
'humanEmail' => 'founder@acme.com',
'companySize' => 50,
'industry' => 'Software',
'botName' => 'Acme Assistant'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zenzap.co/v2/agentic/organization/create"
payload := strings.NewReader("{\n \"companyName\": \"Acme Corp\",\n \"humanEmail\": \"founder@acme.com\",\n \"companySize\": 50,\n \"industry\": \"Software\",\n \"botName\": \"Acme Assistant\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.zenzap.co/v2/agentic/organization/create")
.header("Content-Type", "application/json")
.body("{\n \"companyName\": \"Acme Corp\",\n \"humanEmail\": \"founder@acme.com\",\n \"companySize\": 50,\n \"industry\": \"Software\",\n \"botName\": \"Acme Assistant\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zenzap.co/v2/agentic/organization/create")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"companyName\": \"Acme Corp\",\n \"humanEmail\": \"founder@acme.com\",\n \"companySize\": 50,\n \"industry\": \"Software\",\n \"botName\": \"Acme Assistant\"\n}"
response = http.request(request)
puts response.read_bodyCreate organization
Allows an external AI agent to programmatically create a Zenzap organization, install a bot (the agent itself), and invite a human user — all in a single request.
Authentication: None required. This endpoint is publicly accessible.
Rate limit: 1 request per minute per IP.
Supports two content types:
application/json— for requests without a logomultipart/form-data— for requests that include a company logo (filePart)
Once you receive the 201 response, use the returned credentials to authenticate
all subsequent API calls. See Authentication for details.
curl --request POST \
--url https://api.zenzap.co/v2/agentic/organization/create \
--header 'Content-Type: application/json' \
--data '
{
"companyName": "Acme Corp",
"humanEmail": "founder@acme.com",
"companySize": 50,
"industry": "Software",
"botName": "Acme Assistant"
}
'import requests
url = "https://api.zenzap.co/v2/agentic/organization/create"
payload = {
"companyName": "Acme Corp",
"humanEmail": "founder@acme.com",
"companySize": 50,
"industry": "Software",
"botName": "Acme Assistant"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
companyName: 'Acme Corp',
humanEmail: 'founder@acme.com',
companySize: 50,
industry: 'Software',
botName: 'Acme Assistant'
})
};
fetch('https://api.zenzap.co/v2/agentic/organization/create', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.zenzap.co/v2/agentic/organization/create",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'companyName' => 'Acme Corp',
'humanEmail' => 'founder@acme.com',
'companySize' => 50,
'industry' => 'Software',
'botName' => 'Acme Assistant'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zenzap.co/v2/agentic/organization/create"
payload := strings.NewReader("{\n \"companyName\": \"Acme Corp\",\n \"humanEmail\": \"founder@acme.com\",\n \"companySize\": 50,\n \"industry\": \"Software\",\n \"botName\": \"Acme Assistant\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.zenzap.co/v2/agentic/organization/create")
.header("Content-Type", "application/json")
.body("{\n \"companyName\": \"Acme Corp\",\n \"humanEmail\": \"founder@acme.com\",\n \"companySize\": 50,\n \"industry\": \"Software\",\n \"botName\": \"Acme Assistant\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zenzap.co/v2/agentic/organization/create")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"companyName\": \"Acme Corp\",\n \"humanEmail\": \"founder@acme.com\",\n \"companySize\": 50,\n \"industry\": \"Software\",\n \"botName\": \"Acme Assistant\"\n}"
response = http.request(request)
puts response.read_bodyBody
Display name of the organization.
100"Acme Corp"
The human user who will receive an invite and become the org's first member.
"founder@acme.com"
Number of employees. Mapped to a size range.
x >= 150
Free-text industry description (e.g. "Software", "Healthcare").
"Software"
Display name for the agent bot installed in the organization.
"Acme Assistant"
Response
Organization created successfully
UUID of the newly created organization.
"067d0b2f-1ee8-49f2-bb09-e2d964c8cf6b"
The bot's identity (format b@<uuid>). Use as senderId filter when polling.
"b@f951b968-bf80-4ee6-bbbe-6ca338f57fc6"
The bot's control channel ID (same as the Control Topic ID credential).
"1b383aef-15c2-44e2-b599-d1d40a8b286c"
The pending profile ID of the invited human. Use this to identify the human once they join.
"a3c2e1d0-9f8b-4e7a-b6c5-d4e3f2a1b0c9"
API credentials for the bot. Store the API Secret securely.
Show child attributes
Show child attributes