> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api-docs.hindsiteind.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api-docs.hindsiteind.com/_mcp/server.

# Retry a single webhook delivery

POST https://app.hindsiteind.com/api/v2/webhook_deliveries/{id}/redeliveries

Triggers a new delivery for the same event. The original delivery is preserved for audit; a new delivery row is created and immediately enqueued. If it fails, the standard auto-retry schedule applies.

Reference: https://api-docs.hindsiteind.com/hindsite-api/webhook-deliveries/post-webhook-delivery-redelivery

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api/v2/webhook_deliveries/{id}/redeliveries:
    post:
      operationId: post-webhook-delivery-redelivery
      summary: Retry a single webhook delivery
      description: >-
        Triggers a new delivery for the same event. The original delivery is
        preserved for audit; a new delivery row is created and immediately
        enqueued. If it fails, the standard auto-retry schedule applies.
      tags:
        - subpackage_webhookDeliveries
      parameters:
        - name: id
          in: path
          description: ID of the delivery to retry.
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          description: >-
            OAuth 2.0 Client Credentials Flow. To obtain an access token:


            1. Request API credentials from HINDSITE support to receive your
            `client_id` and `client_secret`


            2. Make a POST request to obtain an access token:

            ```

            POST https://app.hindsiteind.com/oauth/token

            Content-Type: application/x-www-form-urlencoded


            grant_type=client_credentials&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET

            ```


            3. The response will contain your access token:

            ```json

            {
              "access_token": "your_access_token_here",
              "token_type": "Bearer",
              "expires_in": 7200,
              "created_at": 1234567890
            }

            ```


            4. Include the token in subsequent API requests:

            ```

            Authorization: Bearer your_access_token_here

            ```
          required: true
          schema:
            type: string
      responses:
        '201':
          description: Newly created delivery
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDelivery'
        '403':
          description: Caller is not an admin in the organisation
          content:
            application/json:
              schema:
                description: Any type
        '404':
          description: Delivery not found in the caller's organisation
          content:
            application/json:
              schema:
                description: Any type
servers:
  - url: https://app.hindsiteind.com
    description: Production
components:
  schemas:
    WebhookDeliveryState:
      type: string
      enum:
        - pending
        - in_progress
        - retrying
        - completed
        - errored
      description: >-
        Lifecycle state. `completed` = delivered (2xx response). `errored` =
        chain exhausted without success. `retrying` = waiting for the next
        auto-retry. `in_progress` = HTTP request currently in flight.
      title: WebhookDeliveryState
    WebhookDeliveryResponse:
      type: object
      properties:
        code:
          type:
            - integer
            - 'null'
          description: HTTP status code (null if the request never connected).
        error:
          type:
            - string
            - 'null'
          description: >-
            Transport-level error: `private_uri`, `response_too_large`,
            `dns_lookup_failed`, `connection_timeout`,
            `destination_unreachable`, or `failed_tls`.
      description: Summary of the last HTTP response. Null while pending.
      title: WebhookDeliveryResponse
    WebhookDelivery:
      type: object
      properties:
        id:
          type: string
        webhook_id:
          type: string
        event_id:
          type: string
        event_action:
          type: string
          description: >-
            The event action that triggered this delivery (e.g.
            `form_completed`).
        state:
          $ref: '#/components/schemas/WebhookDeliveryState'
          description: >-
            Lifecycle state. `completed` = delivered (2xx response). `errored` =
            chain exhausted without success. `retrying` = waiting for the next
            auto-retry. `in_progress` = HTTP request currently in flight.
        response:
          oneOf:
            - $ref: '#/components/schemas/WebhookDeliveryResponse'
            - type: 'null'
          description: Summary of the last HTTP response. Null while pending.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      description: >-
        One attempt to POST an event payload to a webhook URL. Cycles through
        states as auto-retries play out: pending → in_progress → retrying →
        in_progress → … → completed | errored.
      title: WebhookDelivery
  securitySchemes:
    OAuth2:
      type: http
      scheme: bearer
      description: >-
        OAuth 2.0 Client Credentials Flow. To obtain an access token:


        1. Request API credentials from HINDSITE support to receive your
        `client_id` and `client_secret`


        2. Make a POST request to obtain an access token:

        ```

        POST https://app.hindsiteind.com/oauth/token

        Content-Type: application/x-www-form-urlencoded


        grant_type=client_credentials&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET

        ```


        3. The response will contain your access token:

        ```json

        {
          "access_token": "your_access_token_here",
          "token_type": "Bearer",
          "expires_in": 7200,
          "created_at": 1234567890
        }

        ```


        4. Include the token in subsequent API requests:

        ```

        Authorization: Bearer your_access_token_here

        ```

```

## Examples



**Response**

```json
{
  "id": "string",
  "webhook_id": "string",
  "event_id": "string",
  "event_action": "string",
  "state": "pending",
  "response": {
    "code": 1,
    "error": "string"
  },
  "created_at": "2024-01-15T09:30:00Z",
  "updated_at": "2024-01-15T09:30:00Z"
}
```

**SDK Code**

```python
import requests

url = "https://app.hindsiteind.com/api/v2/webhook_deliveries/id/redeliveries"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://app.hindsiteind.com/api/v2/webhook_deliveries/id/redeliveries';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://app.hindsiteind.com/api/v2/webhook_deliveries/id/redeliveries"

	req, _ := http.NewRequest("POST", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://app.hindsiteind.com/api/v2/webhook_deliveries/id/redeliveries")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://app.hindsiteind.com/api/v2/webhook_deliveries/id/redeliveries")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://app.hindsiteind.com/api/v2/webhook_deliveries/id/redeliveries', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://app.hindsiteind.com/api/v2/webhook_deliveries/id/redeliveries");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://app.hindsiteind.com/api/v2/webhook_deliveries/id/redeliveries")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```