How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Gameball Discount Codes API

The DiscountCodes API from Gameball — 11 operation(s) for discountcodes.

Gameball Discount Codes API is one of 58 APIs that Gameball publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Discount Codes. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, and rate-limit docs.

This API exposes 14 operations across 11 paths, and defines 121 schemas. It is described by OpenAPI 3.2.0.

Requests are made against the base URL https://mcp.gameball.co/mcp.

14 operations 11 paths 121 schemas 2 DELETE8 GET2 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
Base URL
https://mcp.gameball.co/mcp
Resource Areas
1

Paths & Operations 14

Across 11 paths, the API surfaces 14 operations — 2 DELETE, 8 GET, 2 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

DiscountCodes 14
DELETE
/api/v1/DiscountCodes/pregenerated/{couponCodeId}
This to update activation behaviour based on coupon id
deleteApiV1DiscountCodesPregeneratedByCouponCodeId 5 params → 200
PUT
/api/v1/DiscountCodes/{couponCodeId}/activation
This to update activation behaviour based on coupon id
putApiV1DiscountCodesByCouponCodeIdActivation 5 params → 200
GET
/api/v1/DiscountCodes/export
This to enqueue export pre-generated coupons from discount codes table into a…
getApiV1DiscountCodesExport 7 params → 200
GET
/api/v1/DiscountCodes/export-v2
Enqueues the V2 export of the pregenerated coupons listing, read from the Data…
getApiV1DiscountCodesExportV2 5 params → 200
GET
/api/v1/DiscountCodes/pregenerated
This is used to list pregenerated coupons (used for clients using Gameball…
getApiV1DiscountCodesPregenerated 10 params → 200
GET
/api/v1/DiscountCodes/pregenerated/summary
Counts one customer's coupons by state, for the coupons breakdown on their…
getApiV1DiscountCodesPregeneratedSummary 5 params → 200
POST
/api/v1/DiscountCodes/pregenerated/rows
Resolves what this backend knows about a page of coupon rows the Coupon Engine…
postApiV1DiscountCodesPregeneratedRows 4 params body → 200
GET
/api/v1/DiscountCodes/{id}
Get api discount codes by id
getApiV1DiscountCodesById 6 params → 200
DELETE
/api/v1/DiscountCodes/{id}
Delete api discount codes by id
deleteApiV1DiscountCodesById 5 params → 200
GET
/api/v1/DiscountCodes/count
Get api discount codes count
getApiV1DiscountCodesCount 5 params → 200
GET
/api/v1/DiscountCodes
Get api discount codes
getApiV1DiscountCodes 5 params → 200
POST
/api/v1/DiscountCodes
Create api discount codes
postApiV1DiscountCodes 4 params body → 200
PUT
/api/v1/DiscountCodes
Replace api discount codes
putApiV1DiscountCodes 4 params body → 200
GET
/api/v1/DiscountCodes/paged
Get api discount codes paged
getApiV1DiscountCodesPaged 12 params → 200

Schemas 121

The contract defines 121 schemas that model the data the API accepts and returns. The most detailed are GameBall.BLL.ViewModels.TransactionViewModel (78 properties), GameBall.BLL.ViewModels.ClientPointsSettingViewModel (61 properties), GameBall.BLL.ViewModels.ChallengeBehaviourViewModel (52 properties), GameBall.BLL.ViewModels.DiscountCodeViewModel (50 properties). Each schema is shown below with its type and property counts.

GameBall.BLL.ViewModels.TransactionAuditInfoViewModel
object
2 properties
GameBall.BLL.ViewModels.BranchViewModel
object
9 properties 2 required
GameBall.BLL.ViewModels.LevelLocalViewModel
object
8 properties
GameBall.Common.Model.Enums.EConditionOperator
integer
GameBall.Common.Model.Automation.ProductBranchViewModel
object
2 properties
GameBall.BLL.ViewModels.CriteriaEvaluationResultViewModel
object
8 properties
GameBall.Common.Model.ChallengeConfigurations.ChallengeConfigurations
object
5 properties
GameBall.BLL.ViewModels.Challenges.CampaignBudgetViewModel
object
10 properties
GameBall.Common.Model.Enums.EDiscountCodeTargets
integer
GameBall.BLL.ViewModels.EventViewModel
object
12 properties 1 required
GameBall.BLL.ViewModels.PlayerAttributeUTMViewModel
object
5 properties
GameBall.BLL.ViewModels.ChallengeEventMetadataViewModel
object
12 properties 4 required
GameBall.Common.Model.Automation.ProductMerchantViewModel
object
2 properties
GameBall.Common.Model.Enums.ETransactionStatuses
integer
GameBall.Common.Model.Enums.DaysOfMonth
integer
GameBall.BLL.ViewModels.PlayerAttributeDeviceViewModel
object
4 properties
GameBall.BLL.ViewModels.BehaviorTypesViewModel
object
5 properties
GameBall.Common.Model.Enums.EChallengeObjective
integer
GameBall.Common.Paging.PaginatedItemsViewModel_1_GameBall.BLL.ViewModels.DiscountCodeViewModel
object
7 properties
GameBall.BLL.ViewModels.ECouponStatus
integer
GameBall.Common.Model.Enums.EChallengeBehaviorTypes
integer
GameBall.BLL.ViewModels.RewardConfigurationLocaleViewModel
object
9 properties
System.DayOfWeek
integer
GameBall.BLL.ViewModels.ItemEvaluationResultViewModel
object
6 properties
GameBall.BLL.ViewModels.Challenges.ChallengeStatisticsDetailsViewModel
object
6 properties
GameBall.BLL.ViewModels.Transactions.CouponLockViewModel
object
3 properties
GameBall.Model.Entities.DiscountCodeLocales
object
2 properties
GameBall.Common.ProcessResult.ProcessResultViewModel_1_GameBall.BLL.ViewModels.DiscountCodeViewModel
object
4 properties
GameBall.BLL.ViewModels.Transactions.PlayerCouponsSummaryViewModel
object
5 properties
GameBall.BLL.ViewModels.TransactionViewModel
object
78 properties 4 required
GameBall.BLL.ViewModels.PlayerInfoViewModel
object
35 properties
GameBall.Common.Model.Enums.ETagType
integer
GameBall.Common.Model.ChallengeConfigurations.EChallengeChannelType
integer
GameBall.Common.Model.Challenge.ChallengeRecurrenceRule
object
9 properties
GameBall.BLL.ViewModels.TransactionTypesViewModel
object
6 properties
GameBall.Model.Entities.RedeemInstruction
object
2 properties
GameBall.Common.Model.Enums.ERecurringType
integer
GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Collections.Generic.List_1_GameBall.BLL.ViewModels.DiscountCodeViewModel
object
4 properties
GameBall.BLL.ViewModels.EventMetadataViewModel
object
9 properties 3 required
GameBall.BLL.ViewModels.ChallengeGoalEventMetadataViewModel
object
4 properties
GameBall.BLL.ViewModels.PlayerDiscountItemViewModel
object
5 properties
GameBall.BLL.ViewModels.MerchantViewModel
object
11 properties 1 required
GameBall.Common.Model.Enums.EAttributeOperators
integer
GameBall.BLL.ViewModels.ClientPointsSettingLocaleViewModel
object
4 properties
GameBall.BLL.ViewModels.ChallengeGoalViewModel
object
11 properties
GameBall.Model.Entities.RewardCostDetails
object
3 properties
GameBall.BLL.ViewModels.ClientPointsSettingViewModel
object
61 properties
GameBall.Common.ProcessResult.ProcessResultStatus
object
2 properties
GameBall.BLL.ViewModels.DiscountCodeViewModel
object
50 properties 1 required
GameBall.BLL.ViewModels.ItemComponentViewModel
object
7 properties
GameBall.BLL.ViewModels.ChallengeTagViewModel
object
8 properties
GameBall.BLL.ViewModels.LevelViewModel
object
28 properties
GameBall.BLL.ViewModels.Transactions.PregeneratedCouponRowViewModel
object
5 properties
GameBall.Common.Model.Automation.ProductReferenceViewModel
object
2 properties
GameBall.Common.Model.Enums.EGuestNotification
integer
GameBall.BLL.ViewModels.Transactions.PregeneratedCouponRowQueryViewModel
object
2 properties 2 required
GameBall.Common.ProcessResult.ProcessResultViewModel_1_GameBall.Common.Paging.PaginatedItemsViewModel_1_GameBall.BLL.ViewModels.DiscountCodeViewModel
object
4 properties
GameBall.Common.Model.Automation.ProductDisplayNameLocaleViewModel
object
2 properties
GameBall.Common.Model.Enums.EItemComponentType
integer
GameBall.Common.Model.Enums.EAccountState
integer
GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Collections.Generic.List_1_GameBall.BLL.ViewModels.Transactions.PregeneratedCouponRowViewModel
object
4 properties
GameBall.Common.ProcessResult.ProcessResultViewModel_1_GameBall.BLL.ViewModels.Transactions.PlayerCouponsSummaryViewModel
object
4 properties
GameBall.BLL.ViewModels.PointMultiplierTierViewModel
object
2 properties
GameBall.BLL.ViewModels.RewardOptionsViewModel
object
7 properties
GameBall.BLL.ViewModels.AudienceViewModel
object
9 properties
GameBall.Common.Model.Enums.ERewardType
integer
GameBall.BLL.ViewModels.NotificationConfigViewModel
object
19 properties
GameBall.BLL.ViewModels.ReferralChallengeEventViewModel
object
10 properties
GameBall.BLL.ViewModels.TierEvaluationResultViewModel
object
5 properties
GameBall.Model.Entities.ExternalRewardHeader
object
2 properties
GameBall.Common.Model.Enums.EAttributeTypes
integer
GameBall.BLL.ViewModels.ROI.ChallengeROISummaryViewModel
object
23 properties
GameBall.BLL.ViewModels.PointMultiplierTierConfigViewModel
object
3 properties
GameBall.BLL.ViewModels.BranchIntegrationViewModel
object
2 properties 1 required
GameBall.BLL.ViewModels.ChallengeViewModel
object
45 properties 1 required
GameBall.BLL.ViewModels.NotificationConfigScriptLocaleViewModel
object
14 properties
GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Object
object
4 properties
GameBall.BLL.ViewModels.IconViewModel
object
7 properties 2 required
GameBall.Common.Model.Enums.EManualLevelType
integer
GameBall.Common.Model.Enums.ETimeIntervalTypes
integer
GameBall.Common.Model.Enums.EVisibilityTypes
integer
GameBall.BLL.ViewModels.ChallengeBehaviourViewModel
object
52 properties 1 required
GameBall.BLL.ViewModels.DiscountCodeListItemViewModel
object
36 properties 1 required
GameBall.Model.Entities.ExternalAPIRewardConfiguration
object
4 properties
GameBall.Common.Model.Enums.EReferralMethod
integer
GameBall.Model.Entities.Applicability
object
3 properties
GameBall.BLL.ViewModels.MerchantIntegrationViewModel
object
3 properties
GameBall.BLL.ViewModels.RewardConfigurationViewModel
object
49 properties
GameBall.Common.ProcessResult.ProcessResultStatusCode
integer
GameBall.Common.Model.Enums.EDiscountCodeTypes
integer
GameBall.BLL.ViewModels.ClientPointsSettingMinimalViewModel
object
9 properties
GameBall.Common.Model.Enums.ECardLayout
integer
GameBall.BLL.ViewModels.DiscountCodeOptionsViewModel
object
37 properties
GameBall.Common.Model.Enums.AudienceType
integer
GameBall.BLL.ViewModels.AchievementViewModel
object
30 properties
GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Int32
object
4 properties
GameBall.BLL.ViewModels.LineItemViewModel
object
16 properties
GameBall.Common.Model.Enums.EGoalTypes
integer
GameBall.BLL.ViewModels.TagViewModel
object
9 properties
GameBall.Common.Model.Enums.EHttpRequestMethod
integer
GameBall.Common.Model.Challenge.ChallengeSchedule
object
1 property
GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Boolean
object
4 properties
GameBall.Common.Model.Enums.ERewardOptionTypes
integer
GameBall.Common.Model.Enums.EAchievementRankTypes
integer
GameBall.BLL.ViewModels.TransactionLineItemViewModel
object
32 properties
GameBall.Common.Model.Enums.EClientPointsSettingTypes
integer
GameBall.BLL.ViewModels.ChallengeBehaviourLocalViewModel
object
18 properties
GameBall.Common.Model.Enums.EEventLogicalOperators
integer
GameBall.BLL.ViewModels.ChallengeEventViewModel
object
11 properties 3 required
GameBall.Common.Model.Automation.ProductCollectionViewModel
object
3 properties
GameBall.Common.Connectors.PriceRuleCombinesWith
object
3 properties
GameBall.Common.Model.ChallengeConfigurations.ChallengeConfigurationsType
integer
GameBall.BLL.ViewModels.Challenges.ChildChallengeViewModel
object
8 properties
GameBall.Model.Entities.ItemComponent
object
7 properties
GameBall.Common.Model.Enums.EChallengeActivationTypes
integer
GameBall.Common.Model.Enums.EEventOperators
integer
GameBall.Common.Model.Enums.ECashbackRewardTypes
integer
GameBall.Common.Paging.PaginatedItemsViewModel_1_GameBall.BLL.ViewModels.DiscountCodeListItemViewModel
object
7 properties
GameBall.Common.ProcessResult.ProcessResultViewModel_1_GameBall.Common.Paging.PaginatedItemsViewModel_1_GameBall.BLL.ViewModels.DiscountCodeListItemViewModel
object
4 properties
GameBall.Model.Entities.BudgetDetails
object
1 property
GameBall.BLL.ViewModels.PlayerAttributePaymentMethodViewModel
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

gameball-discountcodes-api-openapi.yml Raw ↑

Other APIs Gameball publishes across the network.

Gameball MCP Server
Gameball API
Gameball Integrations API
Gameball Actions API
Gameball AI API
Gameball Alerts API
Gameball Analytics API
Gameball Audience API
Gameball Audit API
Gameball Audit Runs API
Gameball Aws Marketplace API
Gameball Billing API
Where this information came from

This is an independent, third-party profile of Gameball Discount Codes API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.