Admin — list vouchers in a campaign

ADMIN

Lists a campaign's vouchers, newest first is not guaranteed — codes are
returned in key order, so treat the sequence as stable but not chronological
and page through it with the supplied cursor.

campaign_id is required. The table is keyed by campaign, and a campaign can
hold millions of codes, so there is no unscoped listing.

Filtering by tag returns exactly one batch's codes. Vouchers created before
batching existed carry no tag and never appear under a tag filter.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
uuid
required

Campaign to list. Callers whose credentials are bound to a single campaign may only pass their own.

string

Restrict to the vouchers created by one batch.

string

Restrict to codes beginning with this value.

string
enum
Allowed:
integer
1 to 100
Defaults to 20

Number of items to return per page.

string

Opaque pagination cursor returned by a previous response.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
Missing 1 required scope
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json