Get sensor details

POST https://daas.digicert.com/apicontroller/v1/sensor/getSensorDetails
Use this endpoint to get information about a sensor.

Example requests and responses

cURL

curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/sensor/getSensorDetails' \
--header 'X-DC-DEVKEY: {{api_key}}'' \
--header 'Content-Type: application/json' \
--data-raw '{"licenseKey":{{license_key}},"accountId":5153184,"divisionId":677793}'

200 OK

{
    "error": null,
    "data": {
        "accountId": "5153184",
        "divisionId": 677793,
        "licenseKey": "6DE804CF68C9CF06",
        "sensorName": "14maysensorproxy",
        "updatePreference": "0",
        "stateString": "Inactive",
        "statusString": "Error",
        "sensorVersion": "3.8.10",
        "updateAvailable": false,
        "publishUpgradeOption": false,
        "emailAddresses": null
    }
}

Request parameters

NameReq/OptTypeDescription
licenseKeyrequiredstringSensor license key .
accountIdrequiredstringAccount ID.
divisionIdrequiredintegerDivision ID.

Response parameters

NameTypeDescription
errorobjectIncludes the error code, if any.
dataobjectObject container for response.
.. accountIdstringAccount ID.
.. divisionIdintegerDivision ID.
.. licenseKeystringSensor license key.
.. sensorNamestringName of the sensor.
.. updatePreferencestringSensor upgrade preference.
0 Automatic upgrade.
1 Manual upgrade.
Manually upgrade the sensor from the CertCentral UI.
.. stateStringstringSensors state.
Possible values: Inactive, Enabled
.. statusStringstringSensor status.
Possible values: Suspended, Not_configured, Install_pending, Error, Stopped, Updating, Update_pending, Scanning, Configured.
.. sensorVersionstringSensor version.
.. updateAvailablebooleanIndicates whether a new sensor upgrade is available.
Default: false.
.. publishUpgradeOptionbooleanIf updatePreference is 1 and sensor upgrade is available, it will be true.
.. emailAddressesstringComma- separated list of email addresses for the contacts associated with the sensor.