invite_user
Invite a new Gryzzly team member by email, optionally assigning a role and groups, so Gryzzly sends the invitation and creates their pending account.
Instructions
Invite someone to the team by email. Gryzzly sends the invitation; the user exists from that moment, pending their acceptance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | The role to grant. Defaults to `contributor`. | |
| Yes | The email address to invite. Gryzzly sends the invitation itself. | ||
| group_ids | No | Group identifiers to put the new user in. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The user's identifier. | |
| code | No | The user's code, as set by the administrators. | |
| name | No | The user's display name. | |
| role | No | One of `contributor`, `collaborator`, `manager`, `director`, `admin`. | |
| No | The user's email address. | ||
| groups | No | The groups the user belongs to. | |
| created_at | No | When the user was created. | |
| updated_at | No | When the user was last updated. | |
| disabled_at | No | When the user was disabled, if they were. | |
| hourly_cost | No | The user's hourly cost. Only on the budget offer. | |
| hourly_rate | No | The user's hourly rate. Only on the budget offer. | |
| is_disabled | No | Deprecated upstream in favour of `disabled_at`. | |
| timesheet_approved_until | No | The date until which this user's times are approved. |