---
title: "Test webhook notification target"
method: POST
path: "/notifications/endpoints/{endpointId}/test"
tags: ["Notifications"]
---

# Test webhook notification target

`POST /notifications/endpoints/{endpointId}/test`

## Path parameters

- `endpointId` string, required

## Request body

- NotificationsApiTestWebhookNotificationEndpointRequestBody

## Response `200`

- NotificationsApiTestWebhookNotificationEndpointResponse
  - `request` object, required
    - `url` string, required
    - `method` string, required
    - `headers` object, required
    - `body` object, required
  - `error` object — Set in case of failure with sending the request.
    - `type` 'timeout' | 'ssl-error' | 'unknown', required
    - `message` string
  - `response` object
    - `headers` object, required
    - `statusCode` number, required
    - `body` object, required

---

[API](https://skmtc.dev/envzero/apis/env0-api.md) · [All operations](https://skmtc.dev/envzero/apis/env0-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/envzero/env0-api/revisions/513441cbe9dc/schema)
