---
title: "Send a sample download-complete payload"
method: POST
path: "/delivery/webhooks/{webhookId}/test"
tags: ["Delivery"]
---

# Send a sample download-complete payload

`POST /delivery/webhooks/{webhookId}/test`

## Request

- Base URL: `https://api.flashdata.dev/v2`
- URL: `https://api.flashdata.dev/v2/delivery/webhooks/{webhookId}/test`
- Auth: API key in cookie `__Host-fd_session` and API key in header `X-CSRF-Token`

## Path parameters

- `webhookId` string, required

## Response `200`

Test attempted

- object
  - `statusCode` integer, required
  - `webhook` DeliveryWebhook, required
    - `createdAt` string, date-time, required
    - `id` string, required
    - `lastTestStatus` integer, nullable, required
    - `lastTestedAt` string, date-time, nullable, required
    - `name` string, required
    - `status` 'active' | 'disabled', required
    - `updatedAt` string, date-time, nullable, required
    - `url` string, uri, required

## Other responses

- `401`: Authentication required or invalid
- `404`: Resource not found or not owned by the caller

---

[API](https://skmtc.dev/flashdata/apis/flashdata-customer-api.md) · [All operations](https://skmtc.dev/flashdata/apis/flashdata-customer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flashdata/apis/flashdata-customer-api/revisions/109179fe9313?raw)
