# Create a release label channel for app version management Create app channel ## Endpoint **POST** `/api/v1/mdm/labels` ## Request URL `https://{server-hostname}:8383/api/v1/mdm/labels` ## Scope `MDMDeviceMgmt.CREATE` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Content-Type** `string` **Mandatory**: `application/json` - **Accept** `string` **Mandatory**: `application/json` ### Request Body `application/json` - `JSON Object` - **channel_name** `string` **Mandatory** - Channel name for the release label (e.g., Production, Beta, Staging) ## Sample Request ```curl curl --request POST \ --url https://appdomain/api/v1/mdm/labels \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json' \ --data '{"channel_name":"Production"}' ``` ## Sample Request Body ### Create a Production release label channel ```json { "channel_name": "Production" } ``` ### Create a Beta release label channel ```json { "channel_name": "Beta" } ``` ## Response Parameters ### HTTP Code 200 Response Body: `application/json` - `JSON Object` - **release_label_id** `long` - The newly created release label ID. Use this when adding or updating apps ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 Release label channel created successfully ```json { "release_label_id": 9007199254741076 } ``` ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 60 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.