Benefits
Create Benefit
Create a benefit, for example license keys, file downloads or Discord access.
Scopes: benefits:write
POST
Python
Authorizations
You can generate a Personal Access Token from your settings.
Body
application/json
- BenefitCustomCreate
- BenefitDiscordCreate
- BenefitGitHubRepositoryCreate
- BenefitDownloadablesCreate
- BenefitLicenseKeysCreate
- BenefitMeterCreditCreate
- BenefitFeatureFlagCreate
Schema to create a benefit of type custom.
Key-value object allowing you to store additional information.
The key must be a string with a maximum length of 40 characters. The value must be either:
- A string with a maximum length of 500 characters
- An integer
- A floating-point number
- A boolean
You can store up to 50 key-value pairs.
Response
Benefit created.
- BenefitCustom
- BenefitDiscord
- BenefitGitHubRepository
- BenefitDownloadables
- BenefitLicenseKeys
- BenefitMeterCredit
- BenefitFeatureFlag
A benefit of type custom.
Use it to grant any kind of benefit that doesn't fit in the other types.

