“Your system triggers the gift, Snappy handles the experience, the recipient chooses what they want.” Use this recipe when you want to:Documentation Index
Fetch the complete documentation index at: https://docs.snappy.com/llms.txt
Use this file to discover all available pages before exploring further.
- Notify a recipient and let them select their own gift from a Collection.
- Send a specific gift but don’t have the recipient’s shipping address upfront.
- Employee Recognition & Retention.
- Sales Lead Nurturing.
- Client Onboarding & Appreciation.
Overview
In this model, your system is responsible for creating the Gift. Snappy then takes over — notifying the recipient, presenting the gift experience, collecting their address, and fulfilling the order. Your integration only needs to handle two things:- Creating the gift
- Listening for status updates via Webhooks.
Setting Up Your API Client
Before making any API calls, initialize your HTTP client with your API key. This setup is used throughout all steps below.Step 1: Identify your Campaign
Every gift is created within a Campaign. Before making any API calls, you need the id of the Campaign you want to send under. If you haven’t created a Campaign yet, you can do so either through the Snappy Dashboard or via the API using POST /campaigns. When created via the API, the Campaign is automatically assigned the Account’s default Billing Method. Your Campaign should already have a Collection or Product assigned, along with your preferred Gift Customization settings. Endpoint: GET /campaigns — use this to retrieve your Campaign list and confirm the correct id.Step 2: Create the Gift
Call POST /gifts with your Campaign ID and recipient details. This is the core action that initiates the entire gifting flow.Step 3: Recipient Claims the Gift
This step happens entirely within Snappy’s recipient experience — no API calls required from your side.
Step 4: Track Status via Webhooks
Rather than polling the API, listen for Webhook events to track the gift as it moves through its lifecycle. Key events to handle:| Event | Meaning |
|---|---|
| gift-notification-initial-sent | The gift notification has been sent to the recipient |
| gift-status-changed (status: opened) | Recipient viewed the available gift options |
| gift-status-changed (status: claimed) | Recipient selected their gift and provided their details |
| gift-delivery-status-changed (status: orderReceived) | Order has been placed with the fulfillment partner |
| gift-delivery-status-changed (status: inTransit) | Product has shipped |
| gift-delivery-status-changed (status: delivered) | Product has reached its final destination |
Full Flow Summary
- GET /campaigns → retrieve your campaign ID.
- POST /gifts → create the gift, get back the claim link.
- [Snappy notifies recipient] → [Recipient selects gift] → Snappy generates the Order automatically.
- Webhooks → track gift and order status updates.