LocationCreate event fires whenever a new sub-account is provisioned under your agency in the HoopAI platform. This event is available exclusively to Agency Level Apps. Use it to trigger provisioning workflows, initialize default settings for the new account, or sync sub-account records to external billing or CRM systems.
Payload
| Field | Type | Description |
|---|---|---|
type | string | Always "LocationCreate" |
id | string | Unique identifier for the newly created sub-account |
name | string | Display name of the sub-account |
email | string | Primary email address associated with the sub-account |
companyId | string | Agency ID that owns this sub-account |
stripeProductId | string | Stripe product ID linked to the sub-account’s billing plan, if applicable |
Example payload
Related
- Location Update — fires when a sub-account’s details are changed
- Sub-Accounts API — manage and retrieve sub-account details
.png?fit=max&auto=format&n=EQK5eX9kTD8NzWwA&q=85&s=878008bf159fcc4964d0c0d508b6e400)