Create an Octopus Deploy release and trigger a deployment via API

domain: octopus.com/docs · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Generate an Octopus API key under user profile > API Keys in the Octopus web UI; use it in the 'X-Octopus-ApiKey: YOUR_API_KEY' header for all requests
  2. Create a release by POST to '/api/{space-id}/releases' with body containing 'ProjectId', 'Version', and optionally 'SelectedPackages' array with package version overrides
  3. Retrieve the 'Id' of the created release (e.g. 'Releases-123') from the response; then create a deployment by POST to '/api/{space-id}/deployments' with 'ReleaseId', 'EnvironmentId', and optionally 'TenantId'
  4. Find 'EnvironmentId' values via GET '/api/{space-id}/environments' filtering by name; the ID format is typically 'Environments-N'
  5. Monitor deployment progress via GET '/api/{space-id}/tasks/{taskId}' (the 'TaskId' is in the deployment response) checking 'State' and 'FinishedSuccessfully'

Known gotchas

Related routes

Trigger a Coolify deployment from a CI pipeline via its deploy webhook
coolify.io · 5 steps · unrated
Trigger Netlify builds via build hooks and the deploy API
docs.netlify.com · 5 steps · unrated
Create a Vercel deployment via the Vercel API or deploy hook
vercel.com/docs · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans