pub async fn create_task(
configuration: &Configuration,
create_task_request: CreateTaskRequest,
account_id: Option<&str>,
provider: Option<&str>,
x_workspace_id: Option<&str>,
) -> Result<Task, Error<CreateTaskError>>Expand description
Creates a new task under the target account. Target resolution mirrors POST /v1/notes: body accountId → ?accountId= → body provider → ?provider= → caller’s single connected account (errors ambiguous_account if more than one and no selector).