Skip to main content

Documentation Index

Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Using TypeScript? Check out our GraphQL SDK for a fully typed client.
Pass only the fields you want to change. Setting companyId clears any existing tenantId on the task and vice versa — a task can be linked to either, but not both. This operation requires the following permissions:
  • task:edit
Mutation
mutation updateTask($input: UpdateTaskInput!) {
  updateTask(input: $input) {
    task {
      id
      ref
      title
      status
      priority
    }
    error {
      message
      type
      code
      fields {
        field
        message
        type
      }
    }
  }
}
Variables
{
  "input": {
    "taskId": "ta_01HXXXXXXXXXXXXXXXXXXXXXXX",
    "status": "DONE"
  }
}