---
title: "Validate subscription filter"
method: POST
path: "/v1/projects/{projectID}/subscriptions/test_function"
tags: ["Subscriptions"]
---

# Validate subscription filter

`POST /v1/projects/{projectID}/subscriptions/test_function`

This endpoint validates that a filter will match a certain payload structure.

## Path parameters

- `projectID` string, required

## Request body

- ModelsTestWebhookFunction
  - `function` string
  - `payload` object

## Changes

- **2023-11-17** (v3) `41d4fca4cab8` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/getconvoy/apis/convoy-api-reference/changes/v1/projects/:projectID/subscriptions/test_function/post.md)

---

[API](https://skmtc.dev/getconvoy/apis/convoy-api-reference.md) · [All operations](https://skmtc.dev/getconvoy/apis/convoy-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getconvoy/convoy-api-reference/revisions/9e4b97e26a2a/schema)
