List webhooks

GET https://www.digicert.com/services/v2/webhook
Use this endpoint to get information about your CertCentral webhooks.

Example requests and responses

cURL

curl --request GET 'https://www.digicert.com/services/v2/webhook' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json'

200 OK

{
  "webhooks": [
    {
      "id": 12345,
      "endpoint": "https://www.example.com/my/webhook",
      "events": [
        "organization_revalidation_notice",
        "domain_expired",
        "domain_revalidation_notice",
        "certificate_revoked",
        "order_rejected",
        "organization_expired",
        "organization_validated",
        "domain_validated",
        "certificate_issued"
      ],
      "status": "active",
      "webhook_settings": {
        "webhook_notification_frequency": [
          90,
          60,
          30,
          7,
          0,
          -7
        ],
        "instant_issue_webhook_notification": "1",
        "webhook_send_certificate_chain": "1",
        "webhook_send_instant_issued_certificate_chain": "1"
      }
    }
}

Response parameters

NameTypeDescription
webhooksarrayList of objects with information about the webhooks in your CertCentral account.
.. idnumberWebhook ID.
.. endpointstringEndpoint URL where your webhook listener is hosted.
.. secretstringSecret key value that DigiCert sends in the X-WEBHOOK-KEY request header with webhook events. For increased security, configure your webhook listener to validate the X-WEBHOOK-KEY value in each received event.
Omitted if no secret is configured for the webhook.
.. eventsarray of stringsList of events CertCentral sends to the endpoint for this webhook.
Possible values: See CertCentral event types.
.. statusstringWebhook status (pending, active, inactive).
webhook_settingsobjectOptional settings for customizing certificate issued, validation expired, and revalidation notice events.
.. webhook_notification_frequencyarray of integersArray of values that determine when you receive notifications for organization_expired, organization_revalidation_notice, domain_expired, and domain_revalidation_notice events. The webhook_notification_frequency array includes one or more of the following numbers:
.. instant_issue_webhook_notificationstringIf 0, CertCentral sends certificate_issued events only for certificates that are not issued the instant the order is created. If 1, CertCentral sends certificate_issued events every time a certificate is issued, including certificates issued immediately.
.. webhook_send_certificate_chainstringIf 1, certificate_issued events for public and private TLS/SSL certificates include the certificate chain for certificates that are not not issued the instant the order is created. Otherwise, 0 (default).
Learn more: Customize certificate issued events
.. webhook_send_instant_issued_certificate_chainstringIf 1, certificate_issued events for public and private TLS/SSL certificates include the certificate chain for certificates issued the instant the order is created. Otherwise, 0 (default).
Learn more: Customize certificate issued events

Error cases

StatusCodeDescription
400webhook_invalid_accountNo webhook exists for the account.