<link rel="stylesheet" href="https://giftbit.cloudfworkers.workers.dev/hubfs/hub_generated/template_assets/1/170721122877/1774631061358/template_custom-styles.min.css">
Skip to main content

NEW 2026 INCENTIVES TREND REPORT   READ NOW

Intro copy

Giftbit has dedicated technical and business resources to help you understand which implementation path is right for your integration. Email sales@giftbit.com to get assistance with your project.

Providing feedback on the API documentationThe Giftbit team makes heavy use of external APIs ourselves, and we know how frustrating it can be when the documentation is unclear or doesn't match the actual API behaviour. If you find any such problems with ours, don't hesitate to let us know via testbed@giftbit.com.


API Questions

Does the Giftbit API provide gift card images?

Yes! 🖼️✨ The Giftbit API provides access to gift card images for each brand in the catalog. When you call the GET /brands endpoint, you’ll get back details for each available brand—including the image URL for that gift card—so you can show recipients a visual preview in your app, Discord bot, or website.

This makes it easy to create a visually engaging rewards experience for your users, where they can actually see what they’re choosing or receiving.

Do we lock out the money when we generate a link for members to cash-out?

Yes, when you generate a Giftbit link for a member to cash out, the funds are immediately reserved (or “locked”) for that specific reward. This ensures that the value is set aside from your account balance the moment the link is created, so recipients can claim their reward at any time without any risk that the money won’t be available. 👍

This approach guarantees a seamless redemption experience and prevents those funds from being spent elsewhere until the link is claimed or expires.

 

Is there an API request to find out what regions Giftbit can serve?

Yes! Giftbit provides a dedicated API endpoint to return the full list of regions you can use to filter available reward brands:

You can use the following endpoint:

  • GET /regions

This request will return all supported regions, which you can use to determine where Giftbit can send rewards via the API. 🌍

Can you list the specific regions supported by Giftbit's /regions API endpoint?

Giftbit's /regions API endpoint includes regions covering North America, South America, Europe, Asia, Africa, and Oceania. Some of the main supported countries/regions are:

  • USA, Canada, Mexico
  • Brazil, Argentina, Peru
  • Great Britain, Ireland, France, Italy, Spain, Germany, Netherlands, Sweden, Poland, Austria, Belgium, Switzerland, Norway, Denmark, Finland, Luxembourg, Greece, Romania, Czechia, Portugal, Bulgaria, Hungary, Croatia
  • India, Singapore, South Korea, Malaysia, Philippines, China, Japan, Thailand, United Arab Emirates
  • South Africa
  • Australia, New Zealand

The number of countries served is always expanding. For the full, up-to-date region and brand list, always call the/regions endpoint or check the Giftbit rewards catalog.

 

Can the Giftbit API return a gift card link in real time that we imbed in our own product? We want to control the delivery.

Absolutely! Giftbit’s API can generate unique, real-time gift card links that you can embed directly into your own product—meaning you fully control the delivery channel, whether by in-app notification, SMS, DM, or any custom flow. No need for Giftbit to send the email if you don’t want!

How quickly can we get from sandbox to production?

You can move from sandbox to production in as little as a day! ⚡️ Once your integration is ready, just contact the Giftbit team to enable API access in your production account—approvals are typically completed within 24 hours (during regular business periods). 

When you're ready to signal production readiness, just contact sales@giftbit.com. The Giftbit team will enable permissions to generate an API token in your production account.

When I create a direct link, how can I get the reward uuid? FLAG

You can retrieve the reward UUID after creating a direct link by making a GET request to the /links/{id} endpoint, using the unique ID you supplied in your original API request. The response will include the reward URLs and associated UUIDs for each generated link, helping you track and manage every individual reward easily. 

Note: the /links/{id} endpoint response for direct links gives you the URLs to the rewards but does not explicitly include the reward UUID in that response. 

If you need the reward UUID, you should:

  • Use the /gifts endpoint to list or retrieve detailed info about all rewards associated with your order. Each gift object will contain its unique UUID along with other details, making it easy to match up rewards with the direct links you generated. 

So, after creating your direct links:

  • Call GET /gifts to fetch all reward details—each with its UUID.

If you need more technical help mapping links to UUIDs, let me know!

So I can either receive a URL and send it via my own email service or create an email template on giftbit and ask it to send the url to the user via that email?

Absolutely! You’ve got both options with Giftbit 🚀

  • You can receive a unique URL (“Giftbit link”) and deliver it however you like—through your own email service, text, Slack, CRM, social DM, or even QR code source.
  • Or, you can create a custom email template in Giftbit and have Giftbit send the email (with the reward link and messaging) directly to the recipient for you source.

Both methods give you flexibility and full tracking! 🎉

 

Do you integrate with Rails?

Giftbit’s RESTful API is compatible with Ruby on Rails and allows you to send, track, and manage digital rewards directly from your Rails app. You’ll just need to make HTTPS requests to Giftbit’s API endpoints using common Ruby HTTP libraries (like Net::HTTP or faraday). All endpoints are well-documented, support JSON, and offer clear error handling for smooth integration source.

  • Set up an API token in Giftbit.
  • Use your Rails app to POST/GET/DELETE to https://api.giftbit.com/papi/v1 (production) or /api-testbed.giftbit.com/papi/v1 (sandbox) with Bearer authentication.
  • Leverage endpoints for issuing rewards, fetching catalog options, reporting, or tracking redemptions.

For developer-friendly docs and setup info, see the Giftbit API basics guide.

Full endpoint specs: source

 

Flexible Tools

So I can either receive a URL and send it via my own email service or create an email template on giftbit and ask it to send the url to the user via that email?

Absolutely! You’ve got both options with Giftbit 🚀

  • You can receive a unique URL (“Giftbit link”) and deliver it however you like—through your own email service, text, Slack, CRM, social DM, or even QR code source.
  • Or, you can create a custom email template in Giftbit and have Giftbit send the email (with the reward link and messaging) directly to the recipient for you source.

Both methods give you flexibility and full tracking! 🎉

I mean in my API call, how do I indicate which template to be used

You can specify the template in your API call using the
gift_template
field! ⚡
Just include the unique template ID in the
gift_template
parameter when creating your reward order via the API.
This tells Giftbit exactly which template (and all its associated branding, messaging, and reward options) to use for that order—so you don’t have to rebuild the content for every send source.
For example:

{
  "gift_template": "YOUR_TEMPLATE_ID",
  ...
}
It’s a super easy way to keep your content organized and consistent! 🎯

okay, and do I send the variables that I want embedded in the email?

Yes! You can pass variables like recipient name in your API call, and Giftbit will automatically embed them in your template using tokens (like

) 😃
For example, include fields such as
firstname
or
email
in the contact data within your API call.
Giftbit will substitute these variables in the template wherever you use tokens—so your emails stay personal and dynamic source.
No extra magic needed—Giftbit does the merge for you! ✉️✨

where do I include the fields, under a specific key in the request body? or in the root in the request body?

You’ll include these fields as part of each contact object, inside the contacts array in your API request body! 👇
Each contact is an object within the
contacts
array, using keys like
email
,
firstname
, and
lastname
(if desired).
Example:
{
  "gift_template": "YOUR_TEMPLATE_ID",
  "contacts": [
    {
      "email": "jane@example.com",
      "firstname": "Jane",
      "lastname": "Doe"
    },
    {
      "email": "bob@example.com",
      "firstname": "Bob"
    }
  ]
}
Giftbit pulls these values and merges them into your template for each recipient! source 🎉

I'm confused, multiple contacts means multiple emails sent out?

That’s exactly right—the

contacts

array lets you send the same reward to multiple recipients at once! 📧📧📧

  • Each contact in the array receives their own customized reward email, using the template you specify.
  • Personalized details (like name or custom message) are merged for each recipient, and delivery/tracking is managed individually for every contact source.

It’s super efficient for sending in bulk—one API call, multiple personalized rewards! 🚀

how do I create an email template in giftbit?

Creating an email template in Giftbit is super simple! 📝✨

  • Log in to your Giftbit account and go to the Templates section.
  • Click “New Template” and fill out the details: template name, subject, logo, company name, message body, reward selection, value, and region.
  • Personalize the message with tokens like
    and even use emojis for extra flair!
  • Save your template—this generates a unique template ID you’ll use in your API calls source.

You’re ready to use it for sending rewards or API automations! 🎉

what if I want my value to be decided in real time

No problem! You can set the reward value dynamically at send time, even if your template has a default value. ⚡️
When using the API, just specify the value you want for each recipient in your API call, instead of relying on the template’s default value.
The value you send in the request will override the template’s value for that particular send source.
This gives you complete flexibility to personalize reward amounts in real time! 💸🎯

Do I need to create a campaign before I make direct link requests?

Nope, you do not need to create a campaign first for direct link requests! 🚀

With Giftbit’s API, you can generate direct link rewards immediately by making a
POST
request to the
/direct_links
endpoint.
Just include the necessary info (e.g.,
price_in_cents
,
brand_codes
, or
region
, plus your unique
id
), and it will generate the links in real-time—no separate campaign setup required source.
Super fast and flexible! 🎯

okay. How do I create a campaign?

Creating a campaign in Giftbit is as easy as making a
POST
request to the
/campaign
endpoint! 📨
Use
POST https://api.giftbit.com/papi/v1/campaign
(or the testbed equivalent).
Include required keys in your JSON body, such as:
contacts
: an array of recipient objects (with at least
email
)
Optionally,
gift_template
(the template ID)
Or, specify
price_in_cents
+
brand_codes
for your custom setup
Add optional settings like
expiry
,
subject
, or custom message
Here’s a simple example:

{
  "contacts": [
    {
      "email": "jane@example.com",
      "firstname": "Jane"
    }
  ],
  "gift_template": "YOUR_TEMPLATE_ID",
  "price_in_cents": 500,
  "brand_codes": ["amazonus"],
  "id": "youruniqueid123"
}
A campaign lets you send personalized reward emails using your chosen template and reward settings—it’s perfect for bulk and automated sending! 

Can you explain best practices for setting up expiration dates on rewards in a Giftbit campaign?

Best practices for setting up expiration dates (“claim-by” dates) on Giftbit rewards 👇

  • Use claim-by dates (“expiry”) for promotions: Promotions, demo incentives, or limited-time offers benefit from a set expiry, which creates urgency and helps manage costs if rewards go unclaimed source.
  • Leave no expiry for earned rewards: For employee recognition, loyalty, or payouts earned by recipients, skip the expiry—this feels fair and builds trust source.
  • Set realistic windows: Typical expiry periods range from 30–90 days, but you can choose from 1 to 365 days to fit your campaign.
  • Send reminders: Giftbit automatically sends a reminder email 30 days before the expiry if the claim window is longer than 30 days source.
  • Partial credit on unclaimed promotional rewards: With promotional rewards, you get partial credit back on unclaimed value, which helps stretch your budget source.

⚡ Choose expiries to match your goals—urgency for promos, endless access for appreciation!

what are the request body mandatory fields for creating a direct link

The mandatory fields for creating a direct link with the Giftbit API are:
price_in_cents
: The reward value in cents (e.g., 500 = $5.00).
Either:
brand_codes
: An array of brand codes offered (for custom brand selection),
OR
region
: The region code (for full catalog choice in a given geographic area).
id
: A unique identifier for your request (ensures idempotency and tracking).
Here’s a minimal example:

{
  "price_in_cents": 1000,
  "brand_codes": ["amazonus"],
  "id": "unique-direct-link-id-001"
}
OR for a full-catalog region-based link:

{
  "price_in_cents": 1000,
  "region": "US",
  "id": "unique-direct-link-id-002"
}
These fields are required; all other fields are optional!

can we batch create direct links?

Yes, you can batch create direct links in a single API call! 🎉
Use the
link_count
field in your
/direct_links
POST request to specify how many direct links you want to generate at once.
You do not need to provide a contacts array—just set your desired
link_count
along with the usual fields like
price_in_cents
,
brand_codes
or
region
, and
id
.
Example:

{
  "price_in_cents": 500,
  "brand_codes": ["amazonus"],
  "link_count": 10,
  "id": "your-batch-id-001"
}
This will return 10 unique direct links, ready for you to deliver any way you like!

📨 The TL;DR: Manual vs. Automated Gift Card Programs:

NOTE, I've been liking this for TLDR lately -  a section right after the intro, demarcated by a horizontal line (which you can find under 'Insert'

  • Kill the "Time Suck": Stop losing 25% of your work week to spreadsheets and CVS runs; professional fulfillment automates the "logistical nightmare" of manual rewards.
  • Scale Without Limits: Ditch retail purchase caps and "brand guessing" by using a card platform that offers 1,000+ global brands with one-click delivery.
  • Reclaim Your Budget: Many egift card providers hide "breakage" (unclaimed rewards) for profit; choose a partner that offers real-time data so you can nudge recipients or recoup costs.

 

Flexible Tools

how would I implement this api with a discord bot that would allow users to trade in discord points for actual rewards

How to Implement Giftbit API with a Discord Bot for Rewards

Absolutely, you can use Giftbit’s API to let users in your Discord server trade points for real rewards! Here’s a high-level overview of what that might look like: 🎮✨

  • Bot Workflow: Users collect points in Discord. When they redeem points, your bot triggers an API call to Giftbit to order a digital reward (e.g., gift card, prepaid card).
  • Integration Approach: Develop your Discord bot in a language like Python or Node.js, use your standard Discord bot framework, and then integrate Giftbit’s RESTful API endpoints into your bot’s backend logic.
  • Order Rewards: When a user redeems points, your bot calls the Giftbit API (e.g., POST to the /campaign or /direct_links endpoint) with reward info and the recipient’s email or generates a reward link you can DM to the user.
  • Deliver the Reward: DM the reward link or code directly to the Discord user within the bot—super simple and immediate!

Giftbit’s API is developer-friendly, and you can use its sandbox to test everything before going live. For full technical docs and tips, you can check out Giftbit’s API documentation or reach out to Giftbit’s support team for help with your specific use case source.

Bonus: Giftbit even lets you white-label the experience, customize reward catalogs, and track reward status, giving your Discord community a seamless redemption journey! 🎁🚀

does the api provide GC images ?

Yes! 🖼️✨ The Giftbit API provides access to gift card images for each brand in the catalog. When you call the GET /brands endpoint, you’ll get back details for each available brand—including the image URL for that gift card—so you can show recipients a visual preview in your app, Discord bot, or website (source).

This makes it easy to create a visually engaging rewards experience for your users, where they can actually see what they’re choosing or receiving! 🎉

 

Theme Support Right Out of The Box

Time is money. Save more of it.

Sprocket Rocket Theme helps you save countless hours by making sweeping charges across your entire site instantly.


Sample Table: 

Feature

Manual Fulfillment

Professional Card Platform

Effort

Hours in spreadsheets

 Automated and scheduled delivery

Access

Retail purchase limits

Unlimited global scaling

Choice

You guess the brand, and your recipients are locked into it

Recipients pick their own brand

Visibility

"Sent and forgotten"

Real-time claim tracking

Budget

Lost to unclaimed cards

Reclaimable "breakage" value

 

 


Similarly, you can use those horizontal lines to make little call-out section like this one. 

Case Study: How (and why) Prime46 killed the spreadsheet

The Problem 👉 Research firm Prime46 uses gift card incentives to drive survey participation. Originally, their project manager was buying Amazon codes manually and tracking them in a spreadsheet—a major time-suck for a firm that bills clients hourly.

The Pivot The Pivot 👉  They integrated a gift card API into their survey software. With just 48 hours of dev time, they automated the entire workflow:

  • Instant Delivery: Rewards send automatically upon survey completion.
  • Full Visibility: Tracking and invoices live in one centralized dashboard.
  • No Manual Work: No more spreadsheets, lost codes, or tedious follow-ups.

The Result 👉 The manager now reclaims up to 10 hours weekly, shifting focus from administrative legwork to high-level project strategy.

👉 Read the case study.


 

Here's another call out section (this one is called 'blockquote') 

And another call out section (this one is called 'pre')

 

Sample quote sections:

Leif-1💬 “One important decision Giftbit made early on was to be transparent about promotional offers.,” says Leif Baradoy, Giftbit CEO. “We made it clear that promotional offers have unused value and we enabled customers to get unused value back. This decision felt straightforward and obvious at the time and has now become more standard across the industry.”

 

💬 “We’re endeavoring to make a pretty complicated niche industry clear and understandable for our customers,” says Nat Salvione, Giftbit CCO. “We believe we shouldn’t hide what we’re getting, so that our customers know what they’re getting, too. Digital gift cards simply work the best for most businesses, and if your program is transparent and we make it easy to send, you’ll keep using us.”

 

Graphics to use when needed/appropriate:

retail

prepaid

charity

woman on phone brands-2

man on phone visa and mastercard

starbucks call api woman on phone

woman on phone brands (smile1)

 

cell phone displaying gift card brands available for redemption, including Apple, Amazon, and Target

Good for Canadian related posts:
cell phone with canadian gift card options displayed no shadow-1

 

CTA sectionGiftbit provides transparent bulk digital gift card fulfillment services to companies and organizations of all sizes. Book some time to learn more.  

Start sending digital gift cards today

Check out the Giftbit Overview to learn how, or create a free account to see how easy it really is.

Create account

1
Create an account

No cost to access, no minimums or special subscriptions.

2
Upload contacts
Upload from a csv. file and include the employee's name and email.
3
Send

Send or schedule delivery to global recipients recipients.

Emily Byrne
Post by Emily Byrne
April 2, 2026
Giftbit Content Marketing and SEO Strategist