# Create a new browser router profile Creates a new Browser Router profile in Draft state. ## Endpoints [POST /bsp/api/v1/bmp/browser_router](https://www.manageengine.com/products/desktop-central/help/api/cloud/browser-router-create-browser-router-profile.html) ## Request URL `https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/bsp/api/v1/bmp/browser_router` ## Scope `DesktopCentralCloud.BrowserManager.CREATE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Content-Type** — string — **Mandatory** — `application/json` - **Accept** — string — **Mandatory** — `application/json` ### Request Body JSON body with profile name, description, platform type, and profile type (64011 for Browser Router) `application/json` - JSON Object - **router_profile_name** — string — Optional - Display name for the browser router profile. Maximum 50 characters - **PROFILE_TYPE** — string — Optional - Profile type constant. Must be 64011 for Browser Router - **router_profile_description** — string — Optional - Description of the browser router profile. Optional, maximum 100 characters - **PLATFORM_TYPE** — string — Optional - Platform type. 1=Windows, 2=Mac, -1=All platforms ## Sample Request ### Curl ```curl curl --request POST \ --url https://appdomains/bsp/api/v1/bmp/browser_router \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json' \ --data '{}' ``` ### Sample Request Body Create profile ```json { "router_profile_description": "Routes internal sites to Edge, others to Chrome", "PROFILE_TYPE": 64011, "PLATFORM_TYPE": "1", "router_profile_name": "Corporate Router Policy" } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - JSON Object - **router_profile_id** — long - Unique identifier for the browser router profile - **router_profile_name** — string - Display name of the browser router profile - **router_profile_description** — string - Description of the browser router profile - **platform_type** — string - Platform type. 1=Windows, 2=Mac, -1=All platforms - **latest_version** — string - Latest version number of the profile - **latest_published_version** — string - Latest published version, or `'--'` if not yet published - **PROFILE_TYPE** — string - Profile type. 64011 for Browser Router - **SCOPE** — string - Profile scope. 0 = device scope - **IS_MOVED_TO_TRASH** — boolean - Whether the profile is in the trash - **COLLECTION_ID** — long - Collection reference ID for the profile - **router_payload** — JSON Array - Payload configurations ### HTTP Code 400 Response Body — `application/json` - JSON Object - **error_description** — string - Message describing the invalid request - **error_code** — string - Error code for invalid request ### HTTP Code 401 Response Body — `application/json` - JSON Object - **errorCode** — long - Unauthorized error code: credentials missing, expired, or invalid - **errorMsg** — string - Authentication failure reason ### HTTP Code 403 Response Body — `application/json` - JSON Object - **errorCode** — long - Error code indicating insufficient permissions - **errorMsg** — string - Message indicating insufficient privileges to access this resource ### HTTP Code 429 Response Body — `application/json` - JSON Object - **errorCode** — long - Rate limit error code returned when the API call reached threshold - **errorMsg** — string - Rate limit exceeded message with retry guidance ### HTTP Code 500 Response Body — `application/json` - JSON Object - **error_description** — string - Message describing the server-side failure - **error_code** — string - Internal server error code ## Possible Response Codes - **200** — HTTP code - **400** — HTTP code - **401** — HTTP code - **403** — HTTP code - **429** — HTTP code - **500** — HTTP code ## Sample Response: HTTP 200 Created profile ```json { "router_profile_description": "Routes internal sites to Edge, others to Chrome", "IS_MOVED_TO_TRASH": false, "platform_type": 1, "latest_version": 1, "PROFILE_TYPE": 64011, "SCOPE": 0, "COLLECTION_ID": 222, "router_profile_name": "Corporate Router Policy", "latest_published_version": "--", "router_profile_id": 111, "router_payload": [] } ``` ## Sample Response: HTTP 400 Invalid request ```json { "error_description": "Bad Request", "error_code": "BAD_REQUEST" } ``` ## Sample Response: HTTP 401 Unauthorized ```json { "errorCode": "UNAUTHORIZED", "errorMsg": "You are not authorized to perform this action" } ``` ## Sample Response: HTTP 403 Forbidden ```json { "errorCode": "FORBIDDEN", "errorMsg": "You do not have permission to access this resource" } ``` ## Sample Response: HTTP 429 Rate limit exceeded ```json { "errorCode": "RATE_LIMIT_EXCEEDED", "errorMsg": "You have exceeded the maximum number of API calls. Please try again later." } ``` ## Sample Response: HTTP 500 Server error ```json { "error_description": "Internal Server error, Please try again in a moment.", "error_code": "COM0004" } ``` ![ ](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.