The Releasecut API is how your pipeline tells Releasecut what it deployed, publishes release notes and ticks release-day steps; webhooks tell your other systems when something changes. It is a small REST API: JSON over HTTPS at https://releasecut.com, authenticated with an organisation token. Everything an admin sets up lives in Settings → API tokens and Settings → Webhooks, Slack & Teams.

API access, webhooks, Slack and Teams are plan-dependent: see pricing for the plans that include integrations.

Authentication

Create a token in Settings → API tokens (owner or admin). It is shown once and acts for the whole organisation, so name it after what uses it, such as "GitHub Actions". Scopes: write (record deployments, publish releases, read) or read. Revoking a token stops it at once.

Authorization: Bearer cad_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Content-Type: application/json          (on POST)

Every path below is relative to https://releasecut.com. Limits: 600 requests per token per hour (429 rate_limited). Errors are JSON: {"error": "<code>", "message": "..."}. Revoked tokens get 401 invalid_token; a read token on a write endpoint gets 403 scope. On a plan without integrations every call answers 402 plan_limit until the organisation subscribes again.

Errors

StatuserrorWhen
400validationa field is missing or invalid; message says which
400nothing_to_publishthe release has no notes and no description
401invalid_tokenno token, or an unknown or revoked one
402plan_limitthe organisation's plan doesn't include integrations
403scopea read token on a write endpoint
404not_foundno such product, release or step in your organisation
409ambiguoustwo releases share that version; ids lists them
409archivedthe product is archived
429rate_limitedmore than 600 requests from one token in an hour

Releasecut API endpoints

GET /api/v1/products

Read scope. The organisation's products:

{"products": [{"id": 3, "name": "Shop App", "slug": "shop-app", "archived": false}]}

GET /api/v1/products/<id or slug>/releases

Read scope. Returns {"product": {...}, "releases": [...]}: every live release of the product, parents first, with id, name, parentId, version, type, status, environment, startDate, endDate, publishedAt, the run stamps (runStartedAt, runCompletedAt) and its checklist as tasks (id, title, owner, environment, plannedMinutes, status). A step's status is todo, in_progress, done, blocked or skipped.

POST /api/v1/deployments

Write scope. The deployment tracking call: record that a release reached an environment. It becomes the release's current environment, shows up on the Environments screen (what's deployed where) and fires deployment.recorded.

{"product": "shop-app", "release": "1.2.0", "environment": "Production", "deployedOn": "2026-08-26", "note": "build 4711"}
  • product: the product's slug or id.
  • release: the version string as it appears in Releasecut (a leading v is ignored) or the release id as a number. Two releases with the same version → 409 ambiguous with their ids.
  • environment: one of the organisation's environments (Settings → Environments), spelled exactly as there.
  • deployedOn (optional, YYYY-MM-DD, default today in UTC) and note (optional, ≤ 200 characters).
  • result (optional): ok (default), failed or rollback. Let the pipeline report a failed deploy — the change failure rate and time to restore on the Dashboard are computed from it. Re-deploying a release that an environment had before another one took it is recorded as a rollback automatically.

Response 201: {"deployment": {...}, "release": {"id": 12, "name": "Shop 1.2"}, "version": 41}.

POST /api/v1/releases/<id>/publish

Write scope. Publish the release to the product's public release-notes page (needs release notes or a description). Body {"notify": true} also emails confirmed subscribers (the default; send false to skip). Response: {"release": {...}, "publicUrl": "...", "notified": 3, "version": 42}.

Release ids come from GET /api/v1/products/<id or slug>/releases. If the product's public page is off, the release is still marked as published and release.published fires, but publicUrl is null and nobody is emailed. This endpoint doesn't create the GitHub or GitLab release; that is an option in the app's Publish dialog.

POST /api/v1/releases/<id>/tasks/<taskId>/done

Write scope. Mark one release-day checklist step done from the pipeline (no body needed; idempotent). During a live run this advances the run and nudges the next step's owner. Response: {"task": {...}, "release": {"id": 12, "name": "Shop 1.2"}}.

You rarely need it: a step linked to an environment in the checklist editor ticks itself when POST /api/v1/deployments records a deployment to that environment during a live run (failed deploys don't tick anything). Use this endpoint for pipeline steps that aren't deployments — builds, migrations, smoke tests. Step ids come from each release's tasks list in GET /api/v1/products/<id or slug>/releases, or from the step.ready webhook payload.

CI recipes

GitHub Actions: add RELEASECUT_TOKEN as a repository secret, and put this step after your deploy step in a workflow that runs on tags:

- name: Record deployment in Releasecut
  if: success()
  run: |
    curl -sS -f -X POST "https://releasecut.com/api/v1/deployments" \
      -H "Authorization: Bearer $RELEASECUT_TOKEN" -H "Content-Type: application/json" \
      -d "{\"product\": \"shop-app\", \"release\": \"${GITHUB_REF_NAME}\", \"environment\": \"Production\", \"note\": \"${GITHUB_SHA::7}\"}"
  env:
    RELEASECUT_TOKEN: ${{ secrets.RELEASECUT_TOKEN }}

GitLab CI (RELEASECUT_TOKEN as a masked CI/CD variable):

record-deployment:
  stage: deploy
  script:
    - >
      curl -sS -f -X POST "https://releasecut.com/api/v1/deployments"
      -H "Authorization: Bearer $RELEASECUT_TOKEN" -H "Content-Type: application/json"
      -d "{\"product\": \"shop-app\", \"release\": \"$CI_COMMIT_TAG\", \"environment\": \"Production\", \"note\": \"$CI_COMMIT_SHORT_SHA\"}"
  only:
    - tags

Run the GitLab job after your deploy job, in a later stage or at the end of the deploy job's script, so it only records deploys that finished. Any other CI that can send an HTTP request records deployments the same way with curl. Connecting a repository for imports and generated release notes is covered on the GitHub and GitLab pages.

Webhooks

A webhook is a JSON POST to your URL (https only) for the events you pick, organisation-wide or for one product. Add one in Settings → Webhooks, Slack & Teams → Add webhook. Leave the signing secret empty and Releasecut generates one (whsec_…), shown once. Slack and Teams entries get messages in their own formats instead (see below).

EventWhen
release.publisheda release is published to the public release notes
deployment.recordeda release reaches an environment — from the UI, the grid or /api/v1/deployments
release.status.changeda release's status changes in the editor
run.starteda release-day run kicks off (payload adds run: startedAt, steps)
step.readythe front of a live run advanced (payload adds step: id, title, owner, plannedMinutes)
run.completedthe run is stamped complete (payload adds run: startedAt, completedAt, durationMinutes, steps, done, skipped)
webhook.testthe Test button

Payload:

{
  "event": "deployment.recorded",
  "deliveryId": 123,
  "occurredAt": "2026-08-26T10:15:00Z",
  "organisation": {"id": 1, "name": "Acme", "slug": "acme"},
  "product": {"id": 3, "name": "Shop App", "slug": "shop-app", "publicUrl": "https://releasecut.com/p/acme/shop-app"},
  "release": {"id": 12, "name": "Shop 1.2", "version": "1.2.0", "type": "Minor Release", "status": "Completed",
              "environment": "Production", "startDate": "2026-08-01", "endDate": "2026-08-20", "publishedAt": null, "url": null},
  "deployment": {"id": 77, "environment": "Production", "deployedOn": "2026-08-26", "note": "build 4711", "result": "ok"},
  "actor": {"kind": "token", "name": "GitHub Actions"}
}

release.status.changed adds previousStatus; webhook.test has product, release and deployment set to null and adds a message. actor.kind is user, token or system, and deployment.result is ok, failed or rollback.

Headers:

  • X-Releasecut-Event: the event name.
  • X-Releasecut-Delivery: unique per delivery and the same on its retries — use it to ignore duplicates.
  • X-Releasecut-Timestamp: when the attempt was sent (ISO 8601, UTC).
  • X-Releasecut-Signature: sha256=<hex HMAC-SHA256 of the raw body with your signing secret>
  • User-Agent: starts with Releasecut/1.

Delivery: any 2xx counts as received. Otherwise Releasecut tries again, up to 5 attempts in all (retries after 1 min, 10 min, 1 h and 6 h). The last status and error show in Settings, with the recent deliveries per webhook. Respond quickly (the timeout is 15 s) and do the work afterwards.

Verifying the webhook signature

Compute the HMAC over the raw request body, before you parse the JSON, and compare it in constant time:

import hmac, hashlib
def verify(secret: str, body: bytes, header: str) -> bool:
    expected = "sha256=" + hmac.new(secret.encode(), body, hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected, header or "")
const crypto = require("crypto");
function verify(secret, rawBody, header) {
  const expected = Buffer.from("sha256=" + crypto.createHmac("sha256", secret).update(rawBody).digest("hex"));
  const given = Buffer.from(header || "");
  return given.length === expected.length && crypto.timingSafeEqual(expected, given);
}

Slack

In Slack, create an incoming webhook for the channel: create a Slack app, turn on Incoming Webhooks, choose Add New Webhook, pick the channel and copy the URL (https://hooks.slack.com/services/…). In Releasecut: Settings → Webhooks, Slack & Teams → Add Slack, paste the URL, choose the events. Messages look like:

  • Shop App Shop 1.2 1.2.0 → Production · by GitHub Actions
  • Shop App Shop 1.2 1.2.0 → Production — deploy failed · by GitHub Actions
  • Shop App Shop 1.2 1.2.0 published — release notes · by the person who published it
  • Shop App Shop 1.2 1.2.0 is now Completed (was In Progress) · by the person who changed it

In Slack each message starts with an emoji for its event (a failed deployment and a rollback each have their own), and "release notes" links to the published release. More on the Slack integration page.

Microsoft Teams

In the Teams channel: More options (…) → Workflows, then the template Send webhook alerts to a channel (earlier called Post to a channel when a webhook request is received; a Power Automate flow in your tenant). The variants for alerts from specific people or from people in your organisation expect an authentication token, which Releasecut doesn't send. Copy the webhook URL (….logic.azure.com/… or ….api.powerplatform.com/…). In Releasecut: Settings → Webhooks, Slack & Teams → Add Teams, paste the URL, choose the events. Each event posts an Adaptive Card with the same wording as the Slack messages, plus a Release notes button on published releases. Legacy Office 365 connector URLs (….webhook.office.com) are accepted too. More on the Microsoft Teams integration page.