Create offer codes

Creates new offer codes for a given application's offer. The request is processed by a backend worker, and a CSV will be emailed directly to the requestor.

At most, 10,000 codes can be generated within a single request. If you need to generate more than 10,000 codes, you will need to break this up across multiple requests. Please reach out to us if you need to generate hundreds of thousands, or millions, of codes.

Authorized scopes:

  • owner
  • admin:full
  • admin:limited
  • application:update
Path Params
uuid
required

The id of the application.

string
required

The id of the offer.

Body Params
integer
required
1 to 10000

How many codes should be generated. A maximum of 10,000 codes can be generated per request. Even if you pass in a count greater than this limit, only 10,000 codes will be generated.

Headers
integer
Responses
204

Offer codes created successfully

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