Create organization
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_body{
"organizationId": "067d0b2f-1ee8-49f2-bb09-e2d964c8cf6b",
"botProfileId": "b@f951b968-bf80-4ee6-bbbe-6ca338f57fc6",
"channelId": "1b383aef-15c2-44e2-b599-d1d40a8b286c",
"humanProfileId": "a3c2e1d0-9f8b-4e7a-b6c5-d4e3f2a1b0c9",
"credentials": [
{
"label": "API Key",
"value": "utxDAedgfFXglaLX"
},
{
"label": "API Secret",
"value": "66AybzV7s0afLeKKqpxC7wLKCTk5d7bT"
},
{
"label": "Control Topic ID",
"value": "1b383aef-15c2-44e2-b599-d1d40a8b286c"
}
]
}
Agentic
Create 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.
POST
/
v2
/
agentic
/
organization
/
create
Create organization
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_body{
"organizationId": "067d0b2f-1ee8-49f2-bb09-e2d964c8cf6b",
"botProfileId": "b@f951b968-bf80-4ee6-bbbe-6ca338f57fc6",
"channelId": "1b383aef-15c2-44e2-b599-d1d40a8b286c",
"humanProfileId": "a3c2e1d0-9f8b-4e7a-b6c5-d4e3f2a1b0c9",
"credentials": [
{
"label": "API Key",
"value": "utxDAedgfFXglaLX"
},
{
"label": "API Secret",
"value": "66AybzV7s0afLeKKqpxC7wLKCTk5d7bT"
},
{
"label": "Control Topic ID",
"value": "1b383aef-15c2-44e2-b599-d1d40a8b286c"
}
]
}
Body
application/jsonmultipart/form-data
Response
Organization created successfully