---
title: Test a webhook
description: Sends one signed webhook.test POST now and returns the answer.
doc_version: 0.1.0-preview
last_updated: 2026-09-14
---

# Test a webhook

`POST /v1/workspaces/{workspaceId}/webhooks/{webhookId}/test`

Sends one signed webhook.test POST now and returns the answer. It works while the webhook is off, and the log does not keep it. A member manages their own webhooks, a workspace key manages workspace webhooks, and an Admin manages every webhook.

## Authentication

Send `Authorization: Bearer <GRAPHON_API_KEY>`. Read the key from the
GRAPHON_API_KEY environment variable. Never print it.

## Path parameters

- `workspaceId` (string) — The workspace id.
- `webhookId` (string) — The webhook id.

## Example request

```bash
curl --request POST \
  --url "https://api.beta.graphon.ai/v1/workspaces/wspq7ws2np5l8z4/webhooks/whkN4vB7qX2mZ/test" \
  --header "Authorization: Bearer $GRAPHON_API_KEY"
```

## CLI

```bash
graphon webhooks test whkN4vB7qX2mZ
```

## Example response

```json
{
  "attempt": {
    "status": "succeeded",
    "responseStatus": 204,
    "error": null,
    "durationMs": 87,
    "sentAt": "2026-10-14T09:01:00.112Z"
  }
}
```

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
