---
title: "Send test notification"
method: POST
path: "/1.0/webhook_subscriptions/{subscriptionId}/actions/sendTestNotification"
tags: ["WebhookSubscriptions"]
---

# Send test notification

`POST /1.0/webhook_subscriptions/{subscriptionId}/actions/sendTestNotification`

## Request

- Base URL: `https://api.squarespace.com`
- URL: `https://api.squarespace.com/1.0/webhook_subscriptions/{subscriptionId}/actions/sendTestNotification`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/squarespace/apis/commerce-api/docs/1.0/webhook_subscriptions/:subscriptionId/actions/sendTestNotification/post.ts> (a function with typed inputs; its response is checked against the schema)

Sends a notification to a subscribed webhook endpoint for testing purposes. This is a one-time notification, and will not be retried if it fails or times out. Requires an OAuth access token; API keys are not supported.

## Path parameters

- `subscriptionId` string, required

## Headers

- `Authorization` string, required
- `User-Agent` string, required

## Request body

- ExternalSendTestNotificationRequest
  - `topic` string, required: Required; Squarespace event topic that triggers a webhook notification. Possible values include: extension.uninstall, order.create, order.update.

## Response `200`

OK

- ExternalTestNotificationResponse
  - `statusCode` integer: Status code returned by the subscribed webhook endpoint.

## Other responses

- `400`: The request body does not conform to the required specification.
- `404`: The requested Webhook Subscription was not found.

---

[API](https://skmtc.dev/squarespace/apis/commerce-api.md) - [All operations](https://skmtc.dev/squarespace/apis/commerce-api/llms.txt) - [OpenAPI document](https://skmtc.dev/squarespace/apis/commerce-api/revisions/5dd4b1b7cd38?raw)
