# Install agent on a computer Initiates the installation of the Endpoint Central agent on a target endpoint that is currently unmanaged. **This API endpoint is deprecating soon** his API endpoint will be permanently removed on January 2027, please migrate to the new endpoint. [View new endpoint >](https://www.manageengine.com/products/desktop-central/help/api/onpremise/computers-install-agent.html) ## Endpoint `POST /api/1.4/som/computers/installagent` ## Request URL `https://{server-hostname}:8383/api/1.4/som/computers/installagent` ## Scope `SOM.UPDATE` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Body ### application/json JSON Object - **resourceids** `array` *(Optional)*: Specify the resource IDs of the computers. You can obtain these IDs from the response of this [Computers](https://www.manageengine.com/products/desktop-central/help/api/onpremise/computers-getcomputers.html) API, under the `resource_id_string` field. ## Sample Request ```curl curl --request POST \ --url https://appdomain/api/1.4/som/computers/installagent \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: application/json' \ --data '{"resourceids":[301]}' ``` ## Sample Request Body ```json { "resourceids": [ 301 ] } ``` ## Response Parameters ### HTTP code 200 #### Response Body — application/json JSON Object - **message_type** `string`: Name of the module - **message_response** `JSON Object`: Response message containing computer's operation status - **message_version** `string`: Version of the Api - **status** `string`: Status of the request ## Possible Response Codes - **200** `HTTP code`: Request processed successfully ## Sample Response: HTTP 200 ```json { "message_type": "computers", "message_response": { "computers": { "Status": "Installation initiated successfully" } }, "message_version": "1.4", "status": "success" } ``` ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 120 | **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.