Get agent IP/port details

POST https://caas.digicert.com/automationws/v1/agent/agentIPPortDetails
Use this endpoint to get IP address and port details for an automation agent.

Example requests and responses

cURL

curl --location --request POST 'https://caas.digicert.com/automationws/v1/agent/agentIPPortDetails' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "accountId": 5153184,
    "agentId": 2060,
    "divisionId":  "677793"
}'

200 OK

{
    "error": null,
    "data": [
        {
            "id": 325327,
            "agentId": 2060,
            "automatedIp": "10.100.196.83",
            "automatedPort": 135,
            "automationStatus": "NOT_CONFIGURED"
        },
        {
            "id": 325377,
            "agentId": 2060,
            "automatedIp": "10.100.192.83",
            "automatedPort": 7070,
            "automationStatus": "CONFIGURED",
            "acmeClientId": 113,
            "acmeClientName": "IIS",
            "acmeClientVersion": "10.0"
        },
        {
            "id": 325342,
            "agentId": 2060,
            "automatedIp": "10.100.196.83",
            "automatedPort": 49665,
            "automationStatus": "NOT_CONFIGURED"
        },
        {
            "id": 325344,
            "agentId": 2060,
            "automatedIp": "10.100.192.83",
            "automatedPort": 49666,
            "automationStatus": "NOT_CONFIGURED"
        },
        {
            "id": 325357,
            "agentId": 2060,
            "automatedIp": "10.100.196.83",
            "automatedPort": 49675,
            "automationStatus": "NOT_CONFIGURED"
        }
    ]
}

Request parameters

NameReq/OptTypeDescription
accountIdrequiredstringAccount ID.
agentIdrequiredlongID of the agent.
divisionIdrequiredstringDivision ID.

Response parameters

NameTypeDescription
errorobjectObject with error details, if any.
Note: Returns null if there are no errors.
dataarrayList of objects with response data.
.. idintegerAutomation ID.
.. agentIdrequiredID of the agent.
.. automatedIpoptionalThe automated IP address.
.. automatedPortstringThe automated port.
.. automationStatusstringStatus of automation configuration.
Possible values: CONFIGURED, NOT_CONFIGURED.
.. acmeClientIdintegerID associated with an ACME client configured for automation.
Note: Only returns when automationStatus is CONFIGURED.
.. acmeClientNamestringName of the ACME client.
Note: Only returns when automationStatus is CONFIGURED.
.. acmeClientVersionstringVersion of the ACME client.
Note: Only returns when automationStatus is CONFIGURED.