---
title: "Trigger automation webhook"
method: POST
path: "/v2/workflow/{projectId}/{workflowSchemaId}/webhook"
language: "en"
---

# Trigger automation webhook

`POST /v2/workflow/{projectId}/{workflowSchemaId}/webhook`

## Request

- Base URL: `https://api.mintlify.com`
- URL: `https://api.mintlify.com/v2/workflow/{projectId}/{workflowSchemaId}/webhook`
- Auth: HTTP bearer

Queues a run of a custom automation that has a webhook trigger, instead of waiting for the trigger's configured event. Useful for running automations from CI/CD pipelines, release scripts, or any other system that already emits events. Only custom automations with a webhook trigger can be triggered; other triggers return a `404` response.

Authenticate with an organization API key that has write access.

## Path parameters

- `projectId` string, required
- `workflowSchemaId` string, required

## Response `202`

Automation run queued successfully.

- object
  - `success` boolean: Always `true` when the run is queued.
  - `runId` string: The ID of the queued automation run. Appears on the **Runs** tab of your [Automations](https://app.mintlify.com/settings/project/automations?tab=runs) settings.

## Other responses

- `400`: The automation ID or project ID is malformed.
- `401`: The API key is missing or invalid, or your plan doesn't include API access or automations.
- `402`: AI credits are exhausted for this billing cycle. Upgrade your plan or wait for your credits to renew.
- `403`: Your API key doesn't have write access, or your request came from an IP address that isn't on your API key's allowlist.
- `404`: The project doesn't exist or doesn't belong to your organization, or the automation doesn't exist, isn't active, or doesn't have a webhook trigger.
- `429`: You exceeded the rate limit of 10 requests per 10 seconds per organization. This limit is shared with the trigger deployment, trigger automation, and automation webhook endpoints.
- `500`: The automation run could not be queued because of an unexpected server error.
- `503`: Credit check failed. Retry the request.

## Changes

- **2026-10-30** `3eb6a2a4ba24`: 3 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `429`
- **2026-10-22** `e14f4ed06f0c`: 5 info
  - added the non-success response with the status `500`
  - added the optional property `success` to the response with the `400` status
  - added the optional property `success` to the response with the `402` status
  - added the optional property `success` to the response with the `404` status
  - …1 more
- **2026-09-21** `f724c5e98fd6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mintlify/apis/mintlify-admin-api/changes/v2/workflow/:projectId/:workflowSchemaId/webhook/post.md)

---

[API](https://skmtc.dev/mintlify/apis/mintlify-admin-api.md) - [All operations](https://skmtc.dev/mintlify/apis/mintlify-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mintlify/apis/mintlify-admin-api/revisions/20f9b4a4a842?raw)
