--- title: "Send challenge token" source_url: https://dev.digicert.com/certcentral-apis/services-api/webhooks/send-challenge-token.html api_method: PUT api_endpoint: "/services/v2/webhook/{{webhook_id}}/send-challenge" api_url: "https://www.digicert.com/services/v2/webhook/{{webhook_id}}/send-challenge" --- **PUT** `https://www.digicert.com/services/v2/webhook/{{webhook_id}}/send-challenge` Use this endpoint to send an event with a challenge token a webhook endpoint. The challenge token event has this format: ```json { "event": "challenge_webhook_endpoint", "data": { "token": , "webhook_id": 12345 } } ``` After receiving the token, use the [Verify challenge token](https://dev.digicert.com/md/certcentral-apis/services-api/webhooks/verify-challenge-token.md) endpoint to send the token back to DigiCert and complete the verification challenge. Challenge tokens are valid for 30 minutes. If your token expires before you complete the verification challenge, use the **Send challenge token** endpoint to send another one. ## Example requests and responses ## cURL ```bash curl --request PUT 'https://www.digicert.com/services/v2/webhook/{{webhook_id}}/send-challenge' \ --header 'X-DC-DEVKEY: {{api_key}}' \ --header 'Content-Type: application/json' ``` ## 204 No Content ```console // No content ``` ## Path parameters
Name Opt/Req Type Description
webhook_id required number ID of the webhook that should receive the challenge token.
## Error cases
Status Code Description
404 not_found|webhook A webhook with the given ID does not exist.