title is the only required input. You can optionally set a description, status, priority, assignee (a user or a machine user) and a parent company or tenant.
For TypeScript, the GraphQL SDK gives you a fully typed client for these operations.
task:create
Mutation
Variables

