Home / Servers / Brevo API / subscribe_to_loyalty_program
Create subscription
An MCP tool from the Brevo API server, hosted on mcp.hjlabs.in.
Create subscription Subscribes to a loyalty program [POST /loyalty/config/programs/{pid}/subscriptions]
Name on the gateway: brevo_api__subscribe_to_loyalty_program · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
pid required | string | Loyalty Program ID. A unique identifier for the loyalty… |
contactId required | integer | Required contact ID; must be greater than 0. |
loyaltySubscriptionId | string | Optional subscription ID (max length 64). |
creationDate | string | Optional creation date in ISO 8601 format (YYYY-MM-DDThh:mm:ss.ffffff+HH:MM).… |
meta | object | Optional metadata associated with the subscription. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "brevo_api__subscribe_to_loyalty_program",
"arguments": {
"pid": "…",
"contactId": 0
}
}Or connect the Brevo API server directly, which lists 291 tools including this one:
claude mcp add --transport http hj-brevo-api https://mcp.hjlabs.in/mcp/brevo-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the create subscription tool with pid set to ….