---
title: "Generate Coupon Csv"
method: POST
path: "/api/test-coupon/csv"
tags: ["test-coupon"]
---

# Generate Coupon Csv

`POST /api/test-coupon/csv`

## Request

- Base URL: `https://api.pcbgenerator.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pcbgenerator.com/api/test-coupon/csv`
- Auth: none declared

## Request body

- TestCouponConfig: Input configuration for test coupon generation.
  - `coupon_type` 'impedance' | 'TDR' | 'microsection' | 'combo', required
  - `stackup_id` string, required
  - `target_impedances` object[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api.md) · [All operations](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/revisions/b6084b3ace32?raw)
