Batch create vouchers

Generate a batch of unique vouchers. Each voucher will be created using {prefix}-{random code} format where code will be a random string of requested type and length. A prefix needs to be unique within a project.

Following code types are supported:

  • digits
  • letters
  • mixed (digits and letters)

Allowed characters for each code type have been filtered to avoid typing mistakes. Maximum number of codes possible to generate in one batch request is 50 000.

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

Campaign ID

Body Params
number
required
1 to 50000

How many unique vouchers to generate? Can be an number between 1 and 50 000.

string
enum
required

What characters should the code include. Possible choices are digits, letters, and mixed.

Allowed:
number
required
3 to 10

How long should the random part of the code be? Valid values are between 3 and 10, depending on batch size.

string
required

A prefix is required for batch generated vouchers. Needs to be unique within project.

Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json