Giftbit MCP by usefulapi
v1.6.1Browse 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.
| Parameter | Type | Description |
|---|---|---|
currencyisocode | string | Currency of the brand prices. |
embeddable | boolean | Only brands usable for embedded rewards. |
limit | integer | Results per page (Giftbit default 20). |
max_price_in_cents | integer | |
min_price_in_cents | integer | |
offset | integer | Results to skip (Giftbit default 0). |
region | integer | Region id (from giftbit_list_regions). |
search | string | Search 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}.
| Parameter | Type | Description |
|---|---|---|
brand_code * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
campaign_id | string | Only rewards of this order id. |
created_date_greater_than | string | Created on or after this date. |
created_date_less_than | string | Created before this date. |
delivery_status | string | Email delivery status. |
limit | integer | Results per page (Giftbit default 20). |
offset | integer | Results to skip (Giftbit default 0). |
order | string | Sort direction (Giftbit default desc). |
recipient_email | string | Only rewards for this recipient email. |
sort | string | |
status | string | Reward status. |
giftbit_get_reward Get a reward
Get one reward by its uuid: recipient, price, brand, delivery and redemption status. GET /gifts/{uuid}.
| Parameter | Type | Description |
|---|---|---|
uuid * | string | The 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}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The order id you supplied, or the order uuid Giftbit assigned. |
giftbit_get_link_urls Get link URLs
Get the claim URLs of a shortlink or direct link order. The URLs are ready a short time after the order. GET /links/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The client-provided id of the link order. |
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.
| Parameter | Type | Description |
|---|---|---|
confirm * | object | Repeat the order values exactly (brand, price, recipient, count). Show these values to the user and get their OK first. |
order_id * | string | Your unique id for this order. Reuse it only to retry the same order; a new id makes a new order. |
price_in_cents * | integer | Reward value in cents, for example 2500 for 25.00. |
recipient_email * | string | The one recipient email address. |
brand_codes | array | One or more brand_code values from giftbit_list_brands. Several codes let the recipient pick one. |
expiry | string | Last claim date (yyyy-mm-dd, at most one year away). Makes a promotional reward. |
firstname | string | Recipient first name. |
gift_template | string | Giftbit template id (uppercase identifier from the web interface). |
lastname | string | Recipient last name. |
message | string | Email message (required without gift_template). |
region | string | Region id for a Full Catalog reward (from giftbit_list_regions). |
subject | string | Email subject (required without gift_template). |
giftbit_create_shortlink_order Order shortlink rewards
ORDERS REWARDS AND CHARGES THE ACCOUNT. Creates shortlink rewards (landing-page links) that you distribute yourself. No recipient is needed. Set link_count. Read them with giftbit_get_link_urls. POST /campaign with delivery_type SHORTLINK.
| Parameter | Type | Description |
|---|---|---|
confirm * | object | Repeat the order values exactly (brand, price, recipient, count). Show these values to the user and get their OK first. |
link_count * | integer | How many shortlink rewards to create. |
order_id * | string | Your unique id for this order. Reuse it only to retry the same order; a new id makes a new order. |
price_in_cents * | integer | Reward value in cents, for example 2500 for 25.00. |
brand_codes | array | One or more brand_code values from giftbit_list_brands. Several codes let the recipient pick one. |
expiry | string | Last claim date (yyyy-mm-dd, at most one year away). |
gift_template | string | Giftbit template id (uppercase identifier from the web interface). |
message | string | Landing-page message (required without gift_template). |
region | string | Region id for a Full Catalog reward (from giftbit_list_regions). |
subject | string | Reward subject (required without gift_template). |
giftbit_create_direct_link_order Order direct link rewards
ORDERS REWARDS AND CHARGES THE ACCOUNT. Creates direct links that go straight to the claim steps, with minimal Giftbit branding. Give brand_codes (one region) or region for a Full Catalog. URLs come back in the response. POST /direct_links.
| Parameter | Type | Description |
|---|---|---|
confirm * | object | Repeat the order values exactly (brand, price, recipient, count). Show these values to the user and get their OK first. |
order_id * | string | Your unique id for this order. Reuse it only to retry the same order; a new id makes a new order. |
price_in_cents * | integer | Reward value in cents, for example 2500 for 25.00. |
brand_codes | array | One or more brand_code values from giftbit_list_brands. Several codes let the recipient pick one. |
expiry | string | Last claim date (yyyy-mm-dd, at most one year away). |
link_count | integer | How many direct links to create (default 1). |
region | string | Region id for a Full Catalog reward (from giftbit_list_regions). |
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.
| Parameter | Type | Description |
|---|---|---|
brand_code * | string | The brand_code (from giftbit_list_brands, embeddable brands). |
confirm * | object | Repeat the order values exactly (brand, price, recipient, count). Show these values to the user and get their OK first. |
order_id * | string | Your unique id for this order. Reuse it only to retry the same order; a new id makes a new order. |
price_in_cents * | integer | Reward 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}.
| Parameter | Type | Description |
|---|---|---|
confirm * | object | Repeat the order values exactly (brand, price, recipient, count). Show these values to the user and get their OK first. |
uuid * | string | The 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}.
| Parameter | Type | Description |
|---|---|---|
confirm * | object | Repeat the order values exactly (brand, price, recipient, count). Show these values to the user and get their OK first. |
uuid * | string | The reward uuid. |