---
title: "Invoke an Automation"
method: POST
path: "/automations/{templateId}/invoke"
tags: ["Automations"]
---

# Invoke an Automation

`POST /automations/{templateId}/invoke`

Invoke an automation run from an automation template.

## Path parameters

- `templateId` string, required

## Request body

- AutomationInvokeParams
  - `brand` string, nullable
  - `data` object, nullable
  - `profile` object, nullable
  - `recipient` string, nullable, required
  - `template` string, nullable

## Response `200`

- AutomationInvokeResponse
  - `runId` string, required

## Changes

- **2025-10-07** `7143ea51f307` — 2 breaking
  - the request property `recipient` became required
  - the `profile` request property type changed from no type to `object`

[Change history](https://skmtc.dev/trycourier/apis/courier/changes/automations/:templateId/invoke/post.md)

---

[API](https://skmtc.dev/trycourier/apis/courier.md) · [All operations](https://skmtc.dev/trycourier/apis/courier/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trycourier/courier/revisions/6793811bc113/schema)
