POST
/api/v2/admin/vouchers/assignmentsPOST /api/v2/admin/vouchers/assignments
Authentication
Send your API key in the x-api-key header on every request.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| companyId (query) | unknown | No | |
| Idempotency-Key (header) | string | No |
Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
| VoucherId | string (uuid) | Yes | |
| UserId | unknown | Yes |
Responses
200 — OK
Example request
curl -X POST "https://{base_url}/api/v2/admin/vouchers/assignments" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"VoucherId":"…","UserId":"…"}'This page is generated from the live OpenAPI specification and always matches the current API.