---
title: "Trigger a staging or production test submission for this funder"
method: POST
path: "/api/funder_integrations/{funder_heron_id}/test/"
---

# Trigger a staging or production test submission for this funder

`POST /api/funder_integrations/{funder_heron_id}/test/`

Submits the synthetic test end user to the selected funder environment. Returns the funder submission Heron ID. Frontend polls `/funder_submissions/{id}/` for the result.

## Path parameters

- `funder_heron_id` string, required

## Request body

- TriggerTestRequestSchema
  - `environment` 'staging' | 'production'

## Response `202`

Test triggered

- TriggerTestResponseSchema
  - `funder_submission_heron_id` string, required

## Other responses

- `400` — Credentials not configured
- `404` — Funder not linked to current broker
- `409` — A test is already in progress for this funder

---

[API](https://skmtc.net/herondata/apis/heron-data-api.md) · [All operations](https://skmtc.net/herondata/apis/heron-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/herondata/heron-data-api/versions/f2e441edece2/schema)
