Brevo · Schema
loyaltyProgram
MarketingMarketing AutomationEmail MarketingTransactional EmailSMS MarketingWhatsAppCampaignsCRMSalesE-CommerceLoyaltyEventLive ChatEmailSMSAutomationMessagingContacts
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Loyalty Program unique identifier. |
| name | string | Loyalty Program name. |
| description | string | Loyalty Program description. |
| meta | object | Loyalty Program metadata. |
| state | object | Current state of the loyalty program. |
| subscriptionPoolId | string | Loyalty Program subscription pool ID. |
| subscriptionGeneratorId | string | Loyalty Program subscription generator ID. |
| pattern | string | Subscription code pattern. |
| codeCount | integer | Number of available subscription codes. |
| documentId | string | Associated document identifier. |
| birthdayAttribute | string | Contact attribute name used for birthday tracking. |
| createdAt | string | Timestamp when the loyalty program was created. |
| updatedAt | string | Timestamp when the loyalty program was last modified. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-loyalty-program-schema.json",
"title": "loyaltyProgram",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/brevo-program-api-openapi.yml#/components/schemas/loyaltyProgram",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Loyalty Program unique identifier."
},
"name": {
"type": "string",
"description": "Loyalty Program name."
},
"description": {
"type": "string",
"description": "Loyalty Program description."
},
"meta": {
"type": "object",
"additionalProperties": {
"description": "Any type"
},
"description": "Loyalty Program metadata."
},
"state": {
"$ref": "#/$defs/LoyaltyProgramState",
"description": "Current state of the loyalty program."
},
"subscriptionPoolId": {
"type": "string",
"format": "uuid",
"description": "Loyalty Program subscription pool ID."
},
"subscriptionGeneratorId": {
"type": "string",
"format": "uuid",
"description": "Loyalty Program subscription generator ID."
},
"pattern": {
"type": "string",
"description": "Subscription code pattern."
},
"codeCount": {
"type": "integer",
"format": "int64",
"description": "Number of available subscription codes."
},
"documentId": {
"type": "string",
"format": "uuid",
"description": "Associated document identifier."
},
"birthdayAttribute": {
"type": "string",
"description": "Contact attribute name used for birthday tracking."
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the loyalty program was created."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the loyalty program was last modified."
}
},
"$defs": {
"LoyaltyProgramState": {
"type": "string",
"enum": [
"inactive",
"active",
"draft"
],
"description": "Current state of the loyalty program.",
"title": "LoyaltyProgramState"
}
}
}
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/brevo-loyalty-program"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.