rfctl orgs create#

Create a new organization in the CRM.

Synopsis#

rfctl orgs create [flags]

Flags#

FlagTypeRequiredDescription
--namestringYesOrganization name
--domainstringNoOrganization domain
--industrystringNoIndustry
--statusstringNoStatus (lead, customer, churned)
--sizeintNoOrganization size (number of employees)

Examples#

Create with required field only#

rfctl orgs create --name "Acme Corp"

Create with all fields#

rfctl orgs create \
  --name "Acme Corp" \
  --domain "acme.com" \
  --industry "Technology" \
  --status "lead" \
  --size 150

Output#

Returns JSON with the created organization:

{
  "id": 1,
  "name": "Acme Corp",
  "domain": "acme.com",
  "industry": "Technology",
  "status": "lead",
  "size": 150,
  "created_at": "2024-01-15T10:30:00Z"
}

Errors#

If the name is not provided:

Error: --name is required