curl -X POST https://api.whatabot.app/api/v1/sectors \
-H "X-Api-Key: wh_your_api_key" \
-H "Content-Type: application/json" \
-d '{"name": "Sales"}'
Sectors
Create Sector
Create a new sector.
POST
/
v1
/
sectors
curl -X POST https://api.whatabot.app/api/v1/sectors \
-H "X-Api-Key: wh_your_api_key" \
-H "Content-Type: application/json" \
-d '{"name": "Sales"}'
Sectors are used as transfer targets — when a flow reaches a Transfer node, the conversation is routed to a specific sector.
string
required
Your API key (prefixed with
wh_).Body
string
required
Sector name (e.g. “Sales”, “Support”).
Payload examples
- Create sector
{
"name": "Sales"
}
curl -X POST https://api.whatabot.app/api/v1/sectors \
-H "X-Api-Key: wh_your_api_key" \
-H "Content-Type: application/json" \
-d '{"name": "Sales"}'