UserCreate event fires whenever a new user is provisioned in the HoopAI platform. It delivers the full user profile including identity, contact details, assigned role, and granular feature permissions. Use this event to synchronize user records to external systems, trigger onboarding workflows, or audit access changes.
Payload
| Field | Type | Description |
|---|---|---|
type | string | Always "UserCreate" |
id | string | Unique identifier for the newly created user |
firstName | string | User’s first name |
lastName | string | User’s last name |
email | string | User’s email address |
phone | string | User’s phone number in E.164 format |
extension | string | Telephony extension assigned to the user |
locationId | string | Sub-account ID the user belongs to; present for location-level users |
companyId | string | Agency ID the user belongs to; present for agency-level users |
role | string | Assigned role, e.g. "user" or "admin" |
permissions | object | Map of boolean flags controlling the user’s feature access (e.g., campaigns, payments, workflows) |
locations | array | List of location IDs the user has access to |
Example payload
Related
- Sub-Accounts API — manage and retrieve sub-account details
- Users API — list, create, and update users programmatically
.png?fit=max&auto=format&n=EQK5eX9kTD8NzWwA&q=85&s=878008bf159fcc4964d0c0d508b6e400)