get_host_promo_codes
Retrieve promo codes for a Partiful event you host, including discount amounts, usage counts, and limits to manage your promotions.
Instructions
Get promo codes for a Partiful event you're hosting. Returns a list of promo code objects (code, discount, usage limits) for the event.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"event_id": "<event_id>"
},
"name": "get_host_promo_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Dot-path field names to include in the response. Omit to return all fields. Available fields: promoCodes, promoCodes.code, promoCodes.disabled, promoCodes.discount, promoCodes.id, promoCodes.maxUses, promoCodes.usedCount | |
| event_id | Yes | The Partiful event ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| promoCodes | No |