Resend Webhook
If for some reason you did not receive the webhook to a specific scan or you are interested in resending a webhook, you can do it using the resend webhook.
Simply add the Scan Id of the relevant scan and a webhook will be sent to your endpoint.
Use this endpoint to resend webhooks for scan with completed status. Valid statuses: success (completed), failed (error’ed), indexed and price-checked. You cannot send the resend webhook for scans that are still running and processed.
Authentication Required
You need to login with a user and API key in order to access this method. Add this HTTP header to your request:
Authorization: Bearer < Your-Login-Token >
Request
Section titled “Request”Path Parameters
Section titled “Path Parameters”The scan id of the scan you would like to resend the wehbook for.
Headers
Section titled “Headers”Authorization: Bearer YOUR_LOGIN_TOKENResponses
Section titled “Responses”The request accepted. The webhook will be sent shortly.
Examples
Section titled “Examples”POST https://api.copyleaks.com/v3/scans/my-scan-123/webhooks/resendAuthorization: Bearer YOUR_LOGIN_TOKENcurl --request POST \ --url https://api.copyleaks.com/v3/scans/my-scan-123/webhooks/resend \ --header 'Authorization: Bearer YOUR_LOGIN_TOKEN'