> ## Documentation Index
> Fetch the complete documentation index at: https://juridiqsoftware.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Atualizar tarefa



## OpenAPI

````yaml https://api.juridiq.com.br/api-docs/client/openapi.json patch /task/{id}
openapi: 3.1.0
info:
  title: Juridiq API — Documentação para Integradores
  description: ''
  version: 1.0.0
servers:
  - url: https://api.juridiq.com.br
    description: Production server
security:
  - apiKeyAuth: []
tags: []
paths:
  /task/{id}:
    patch:
      tags:
        - Tasks
      summary: Atualizar tarefa
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
          description: ID da tarefa
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                  minLength: 1
                  description: Título
                priority:
                  type: string
                  minLength: 1
                  description: Prioridade
                status:
                  type: string
                  minLength: 1
                  description: Status
                initialDate:
                  type: string
                  description: Data inicial
                lawSuitId:
                  type: string
                  format: uuid
                  nullable: true
                  description: ID do processo
                responsiblesId:
                  type: array
                  items:
                    type: string
                    format: uuid
                  description: IDs dos responsáveis
                isArchived:
                  type: boolean
                  description: Arquivada
                isPrivate:
                  type: boolean
                  description: Privada
                officeId:
                  type: string
                  format: uuid
                  description: ID do escritório
                description:
                  description: Descrição. Texto ou JSON do editor
                finalDate:
                  type: string
                  nullable: true
                  description: Data final
                initialHour:
                  type: string
                  nullable: true
                  description: Hora inicial
                finalHour:
                  type: string
                  nullable: true
                  description: Hora final
                createdAt:
                  type: string
                  format: date-time
                  description: Data de criação
                currentIndex:
                  type: number
                  description: Índice na coluna kanban
                tags:
                  type: array
                  items:
                    type: string
                    format: uuid
                  description: IDs das tags
                points:
                  type: number
                  description: Pontos
                needValidation:
                  type: boolean
                  description: Exige validação
                isValidated:
                  type: boolean
                  description: Já validada
                validatorsId:
                  type: array
                  items:
                    type: string
                    format: uuid
                  description: IDs dos validadores
                personIds:
                  type: array
                  items:
                    type: string
                    format: uuid
                  description: IDs das pessoas
                estimatedTimeMinutes:
                  type: integer
                  minimum: 0
                  description: Tempo estimado em minutos
                columnId:
                  type: string
                  format: uuid
                  description: ID da coluna kanban
                consultingId:
                  type: string
                  format: uuid
                  nullable: true
                  description: ID do CRM/atendimento vinculado (null para desvincular)
              additionalProperties: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: ID da tarefa
                  title:
                    type: string
                    description: Título
                  priority:
                    type: string
                    description: Prioridade
                  status:
                    type: string
                    description: Status
                  hasSheet:
                    type: boolean
                    description: Possui apontamento (TimeSheet)
                  initialDate:
                    type: string
                    nullable: true
                    description: Data inicial
                  finalDate:
                    type: string
                    nullable: true
                    description: Data final
                  isArchived:
                    type: boolean
                    description: Arquivada
                  isPrivate:
                    type: boolean
                    description: Privada
                  ownerId:
                    type: string
                    description: ID do criador
                  points:
                    type: number
                    description: Pontos
                required:
                  - id
                  - title
                  - priority
                additionalProperties: true
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  statusCode:
                    type: number
                  translateMessage:
                    type: string
                required:
                  - message
                  - statusCode
                  - translateMessage
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  statusCode:
                    type: number
                  translateMessage:
                    type: string
                required:
                  - message
                  - statusCode
                  - translateMessage
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  statusCode:
                    type: number
                  translateMessage:
                    type: string
                required:
                  - message
                  - statusCode
                  - translateMessage
                additionalProperties: false
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-juridiq-api-key
      description: >-
        Chave de API do escritório (criada no painel). Envie o valor no header
        x-juridiq-api-key.

````