---
updatedAt: 2026-11-10T17:49:36.000Z
agentTools:
  projectIndex: https://developers.activecampaign.com/llms.txt
---

# Move tasks to another task type

Move tasks to a different task type

```json PUT /dealTasktypes/:id/dealTasks (Example REQUEST)
{
  "dealTask": {
    "dealTasktype": "2"
  }
}
```
```json PUT /dealTasktypes/:id/dealTasks (Example RESPONSE)
{
  "dealTasks": [
    {
      "automation": null,
      "cdate": "2017-06-01T15:08:55-05:00",
      "dealTasktype": "2",
      "doneAutomation": null,
      "donedate": null,
      "duedate": "2017-06-02T12:00:00-05:00",
      "duration": "0",
      "edate": "2017-06-02T12:15:00-05:00",
      "id": "1",
      "links": {
        "activities": "/api/3/dealTasks/1/activities",
        "automation": "/api/3/dealTasks/1/automation",
        "dealTasktype": "/api/3/dealTasks/1/dealTasktype",
        "doneAutomation": "/api/3/dealTasks/1/doneAutomation",
        "notes": "/api/3/dealTasks/1/notes",
        "owner": "/api/3/dealTasks/1/owner",
        "taskNotifications": "/api/3/dealTasks/1/taskNotifications",
        "user": "/api/3/dealTasks/1/user"
      },
      "note": "Call Steve",
      "owner": {
        "id": "1",
        "type": "deal"
      },
      "relid": "1",
      "reltype": "Deal",
      "status": "0",
      "title": "",
      "udate": "2017-06-01T15:08:55-05:00",
      "user": "1"
    }
  ],
  "deals": [
    {
      "activitycount": "2",
      "cdate": "2017-06-01T15:08:41-05:00",
      "contact": "1",
      "currency": "usd",
      "edate": "0000-00-00 00:00:00",
      "group": "1",
      "hash": "3abd127b",
      "id": "1",
      "links": {
        "activities": "/api/3/deals/1/activities",
        "contact": "/api/3/deals/1/contact",
        "contactDeals": "/api/3/deals/1/contactDeals",
        "group": "/api/3/deals/1/group",
        "nextTask": "/api/3/deals/1/nextTask",
        "notes": "/api/3/deals/1/notes",
        "organization": "/api/3/deals/1/organization",
        "owner": "/api/3/deals/1/owner",
        "scoreValues": "/api/3/deals/1/scoreValues",
        "stage": "/api/3/deals/1/stage",
        "tasks": "/api/3/deals/1/tasks"
      },
      "mdate": "2017-06-01T15:08:55-05:00",
      "nextTask": "1",
      "nextdate": "2017-06-02T12:00:00-05:00",
      "nextdealid": "1",
      "nexttaskid": "1",
      "organization": null,
      "owner": "1",
      "percent": "0",
      "stage": "1",
      "status": "0",
      "title": "New deal",
      "value": "10000"
    }
  ]
}
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "v3",
    "version": "3"
  },
  "servers": [
    {
      "url": "https://{youraccountname}.api-us1.com/api/3",
      "variables": {
        "youraccountname": {
          "default": "youraccountname"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Api-Token",
        "in": "header",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/dealTasktypes/{id}/dealTasks": {
      "put": {
        "summary": "Move tasks to another task type",
        "description": "Move tasks to a different task type",
        "operationId": "move-deal-tasks-to-another-deal-task-type",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Deal task type's id",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dealTask": {
                    "properties": {
                      "dealTasktype": {
                        "type": "string",
                        "description": "Deal task type's id to move deal tasks to"
                      }
                    },
                    "required": [],
                    "type": "object",
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "Request Example": {
                  "value": {
                    "dealTask": {
                      "dealTasktype": "2"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"dealTasks\": [\n    {\n      \"automation\": null,\n      \"cdate\": \"2017-06-01T15:08:55-05:00\",\n      \"dealTasktype\": \"2\",\n      \"doneAutomation\": null,\n      \"donedate\": null,\n      \"duedate\": \"2017-06-02T12:00:00-05:00\",\n      \"duration\": \"0\",\n      \"edate\": \"2017-06-02T12:15:00-05:00\",\n      \"id\": \"1\",\n      \"links\": {\n        \"activities\": \"https://:account.api-us1.com/api/3/dealTasks/1/activities\",\n        \"automation\": \"https://:account.api-us1.com/api/3/dealTasks/1/automation\",\n        \"dealTasktype\": \"https://:account.api-us1.com/api/3/dealTasks/1/dealTasktype\",\n        \"doneAutomation\": \"https://:account.api-us1.com/api/3/dealTasks/1/doneAutomation\",\n        \"notes\": \"https://:account.api-us1.com/api/3/dealTasks/1/notes\",\n        \"owner\": \"https://:account.api-us1.com/api/3/dealTasks/1/owner\",\n        \"taskNotifications\": \"https://:account.api-us1.com/api/3/dealTasks/1/taskNotifications\",\n        \"user\": \"https://:account.api-us1.com/api/3/dealTasks/1/user\"\n      },\n      \"note\": \"Call Steve\",\n      \"owner\": {\n        \"id\": \"1\",\n        \"type\": \"deal\"\n      },\n      \"relid\": \"1\",\n      \"reltype\": \"Deal\",\n      \"status\": \"0\",\n      \"title\": \"\",\n      \"udate\": \"2017-06-01T15:08:55-05:00\",\n      \"user\": \"1\"\n    }\n  ],\n  \"deals\": [\n    {\n      \"activitycount\": \"2\",\n      \"cdate\": \"2017-06-01T15:08:41-05:00\",\n      \"contact\": \"1\",\n      \"currency\": \"usd\",\n      \"edate\": \"0000-00-00 00:00:00\",\n      \"group\": \"1\",\n      \"hash\": \"3abd127b\",\n      \"id\": \"1\",\n      \"links\": {\n        \"activities\": \"https://:account.api-us1.com/api/3/deals/1/activities\",\n        \"contact\": \"https://:account.api-us1.com/api/3/deals/1/contact\",\n        \"contactDeals\": \"https://:account.api-us1.com/api/3/deals/1/contactDeals\",\n        \"group\": \"https://:account.api-us1.com/api/3/deals/1/group\",\n        \"nextTask\": \"https://:account.api-us1.com/api/3/deals/1/nextTask\",\n        \"notes\": \"https://:account.api-us1.com/api/3/deals/1/notes\",\n        \"organization\": \"https://:account.api-us1.com/api/3/deals/1/organization\",\n        \"owner\": \"https://:account.api-us1.com/api/3/deals/1/owner\",\n        \"scoreValues\": \"https://:account.api-us1.com/api/3/deals/1/scoreValues\",\n        \"stage\": \"https://:account.api-us1.com/api/3/deals/1/stage\",\n        \"tasks\": \"https://:account.api-us1.com/api/3/deals/1/tasks\"\n      },\n      \"mdate\": \"2017-06-01T15:08:55-05:00\",\n      \"nextTask\": \"1\",\n      \"nextdate\": \"2017-06-02T12:00:00-05:00\",\n      \"nextdealid\": \"1\",\n      \"nexttaskid\": \"1\",\n      \"organization\": null,\n      \"owner\": \"1\",\n      \"percent\": \"0\",\n      \"stage\": \"1\",\n      \"status\": \"0\",\n      \"title\": \"New deal\",\n      \"value\": \"10000\"\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "dealTasks": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "automation": {},
                          "cdate": {
                            "type": "string",
                            "example": "2017-06-01T15:08:55-05:00"
                          },
                          "dealTasktype": {
                            "type": "string",
                            "example": "2"
                          },
                          "doneAutomation": {},
                          "donedate": {},
                          "duedate": {
                            "type": "string",
                            "example": "2017-06-02T12:00:00-05:00"
                          },
                          "duration": {
                            "type": "string",
                            "example": "0"
                          },
                          "edate": {
                            "type": "string",
                            "example": "2017-06-02T12:15:00-05:00"
                          },
                          "id": {
                            "type": "string",
                            "example": "1"
                          },
                          "links": {
                            "type": "object",
                            "properties": {
                              "activities": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/dealTasks/1/activities"
                              },
                              "automation": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/dealTasks/1/automation"
                              },
                              "dealTasktype": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/dealTasks/1/dealTasktype"
                              },
                              "doneAutomation": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/dealTasks/1/doneAutomation"
                              },
                              "notes": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/dealTasks/1/notes"
                              },
                              "owner": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/dealTasks/1/owner"
                              },
                              "taskNotifications": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/dealTasks/1/taskNotifications"
                              },
                              "user": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/dealTasks/1/user"
                              }
                            }
                          },
                          "note": {
                            "type": "string",
                            "example": "Call Steve"
                          },
                          "owner": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "example": "1"
                              },
                              "type": {
                                "type": "string",
                                "example": "deal"
                              }
                            }
                          },
                          "relid": {
                            "type": "string",
                            "example": "1"
                          },
                          "reltype": {
                            "type": "string",
                            "example": "Deal"
                          },
                          "status": {
                            "type": "string",
                            "example": "0"
                          },
                          "title": {
                            "type": "string",
                            "example": ""
                          },
                          "udate": {
                            "type": "string",
                            "example": "2017-06-01T15:08:55-05:00"
                          },
                          "user": {
                            "type": "string",
                            "example": "1"
                          }
                        }
                      }
                    },
                    "deals": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "activitycount": {
                            "type": "string",
                            "example": "2"
                          },
                          "cdate": {
                            "type": "string",
                            "example": "2017-06-01T15:08:41-05:00"
                          },
                          "contact": {
                            "type": "string",
                            "example": "1"
                          },
                          "currency": {
                            "type": "string",
                            "example": "usd"
                          },
                          "edate": {
                            "type": "string",
                            "example": "0000-00-00 00:00:00"
                          },
                          "group": {
                            "type": "string",
                            "example": "1"
                          },
                          "hash": {
                            "type": "string",
                            "example": "3abd127b"
                          },
                          "id": {
                            "type": "string",
                            "example": "1"
                          },
                          "links": {
                            "type": "object",
                            "properties": {
                              "activities": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/deals/1/activities"
                              },
                              "contact": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/deals/1/contact"
                              },
                              "contactDeals": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/deals/1/contactDeals"
                              },
                              "group": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/deals/1/group"
                              },
                              "nextTask": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/deals/1/nextTask"
                              },
                              "notes": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/deals/1/notes"
                              },
                              "organization": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/deals/1/organization"
                              },
                              "owner": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/deals/1/owner"
                              },
                              "scoreValues": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/deals/1/scoreValues"
                              },
                              "stage": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/deals/1/stage"
                              },
                              "tasks": {
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/deals/1/tasks"
                              }
                            }
                          },
                          "mdate": {
                            "type": "string",
                            "example": "2017-06-01T15:08:55-05:00"
                          },
                          "nextTask": {
                            "type": "string",
                            "example": "1"
                          },
                          "nextdate": {
                            "type": "string",
                            "example": "2017-06-02T12:00:00-05:00"
                          },
                          "nextdealid": {
                            "type": "string",
                            "example": "1"
                          },
                          "nexttaskid": {
                            "type": "string",
                            "example": "1"
                          },
                          "organization": {},
                          "owner": {
                            "type": "string",
                            "example": "1"
                          },
                          "percent": {
                            "type": "string",
                            "example": "0"
                          },
                          "stage": {
                            "type": "string",
                            "example": "1"
                          },
                          "status": {
                            "type": "string",
                            "example": "0"
                          },
                          "title": {
                            "type": "string",
                            "example": "New deal"
                          },
                          "value": {
                            "type": "string",
                            "example": "10000"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```