Skip to main content
The 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

FieldTypeDescription
typestringAlways "LocationCreate"
idstringUnique identifier for the newly created sub-account
namestringDisplay name of the sub-account
emailstringPrimary email address associated with the sub-account
companyIdstringAgency ID that owns this sub-account
stripeProductIdstringStripe product ID linked to the sub-account’s billing plan, if applicable

Example payload

{
  "type": "LocationCreate",
  "id": "ve9EPM428h8vShlRW1KT",
  "companyId": "otg8dTQqGLh3Q6iQI55w",
  "name": "Loram ipsum",
  "email": "mailer@example.com",
  "stripeProductId": "prod_xyz123abc"
}
Last modified on March 4, 2026