> 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.

# List webhook deliveries

GET https://app.hindsiteind.com/api/v2/webhook_deliveries

Returns webhook deliveries for the authenticated admin's organisation. Use the `state` filter to find deliveries that need attention (e.g. `state=errored` for fully exhausted retries).

Reference: https://api-docs.hindsiteind.com/hindsite-api/webhook-deliveries/get-webhook-deliveries

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api/v2/webhook_deliveries:
    get:
      operationId: get-webhook-deliveries
      summary: List webhook deliveries
      description: >-
        Returns webhook deliveries for the authenticated admin's organisation.
        Use the `state` filter to find deliveries that need attention (e.g.
        `state=errored` for fully exhausted retries).
      tags:
        - subpackage_webhookDeliveries
      parameters:
        - name: webhook_id
          in: query
          description: Narrow to a single webhook.
          required: false
          schema:
            type: string
        - name: state
          in: query
          description: >-
            Filter by delivery state. `retrying` and `in_progress` are
            mid-flight; `errored` means the chain has exhausted all
            auto-retries.
          required: false
          schema:
            $ref: '#/components/schemas/ApiV2WebhookDeliveriesGetParametersState'
        - name: since
          in: query
          description: >-
            ISO 8601 datetime. Only deliveries created at or after this
            timestamp are returned.
          required: false
          schema:
            type: string
            format: date-time
        - name: page
          in: query
          required: false
          schema:
            type: integer
        - 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:
        '200':
          description: Paginated list of webhook deliveries
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryList'
        '403':
          description: Caller is not an admin in the organisation
          content:
            application/json:
              schema:
                description: Any type
servers:
  - url: https://app.hindsiteind.com
    description: Production
components:
  schemas:
    ApiV2WebhookDeliveriesGetParametersState:
      type: string
      enum:
        - pending
        - in_progress
        - retrying
        - completed
        - errored
      title: ApiV2WebhookDeliveriesGetParametersState
    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
    WebhookDeliveryListMeta:
      type: object
      properties:
        page:
          type: integer
        per_page:
          type: integer
        total_pages:
          type: integer
        total_count:
          type: integer
      title: WebhookDeliveryListMeta
    WebhookDeliveryList:
      type: object
      properties:
        webhook_deliveries:
          type: array
          items:
            $ref: '#/components/schemas/WebhookDelivery'
        meta:
          $ref: '#/components/schemas/WebhookDeliveryListMeta'
      title: WebhookDeliveryList
  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
{
  "webhook_deliveries": [
    {
      "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"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 1,
    "total_pages": 1,
    "total_count": 1
  }
}
```

**SDK Code**

```python
import requests

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

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

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

print(response.json())
```

```javascript
const url = 'https://app.hindsiteind.com/api/v2/webhook_deliveries';
const options = {method: 'GET', 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"

	req, _ := http.NewRequest("GET", 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")

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

request = Net::HTTP::Get.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.get("https://app.hindsiteind.com/api/v2/webhook_deliveries")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

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

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

```csharp
using RestSharp;

var client = new RestClient("https://app.hindsiteind.com/api/v2/webhook_deliveries");
var request = new RestRequest(Method.GET);
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")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
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()
```