The request.completed webhook. Signed: X-ScrapeBadger-Signature is sha256= + hex HMAC-SHA256 of the raw body with the account's webhook secret (GET /v1/account/webhook-secret). Deliveries can repeat: deduplicate on request_id.
| Name |
Type |
Description |
Notes |
| event |
EventEnum |
|
|
| requestId |
String |
|
|
| batchId |
String |
|
|
| status |
Integer |
The call's own HTTP status. |
|
| headers |
Map<String, String> |
The call's kept response headers, lower-case (content-type, x-credits-used, x-request-duration-ms). |
|
| resultUrl |
String |
|
|
| resultExpiresAt |
Integer |
Unix time. |
|
| bodySize |
Integer |
|
|
| body |
Object |
|
|
| bodyOmitted |
Boolean |
Present (true) when the body was over 1 MB: fetch `result_url`. |
[optional] |
| attempt |
Integer |
|
|
| sentAt |
Integer |
Unix time of this attempt. |
|
| Name |
Value |
| REQUEST_COMPLETED |
"request.completed" |