create_user
Invite a new user by sending an account-creation email. Specify email, name, role, and company access.
Instructions
Invite a new user. CallRail emails them an account-creation link.
Args: email: Recipient email. CallRail sends an invite. first_name, last_name: Display name. role: Default 'reporting' (read-only). Common values: 'admin', 'manager', 'reporting', 'analyst'. Other plan-specific roles may exist; we don't reject unknown values, just warn. company_ids: List of 'COM...' company IDs the user can access. Empty/None = account-wide (admins typically). account_id: Auto-resolves if omitted.
Note: This sends an invitation email. Don't run experimentally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | reporting | |
| Yes | |||
| last_name | Yes | ||
| account_id | No | ||
| first_name | Yes | ||
| company_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |