Giftbit MCP by usefulapi

v1.6.1
io.usefulapi/giftbit Checked 3 days ago Published 2 days ago

Browse reward brands, order and cancel rewards, resend emails and check balances in Giftbit.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

giftbit_list_brands List reward brands

List reward brands with brand_code, name, image and allowed price. Use the brand_code in an order. Filter by region, currency, price range, search text or embeddable. GET /brands.

ParameterTypeDescription
currencyisocodestringCurrency of the brand prices.
embeddablebooleanOnly brands usable for embedded rewards.
limitintegerResults per page (Giftbit default 20).
max_price_in_centsinteger
min_price_in_centsinteger
offsetintegerResults to skip (Giftbit default 0).
regionintegerRegion id (from giftbit_list_regions).
searchstringSearch text in the brand name.

giftbit_get_brand Get a reward brand

Get extended information for one brand: allowed prices, terms and disclaimer. GET /brands/{brand_code}.

ParameterTypeDescription
brand_code *stringThe brand_code (from giftbit_list_brands).

giftbit_list_regions List regions

List the regions. A region id filters brands and requests a Full Catalog reward (every brand in the region). GET /regions.

giftbit_list_rewards List rewards

List rewards ordered earlier through the API, with recipient, price, brand, delivery and redemption status. Dates are Pacific time. GET /gifts.

ParameterTypeDescription
campaign_idstringOnly rewards of this order id.
created_date_greater_thanstringCreated on or after this date.
created_date_less_thanstringCreated before this date.
delivery_statusstringEmail delivery status.
limitintegerResults per page (Giftbit default 20).
offsetintegerResults to skip (Giftbit default 0).
orderstringSort direction (Giftbit default desc).
recipient_emailstringOnly rewards for this recipient email.
sortstring
statusstringReward status.

giftbit_get_reward Get a reward

Get one reward by its uuid: recipient, price, brand, delivery and redemption status. GET /gifts/{uuid}.

ParameterTypeDescription
uuid *stringThe reward uuid (from giftbit_list_rewards or an order response).

giftbit_get_order Get an order

Get the status of an order (email or shortlink), with its contacts, price, brand codes and delivery counts. GET /campaign/{id}.

ParameterTypeDescription
id *stringThe order id you supplied, or the order uuid Giftbit assigned.

giftbit_get_funds Get account funds

Get the account balance by currency. Adding funds is not offered here: do it in the Giftbit web interface. GET /funds.

giftbit_create_email_reward Order an email reward

ORDERS A REWARD AND CHARGES THE ACCOUNT. Giftbit emails the reward to one recipient. Give brand_codes, region or gift_template, plus price_in_cents. Without gift_template, message and subject are required. In Testbed the email goes to the account owner, not the recipient. POST /campaign.

ParameterTypeDescription
confirm *objectRepeat the order values exactly (brand, price, recipient, count). Show these values to the user and get their OK first.
order_id *stringYour unique id for this order. Reuse it only to retry the same order; a new id makes a new order.
price_in_cents *integerReward value in cents, for example 2500 for 25.00.
recipient_email *stringThe one recipient email address.
brand_codesarrayOne or more brand_code values from giftbit_list_brands. Several codes let the recipient pick one.
expirystringLast claim date (yyyy-mm-dd, at most one year away). Makes a promotional reward.
firstnamestringRecipient first name.
gift_templatestringGiftbit template id (uppercase identifier from the web interface).
lastnamestringRecipient last name.
messagestringEmail message (required without gift_template).
regionstringRegion id for a Full Catalog reward (from giftbit_list_regions).
subjectstringEmail subject (required without gift_template).

giftbit_create_embedded_reward Order an embedded reward

ORDERS ONE REWARD AND CHARGES THE ACCOUNT. Returns a gift_link where the reward code is revealed at once, for in-app delivery. Embedded rewards are claimed at once and cannot be cancelled. POST /embedded.

ParameterTypeDescription
brand_code *stringThe brand_code (from giftbit_list_brands, embeddable brands).
confirm *objectRepeat the order values exactly (brand, price, recipient, count). Show these values to the user and get their OK first.
order_id *stringYour unique id for this order. Reuse it only to retry the same order; a new id makes a new order.
price_in_cents *integerReward value in cents, for example 2500 for 25.00.

giftbit_resend_reward Resend a reward

SENDS THE REWARD EMAIL AGAIN to the recipient. Email rewards only; embedded rewards cannot be resent. PUT /gifts/{uuid}.

ParameterTypeDescription
confirm *objectRepeat the order values exactly (brand, price, recipient, count). Show these values to the user and get their OK first.
uuid *stringThe reward uuid.

giftbit_cancel_reward Cancel a reward

CANCELS A REWARD. Not possible once the recipient has claimed it; embedded rewards cannot be cancelled. DELETE /gifts/{uuid}.

ParameterTypeDescription
confirm *objectRepeat the order values exactly (brand, price, recipient, count). Show these values to the user and get their OK first.
uuid *stringThe reward uuid.