Ranla · Schema
CreateAffiliateCampaignRequest
Artificial IntelligenceMarketingGrowthSoftware-as-a-ServiceAutomationCompany
Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| description | stringnull | |
| visibility | string | |
| auto_approve | boolean | |
| commission_type | string | |
| commission_bps | integer | |
| commission_flat_cents | integer | |
| commission_duration | string | |
| recurring_months | integernull | |
| max_commission_cents | integernull | |
| tiers | array | |
| product_rates | array | |
| second_tier_bps | integer | |
| lead_bounty_cents | integer | |
| cookie_days | integer | |
| hold_days | integer | |
| landing_url | stringnull | |
| referee_discount_label | stringnull | |
| make_default | boolean | Make this the default campaign for new partners |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/ranla-ai/json-schema/ranla-ai-create-affiliate-campaign-request-schema.json",
"title": "CreateAffiliateCampaignRequest",
"x-generated": "2026-11-22",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/ranla-ai-openapi.yml#/components/schemas/CreateAffiliateCampaignRequest",
"type": "object",
"required": [
"name"
],
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"maxLength": 80
},
"description": {
"type": [
"string",
"null"
]
},
"visibility": {
"type": "string",
"enum": [
"public",
"private"
]
},
"auto_approve": {
"type": "boolean"
},
"commission_type": {
"type": "string",
"enum": [
"percent",
"flat"
]
},
"commission_bps": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"commission_flat_cents": {
"type": "integer",
"minimum": 0
},
"commission_duration": {
"type": "string",
"enum": [
"once",
"recurring"
]
},
"recurring_months": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 120
},
"max_commission_cents": {
"type": [
"integer",
"null"
],
"minimum": 1
},
"tiers": {
"type": "array",
"items": {
"$ref": "#/$defs/AffiliateCommissionTier"
}
},
"product_rates": {
"type": "array",
"items": {
"$ref": "#/$defs/AffiliateProductRate"
}
},
"second_tier_bps": {
"type": "integer",
"minimum": 0,
"maximum": 5000
},
"lead_bounty_cents": {
"type": "integer",
"minimum": 0
},
"cookie_days": {
"type": "integer",
"minimum": 1,
"maximum": 365
},
"hold_days": {
"type": "integer",
"minimum": 0,
"maximum": 180
},
"landing_url": {
"type": [
"string",
"null"
],
"format": "uri"
},
"referee_discount_label": {
"type": [
"string",
"null"
],
"maxLength": 120
},
"make_default": {
"type": "boolean",
"description": "Make this the default campaign for new partners"
}
},
"$defs": {
"AffiliateCommissionTier": {
"type": "object",
"required": [
"min_paid_customers"
],
"properties": {
"min_paid_customers": {
"type": "integer",
"minimum": 1
},
"commission_bps": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 10000
},
"commission_flat_cents": {
"type": [
"integer",
"null"
],
"minimum": 0
}
}
},
"AffiliateProductRate": {
"type": "object",
"required": [
"stripe_product_id",
"commission_bps"
],
"properties": {
"stripe_product_id": {
"type": "string"
},
"commission_bps": {
"type": "integer",
"minimum": 0,
"maximum": 10000
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ranla-ai-create-affiliate-campaign-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.