Skip to main content
POST
Create an org node

Authorizations

x-api-key
string
header
required

API key from Settings > API Keys or POST /v1/api-keys. Format f9_live_<32 hex chars> (live) or f9_test_<32 hex chars> (sandbox — no real sends, ever). Legacy wcrm_live_ / wcrm_test_ keys still authenticate but are no longer issued. Shown once at creation; only a hash is stored.

Body

application/json
name
string
required
node_type
enum<string>
required
Available options:
region,
country,
branch,
team,
agent
parent_id
string<uuid> | null

Must respect the ladder: country under region; branch under country/region; team under branch; agent under any. Omit for a root.

branch_id
string<uuid> | null

Only on a branch node.

team_id
string<uuid> | null

Only on a team node.

Response

Org node created

success
enum<boolean>
Available options:
true
data
object
meta
object