Provision a new sub-account, optionally link it to a GHL location, apply a pricing plan, and send an owner invitation — all in one call.
POST
Create Sub-Account
Provision a new sub-account inside your agency workspace. Optionally link it to a GoHighLevel location, apply an agency pricing plan, and email an invitation to the sub-account owner — all in one call.
Endpoint
POST https://crmwebhook.com/functions/v1/create-subaccount-webhook
Email address of the sub-account owner. An invitation email is sent here.
name
string
Conditional
Display name for the sub-account. Required if locationID is not provided. If both are provided, the GHL location name takes precedence.
locationID
string
Conditional
GHL location ID. Fetches the location’s name and timezone from GHL and auto-connects the sub-account. Either locationID or name must be present.
plan
string
Optional
Slug of an agency pricing plan. The sub-account inherits the plan’s limits, features, and rebilling pricing. If omitted, inherits the organization’s defaults.