---
title: "Executes a manual automation for a task."
method: POST
path: "/projects/{projectId}/automations/{automationId}/execute"
tags: ["projectAutomations"]
---

# Executes a manual automation for a task.

`POST /projects/{projectId}/automations/{automationId}/execute`

Can be used to trigger an automation that uses a manual trigger for a specific task.
            The calling user becomes the initiator of the automation execution.
            <Check title="Required Permissions" icon="key">The user must have write permissions on the specified task.</Check>

## Path parameters

- `projectId` string, uuid, required
- `automationId` string, uuid, required

## Headers

- `Authorization` string, required

## Request body

- AutomationExecuteForm
  - `taskId` string, uuid, required — The id of the task to execute the automation for.

## Response `202`

Accepted

- ProjectAutomationsPostExecuteProjectAutomationResponse202 — Empty response body

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.net/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.net/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awork-io/api-v1-reference/versions/f784a53f60df/schema)
