On this page

Releases API

Create a release

POST https://amplitude.com/api/2/release

Send the release's parameters as a JSON payload or as query parameters.

bash
POST /api/2/release?version=2.2&release_start=2022-01-01 00:00:00&release_end=2022-01-01 00:00:00&title=New Feature&description=Releasing the new paid feature. &platforms=iOS&created_by=&chart_visibility=true HTTP/1.1
Host: amplitude.com
Authorization: Basic {api-key}:{secret-key}

Release parameters

NameDescription
versionRequired. The version of your product corresponding to this release.
release_startRequired. Timestamp corresponding to the start of this release in UTC. Must be in this format: yyyy-MM-dd HH:mm:ss.
release_endOptional. Timestamp corresponding to the end of this release in UTC. Must be in this format: yyyy-MM-dd HH:mm:ss.
titleRequired. A name for the release.
descriptionOptional. A description for the release.
platformsOptional. A list of platforms for this release.
created_byOptional. Name of the user creating the release, as a string.
chart_visibilityOptional. Defaults to true. When true, the release appears on charts as an annotation.

Response

A successful request returns a JSON response with the release's information.

json
{
    "success": true,
    "release": {
        "id": "xbcehyc",
        "app_id": 50000,
        "org_id": 10001,
        "version": "3.5",
        "release_start": "2022-01-01 00:00:00",
        "release_end": "2022-01-01 00:00:00",
        "type": "integration",
        "title": "Big new feature for iOS",
        "description": "Releasing the new paid feature. ",
        "platforms": [
            "iOS"
        ],
        "chart_visibility": true,
        "params": {
            "created": 1646324226364,
            "created_by": "A User",
            "last_modified": 1646324226364,
            "last_modified_by": "A User"
        }
    }
}

Status codes

CodeMessage
200Success
400Bad Request. Check the message for details.

Was this helpful?