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

NameTypeDescription
pid requiredstringLoyalty Program ID. A unique identifier for the loyalty…
contactId requiredintegerRequired contact ID; must be greater than 0.
loyaltySubscriptionIdstringOptional subscription ID (max length 64).
creationDatestringOptional creation date in ISO 8601 format (YYYY-MM-DDThh:mm:ss.ffffff+HH:MM).…
metaobjectOptional 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from Brevo API