Skip to main content
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"}'

Documentation Index

Fetch the complete documentation index at: https://docs.whatabot.app/llms.txt

Use this file to discover all available pages before exploring further.

Sectors are used as transfer targets — when a flow reaches a Transfer node, the conversation is routed to a specific sector.
X-Api-Key
string
required
Your API key (prefixed with wh_).

Body

name
string
required
Sector name (e.g. “Sales”, “Support”).

Payload examples

{
  "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"}'