Trigger Autopilot webhook

Changed on

Starts an Autopilot run that follows the prompt in the request body. Useful for asking Autopilot to update your docs from CI/CD pipelines, release scripts, or internal tools.

Authenticate with an organization API key that has write access.

post/v2/autopilot/{projectId}/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.

Request body

promptstring required

Instructions for Autopilot, such as what changed and what to update in your docs.

Response

Autopilot run queued successfully.

successboolean

Always true when the run is queued.

runIdstring

The ID of the queued Autopilot run.

Changes