DocumentationRelease API

Release API

Tells Nohmo a version shipped, so metric movements can be attributed to it. Call it from CI after a deploy. The SDK also reports releases automatically, so this is only needed when you want CI to be the source of truth or to add a commit SHA and release notes.

POST /api/tracker/release/

bash
curl -X POST https://www.nohmo.in/api/tracker/release/ \
-H "Content-Type: application/json" \
-H "X-API-Key: pk_xxxx" \
-d '{
"version": "2.4.1",
"platform": "ios",
"name": "Checkout rewrite",
"commitSha": "9f2c1ab",
"releasedAt": "2026-08-23T10:00:00Z"
}'
FieldRequiredDescription
versionVersion string, max 100 characters
platformweb, ios, android, or blank for all surfaces
nameHuman label for the release, max 255 characters
commitShaCommit SHA, max 64 characters
releasedAtISO-8601 datetime. Defaults to now
environmentDefaults to production
notesFree-text release notes

Response

json
{
"success": true,
"data": {
"id": "6f1e...",
"version": "2.4.1",
"platform": "ios",
"releasedAt": "2026-08-23T10:00:00+00:00",
"source": "api",
"created": true
}
}

Note: Returns 201 when the release is new and 200 when it already existed, so re-running a deploy job is safe. A release the SDK auto-detected is upgraded to source: "api" when CI reports the same version.

StatusMeaning
400Invalid JSON, version missing, bad platform, or releasedAt not ISO-8601
401API key missing or invalid