---
title: "Check agent config"
source_url: https://dev.digicert.com/certcentral-apis/automation-api/check-agent-config.html
api_method: POST
api_endpoint: "/automationws/v1/agent/checkconfig"
api_url: "https://caas.digicert.com/automationws/v1/agent/checkconfig"
---
**POST** `https://caas.digicert.com/automationws/v1/agent/checkconfig`
Use this endpoint to update the configuration of the automation agent with any changes to the server configuration (such as the addition or removal of ports or IPs).
## Example requests and responses
## cURL
```bash
curl --location --request POST 'https://caas.digicert.com/automationws/v1/agent/checkconfig' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"accountId": 5153184,
"agentId": 2029,
"divisionId": "677793"
}'
```
## 200 OK
```json
{
"error": null,
"data": "Check configuration triggered successfully"
}
```
## Request parameters
| Name |
Req/Opt |
Type |
Description |
| accountId |
required |
string |
Account ID. |
| agentId |
required |
long |
ID of the agent. |
| divisionId |
required |
long |
Division ID. |
## Response parameters
| Name |
Type |
Description |
| error |
object |
Object with error details, if any. |
| data |
object |
Message with additional information about the request. |