Verify challenge token

PUT https://www.digicert.com/services/v2/webhook/{{webhook_id}}/check-challenge
Use this endpoint to complete the verification challenge for a webhook endpoint.

Example requests and responses

cURL

curl --request PUT 'https://www.digicert.com/services/v2/webhook/{{webhook_id}}/check-challenge' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
  "token": "<token>"
}'

204 No Content

// No content

Path parameters

NameOpt/ReqTypeDescription
webhook_idrequirednumberID of the webhook to check the token for.

Request parameters

NameOpt/ReqTypeDescription
tokenrequiredstringChallenge token your webhook endpoint received.
Challenge tokens are valid for 30 minutes. If your token expires before you complete the verification challenge, use the Send challenge token API endpoint to send another one.

Error cases

StatusCodeDescription
404not_foundwebhook
400webhook_invalid_tokenThe token is invalid, expired, or missing from the request. Make sure the token in your request payload matches the token your webhook listener recieved. To send a new token, use the Send challenge token API endpoint.