---
title: "Retry a webhook"
method: POST
path: "/webhooks/{webhook_id}/actions/retry"
tags: ["Webhook"]
---

# Retry a webhook

`POST /webhooks/{webhook_id}/actions/retry`

## Request

- Base URL: `https://api.gocardless.com`
- URL: `https://api.gocardless.com/webhooks/{webhook_id}/actions/retry`
- Auth: HTTP bearer

Requests for a previous webhook to be sent again

## Path parameters

- `webhook_id` string, required

## Headers

- `GoCardless-Version` string, required

## Response `200`

Action completed successfully

- WebhookSingleResourceResponse
  - `webhooks` Webhook: Basic description of a webhook
    - `id` string: Unique identifier, beginning with "WB".
    - `created_at` string, date-time: Fixed [timestamp](https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times), recording when this resource was created.
    - `url` string: URL the webhook was POST-ed to
    - `request_headers` WebhookRequestHeaders: The request headers sent with the webhook
    - `request_body` string: The body of the request sent to the webhook URL
    - `response_code` integer, nullable: The response code from the webhook request
    - `response_body` string, nullable: The body of the response from the webhook URL
    - `response_body_truncated` boolean, nullable: Boolean value indicating the webhook response body was truncated
    - `response_headers` WebhookResponseHeaders, nullable: The headers sent with the response from the webhook URL
    - `response_headers_content_truncated` boolean, nullable: Boolean indicating the content of response headers was truncated
    - `response_headers_count_truncated` boolean, nullable: Boolean indicating the number of response headers was truncated
    - `is_test` boolean: Boolean value showing whether this was a demo webhook for testing
    - `successful` boolean: Boolean indicating whether the request was successful or failed

## Other responses

- `400`: Bad Request
- `401`: Unauthorised
- `404`: Not found
- `422`: Validation Error
- `500`: Internal Error

---

[API](https://skmtc.dev/gocardless/apis/gocardless-api.md) - [All operations](https://skmtc.dev/gocardless/apis/gocardless-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gocardless/apis/gocardless-api/revisions/4dd3dae45364?raw)
