Home / Servers / Brevo API / validate_reward

Validate a reward

An MCP tool from the Brevo API server, hosted on mcp.hjlabs.in.

Validate a reward Validates a reward. [POST /loyalty/offer/programs/{pid}/rewards/validate]

Name on the gateway: brevo_api__validate_reward · may change things.

Parameters

NameTypeDescription
pid requiredstringLoyalty Program ID
attributedRewardIdstringUnique identifier for the attributed reward
codestringValidation code for the reward
contactIdintegerUnique identifier for the contact
loyaltySubscriptionIdstringIdentifier for the loyalty subscription
pointOfSellIdstringIdentifier for the point of sale
rewardIdstringUnique identifier for the reward

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__validate_reward",
  "arguments": {
    "pid": "…"
  }
}

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 validate a reward tool with pid set to ….

More from Brevo API