---
updatedAt: 2026-06-03T14:46:37.000Z
agentTools:
  projectIndex: https://developers.fieldwire.com/llms.txt
---

# Duplicates a task by ID

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Fieldwire Regional API",
    "version": "v3"
  },
  "servers": [
    {
      "url": "https://client-api.{region}.fieldwire.com",
      "variables": {
        "region": {
          "default": "us",
          "enum": [
            "ca",
            "eu",
            "us"
          ]
        }
      }
    }
  ],
  "components": {
    "headers": {
      "current_user_id": {
        "description": "Current user's id",
        "schema": {
          "type": "integer"
        }
      }
    },
    "parameters": {
      "api_version": {
        "name": "Fieldwire-Version",
        "in": "header",
        "description": "Specifies the version of the API to talk to",
        "required": true,
        "schema": {
          "type": "string",
          "format": "date"
        }
      },
      "id": {
        "name": "id",
        "in": "path",
        "description": "ID of the entity",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "project_id": {
        "name": "project_id",
        "in": "path",
        "description": "ID of the project this entity belongs to",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "schemas": {
      "task": {
        "type": "object",
        "description": "Entity that denotes a task in a Fieldwire project",
        "required": [
          "id",
          "creator_user_id",
          "last_editor_user_id",
          "owner_user_id",
          "project_id",
          "is_local",
          "is_private",
          "priority",
          "created_at",
          "device_created_at",
          "device_updated_at",
          "updated_at",
          "resolved_conflict",
          "latest_component_device_updated_at"
        ],
        "nullable": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": false,
            "description": "ID of the entity"
          },
          "creator_user_id": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "ID of the user who created this entity"
          },
          "last_editor_user_id": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "ID of the user who most recently edited this entity"
          },
          "owner_user_id": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "ID of the user who owns the entity"
          },
          "floorplan_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "description": "ID of the floorplan the entity belongs to"
          },
          "location_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "description": "ID of the location the entity belongs to"
          },
          "project_id": {
            "type": "string",
            "format": "uuid",
            "nullable": false,
            "description": "ID of the project this entity belongs to"
          },
          "team_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "description": "ID of the team the entity belongs to"
          },
          "is_local": {
            "type": "boolean",
            "nullable": false,
            "description": "Indicates if task is positioned on floorplan"
          },
          "is_private": {
            "type": "boolean",
            "nullable": false,
            "description": "A Boolean value indicating if Task is private to User"
          },
          "name": {
            "type": "string",
            "nullable": true,
            "description": "Name of the entity"
          },
          "due_date": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "description": "Date when task is to be completed by"
          },
          "cost_value": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "description": "Monetary cost associated with the Task"
          },
          "man_power_value": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "description": "Numeric value representing estimated time in Man-power hours/day/month"
          },
          "pos_x": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "description": "Horizontal pixels (from left of floorplan) of task pin's point"
          },
          "pos_y": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "description": "Vertical pixels (from top of floorplan) of task pin's point"
          },
          "pos_z": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "deprecated": true,
            "description": "Z coordinate of a task"
          },
          "priority": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "Priority of the task (1, 2, 3)"
          },
          "sequence_number": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "description": "Unique sequential identifier of task on project"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false,
            "description": "Time when the server created the entity"
          },
          "deleted_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Time the server deleted the entity"
          },
          "device_created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false,
            "description": "Time when the device created the entity"
          },
          "device_updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false,
            "description": "Time when the device last updated the entity"
          },
          "due_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Datetime of when the Task is due"
          },
          "end_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Time when this task is marked as ending"
          },
          "fixed_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Datetime of when the Task is fixed"
          },
          "start_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Datetime of when the Task is to start"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false,
            "description": "Time when the server last updated the entity"
          },
          "verified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Time when task was verified"
          },
          "resolved_conflict": {
            "type": "boolean",
            "nullable": true,
            "description": "Specifies if PUT/PATCH request was rejected - do not store this field!"
          },
          "status_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "description": "Entity ID linking to the Status of the Task"
          },
          "user_ids": {
            "type": "array",
            "nullable": true,
            "description": "All User IDs associated with this Task",
            "items": {
              "type": "integer",
              "description": "User ID Entity"
            }
          },
          "task_type_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "description": "ID of the TaskType of the Task"
          },
          "latest_component_device_updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Time when the device last updated a component associated to the entity (bubble, check item, tag or CTA)"
          }
        },
        "additionalProperties": false
      },
      "task_duplicate_input": {
        "type": "object",
        "required": [
          "creator_user_id"
        ],
        "nullable": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": false,
            "description": "ID of the entity"
          },
          "creator_user_id": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "ID of the user who created this entity"
          },
          "last_editor_user_id": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "ID of the user who most recently edited this entity"
          },
          "owner_user_id": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "ID of the user who owns the entity"
          },
          "floorplan_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "description": "ID of the floorplan the entity belongs to"
          },
          "location_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "description": "ID of the location the entity belongs to"
          },
          "team_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "description": "ID of the team the entity belongs to"
          },
          "is_local": {
            "type": "boolean",
            "nullable": false,
            "description": "Indicates if task is positioned on floorplan"
          },
          "name": {
            "type": "string",
            "nullable": true,
            "description": "Name of the entity"
          },
          "due_date": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "description": "Date when task is to be completed by"
          },
          "cost_value": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "description": "Monetary cost associated with the Task"
          },
          "man_power_value": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "description": "Numeric value representing estimated time in Man-power hours/day/month"
          },
          "pos_x": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "description": "Horizontal pixels (from left of floorplan) of task pin's point"
          },
          "pos_y": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "description": "Vertical pixels (from top of floorplan) of task pin's point"
          },
          "pos_z": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "deprecated": true,
            "description": "Z coordinate of a task"
          },
          "priority": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "Priority of the task (1, 2, 3)"
          },
          "device_created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false,
            "description": "Time when the device created the entity"
          },
          "device_updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false,
            "description": "Time when the device last updated the entity"
          },
          "due_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Datetime of when the Task is due"
          },
          "end_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Time when this task is marked as ending"
          },
          "fixed_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Datetime of when the Task is fixed"
          },
          "start_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Datetime of when the Task is to start"
          },
          "verified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Time when task was verified"
          },
          "status_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "description": "Entity ID linking to the Status of the Task"
          },
          "user_ids": {
            "type": "array",
            "nullable": true,
            "description": "All User IDs associated with this Task",
            "items": {
              "type": "integer",
              "description": "User ID Entity"
            }
          },
          "task_type_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "description": "ID of the TaskType of the Task"
          }
        },
        "description": "Schema for duplicating tasks",
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "jwt": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Access token (JWT) generated using the acquired refresh token (API token). Our [authentication](https://developers.fieldwire.com/docs/authentication) guide covers the steps to generate a valid token"
      }
    }
  },
  "paths": {
    "/api/v3/projects/{project_id}/tasks/{id}/duplicate": {
      "post": {
        "summary": "Duplicates a task by ID",
        "operationId": "duplicate_tasks_by_id",
        "tags": [
          "tasks"
        ],
        "security": [
          {
            "jwt": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/project_id"
          },
          {
            "$ref": "#/components/parameters/id"
          },
          {
            "$ref": "#/components/parameters/api_version"
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "headers": {
              "X-Current-User-Id": {
                "$ref": "#/components/headers/current_user_id"
              }
            },
            "content": {
              "application/json": {
                "example": {
                  "id": "99645aab-6d94-47f0-847f-91e831a35b66",
                  "creator_user_id": 2496,
                  "last_editor_user_id": 2496,
                  "project_id": "248475e6-d3ee-4052-9b2e-e82853737b78",
                  "resolved_conflict": false,
                  "created_at": "2026-10-02T14:53:50.227Z",
                  "updated_at": "2026-10-02T14:53:50.227Z",
                  "device_created_at": "2026-10-02T14:53:50.227Z",
                  "device_updated_at": "2026-10-02T14:53:50.227Z",
                  "deleted_at": null,
                  "floorplan_id": null,
                  "is_local": true,
                  "location_id": null,
                  "owner_user_id": 2496,
                  "pos_x": 100,
                  "pos_y": 200,
                  "pos_z": 1,
                  "priority": 1,
                  "sequence_number": 2,
                  "team_id": null,
                  "status_id": "074b0ab0-5fa3-4d8c-b144-646aefffae58",
                  "task_type_id": null,
                  "latest_component_device_updated_at": "2026-10-02T14:53:50.227Z",
                  "is_private": false,
                  "user_ids": [
                    2496
                  ],
                  "name": "Duplicated Task",
                  "cost_value": null,
                  "man_power_value": null,
                  "start_at": null,
                  "end_at": null,
                  "due_date": null,
                  "due_at": null,
                  "fixed_at": null,
                  "verified_at": null
                },
                "schema": {
                  "$ref": "#/components/schemas/task"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/task_duplicate_input"
              }
            }
          },
          "required": true
        }
      }
    }
  }
}
```