Trigger automation webhook

Changed on

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.

post/v2/workflow/{projectId}/{workflowSchemaId}/webhook

Request

  • Base URL
    https://api.mintlify.com
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Your project ID. Copy it from the API keys page in your dashboard.

workflowSchemaIdstring required

The ID of the automation to trigger. Copy it from the automation's settings panel in your Automations settings.

Response

Automation run queued successfully.

successboolean

Always true when the run is queued.

runIdstring

The ID of the queued automation run. Appears on the Runs tab of your Automations settings.

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status