Get profile details

POST https://caas.digicert.com/automationws/v1/profile/details
Use this endpoint to get details for an automation profile.

For more information, see Automation profiles.

Example requests and responses

cURL

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

200 OK

{
    "error": null,
    "data": {
        "profileId": 829,
        "accountId": "5153184",
        "divisionId": 677793,
        "profileName": "SensorPrivateSSL",
        "profileState": "ACTIVE",
        "productType": "PRIVATE_SSL_FLEX",
        "availableDomains": [
            "winthecustomer.com",
            "standardssl.cert-teting.com",
            "privatetestdmn.com"
        ],
        "validity": "10D",
        "orderCoverageLength": "2Y",
        "signatureHash": "sha256",
        "keySizeAndAlgorithm": "RSA 2048",
        "ctLogOption": false,
        "isDefault": false,
        "createdDate": 159973083751E12,
        "updatedDate": 159973083751E12,
        "organizationId": 757788,
        "organizationName": "PrivateOrg",
        "caCertId": "5C5F5680CFC18EE",
        "caCertName": "DigiCert Grid TEST CA-1",
        "contacts": [
            {
                "contactId": 1525031,
                "contactType": "org_contact"
            }
        ],
        "reason": [],
        "profileType": "SENSOR",
        "canSignHttpExchangesExtension": false,
        "emailAddresses": "cc.admin@cert-testing.com",
        "forceAutoRenewSetting": false
    }
}

Request parameters

NameReq/OptTypeDescription
accountIdrequiredstringAccount ID.
divisionIdrequiredstringDivision ID.
profileIdrequiredstringAutomation profile ID.

Response parameters

NameTypeDescription
errorobjectObject with error details, if any.
dataobjectObject with response data.
.. profileIdobjectAutomation profile ID.
.. accountIdstringAccount ID.
.. divisionIdintegerDivision ID.
.. profileNameobjectName of the automation profile.
.. profileStatestringStatus of the automation profile.
Allowed values: ACTIVE, ACTION_NEEDED.
.. productTypestringType of the product.
Allowed values: See Glossary – Product identifiers
.. availableDomainsarrayDomains available for automation.
.. validitystringCertificate validity.
Allowed values: 1D,1Y. Ends with D – Day or Y - Year.
Example:
1Y
Max value:
397 days
orderCoverageLengthstringSelected order coverage plan.
Possible values: 1Y, 2Y.
Note: For accounts with Multi-year plans enabled, allowed values range from 1Y-3Y.
.. signatureHashstringHash type ID for the algorithm used to sign the certificate.
Allowed values: See Glossary – Hash types.
.. keySizeAndAlgorithmstringThe key size and algorithm used to sign the certificate.
Allowed values: RSA 2048, RSA 4096, RSA 8192, ECC P256, ECC P384
.. ctLogOptionbooleanUse this option to enable CT logging for issued SSL certificates.
.. isDefaultbooleanIf true, sets the profile to be the default.
.. createdDateintegerDate and time when the profile was created.
Format: epoch in milliseconds.
Example: 1598299200000
.. updatedDateintegerDate and time when the profile was updated.
.. organizationIdintegerThe ID of an existing organization to associate with the profile. To get the ID of organizations in your account, use the endpoint List organizations.
.. organizationNamestringThe name of the organization.
.. caCertIdstringID of the CA certificate that should sign the certificate.
Note: If not specified, the default CA certificate is used.
.. caCertNamestringName of the CA certificate that should sign the certificate.
.. contactsarrayObject container for automation profile contacts.
.. .. contactIdintegerID of existing user or contact for the account. This can be omitted if you are adding a new contact. To get the IDs for users in your account, use the endpoint User info.
.. .. contactTypestringType of contact to add to the profile.
Allowed values: org_contact, technical_contact, ev_approver
.. .. contactNamestringName of the contact.
.. reasonarrayReason specified if the profile is in ACTION_NEEDED state.
.. profileTypestringType of profile.
Allowed values: ACME or SENSOR
.. canSignHttpExchangesExtensionbooleanThis parameter is used to issue certificates with “canSignHttpExchanges” extension. For more information, See Get your Signed HTTP Exchanges certificate.
.. customFieldsarrayAccount-specific custom fields. Whether or not these fields are required depends on your custom field settings.
.. emailAddressesstringEmail address associated with the profile.
.. autoRenewSettingsobjectObject with auto-renew settings.
.. .. daysBeforeExpiryintegerNumber of days before expiration to renew the certificate.
Min: 1 day
Max: Less than the certificate validity.
.. .. scheduleTimeintegerTime when auto-renew starts.
Format: epoch in milliseconds.
An epoch corresponds to 0 hours, 0 minutes, and 0 seconds (00:00:00) Coordinated Universal Time (UTC) on a specific date, which varies from system to system.
Example: 1598299200000
.. .. scheduleTimeZonestringTime zone for the auto-renew.
Format: GMT + your timezone offset.
Example:
-8#pacifictime
.. .. isAutoReplacebooleanFor a revoked or missing certificate, true requests and installs the certificate on the host.
Default: false
.. forceAutoRenewSettingbooleanIf true, auto-renew settings are enabled.
Default: false