Operations 2
Documentation
Documentation
https://docs.stigg.io/api-and-sdks/integration/backend/graphql
Documentation
https://docs.stigg.io/api-and-sdks/integration/overview
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/stigg-coupons-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Stigg Coupons API
description: Stigg is a pricing and packaging platform providing feature management, entitlements, and usage-based billing for SaaS and API products. The Stigg API exposes GraphQL and REST endpoints for customer provisioning, subscription management, entitlement checking, and usage reporting. Authentication requires a Full access key passed via the X-API-KEY header.
version: '1.0'
contact:
url: https://www.stigg.io/
termsOfService: https://www.stigg.io/terms
servers:
- url: https://api.stigg.io
description: Stigg Production API
security:
- ApiKey: []
tags:
- name: Coupons
description: Coupon retrieval.
paths:
/api/v1/coupons:
get:
tags:
- Coupons
summary: List coupons
description: Retrieves a paginated list of coupons in the environment.
operationId: CouponsController_getCoupons
parameters:
- name: after
required: false
in: query
schema:
format: uuid
type: string
- name: before
required: false
in: query
schema:
format: uuid
type: string
- name: limit
required: false
in: query
schema:
minimum: 1
maximum: 100
default: 20
type: integer
- name: X-ACCOUNT-ID
in: header
required: false
schema:
type: string
- name: X-ENVIRONMENT-ID
in: header
required: false
schema:
type: string
responses:
'200':
description: A paginated list of coupon objects.
content:
application/json:
schema:
$ref: '#/components/schemas/CouponListResponseDto'
'401':
description: User is not authenticated.
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthenticatedErrorResponseDto'
'403':
description: User is not allowed to access this resource.
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenErrorResponseDto'
'429':
description: Too many requests.
content:
application/json:
schema:
$ref: '#/components/schemas/TooManyRequestsErrorResponseDto'
/api/v1/coupons/{id}:
get:
tags:
- Coupons
summary: Get coupon by ID
description: Retrieves a coupon by its unique identifier.
operationId: CouponsController_getCoupon
parameters:
- name: id
required: true
in: path
description: The unique identifier of the coupon
schema:
minLength: 1
maxLength: 255
type: string
- name: X-ACCOUNT-ID
in: header
required: false
schema:
type: string
- name: X-ENVIRONMENT-ID
in: header
required: false
schema:
type: string
responses:
'200':
description: The coupon object.
content:
application/json:
schema:
$ref: '#/components/schemas/CouponResponseDto'
'401':
description: User is not authenticated.
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthenticatedErrorResponseDto'
'403':
description: User is not allowed to access this resource.
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenErrorResponseDto'
'404':
description: Coupon not found.
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundErrorResponseDto'
'429':
description: Too many requests.
content:
application/json:
schema:
$ref: '#/components/schemas/TooManyRequestsErrorResponseDto'
components:
schemas:
CouponDto:
type: object
properties:
id:
type: string
description: Coupon identifier.
name:
type: string
description: Coupon display name.
discountValue:
type: number
description: Discount amount or percentage value.
discountType:
type: string
enum:
- PERCENTAGE
- FIXED
description: Whether discount is a percentage or fixed amount.
currency:
type:
- string
- 'null'
description: Currency for fixed-amount coupons.
maxRedemptions:
type:
- integer
- 'null'
description: Maximum number of times this coupon can be redeemed.
redemptionsCount:
type: integer
description: Number of times this coupon has been redeemed.
isArchived:
type: boolean
description: Whether this coupon is archived.
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
required:
- id
- discountValue
- discountType
- createdAt
- updatedAt
description: A discount coupon.
ForbiddenErrorResponseDto:
type: object
properties:
message:
type: string
code:
type:
- string
- 'null'
enum:
- IdentityForbidden
- AccessDeniedError
- NoFeatureEntitlementError
required:
- message
- code
description: Authorization error response.
UnauthenticatedErrorResponseDto:
type: object
properties:
message:
type: string
code:
type:
- string
- 'null'
enum:
- Unauthenticated
required:
- message
- code
description: Authentication error response.
CouponResponseDto:
type: object
properties:
data:
$ref: '#/components/schemas/CouponDto'
required:
- data
description: Single coupon response.
NotFoundErrorResponseDto:
type: object
properties:
message:
type: string
code:
type:
- string
- 'null'
required:
- message
- code
description: Resource not found error response.
CouponListResponseDto:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/CouponDto'
pagination:
$ref: '#/components/schemas/PaginationDto'
required:
- data
- pagination
description: Paginated list of coupons.
PaginationDto:
type: object
properties:
next:
type:
- string
- 'null'
format: uuid
description: Cursor for fetching the next page of results, or null if no additional pages exist.
prev:
type:
- string
- 'null'
format: uuid
description: Cursor for fetching the previous page of results, or null if at the beginning.
required:
- next
- prev
description: Pagination metadata including cursors for navigating through results.
TooManyRequestsErrorResponseDto:
type: object
properties:
message:
type: string
code:
type:
- string
- 'null'
enum:
- RateLimitExceeded
required:
- message
- code
description: Rate limit exceeded error response.
securitySchemes:
ApiKey:
type: apiKey
in: header
name: X-API-KEY
description: Full access key from the Stigg dashboard (Integrations > API keys).