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.
Getting Started with the Snappy API
Welcome to the developer quickstart! This guide will help you authenticate and make your first successful API request in under 5 minutes.Step 1: Get Your API Key
The Snappy API uses keys to authenticate requests. To ensure the highest level of security, Snappy uses Granular API Permissions, meaning you should only grant the exact permissions your application needs.- Log in to your Snappy Dashboard https://login.snappy.com/login
- Navigate to Sharing & Access tab under the Company Settings page in the Snappy Dashboard.
- Scroll down to the ‘API Access’ section and enable API access for your organization (if not already enabled).
- Click ‘Create API Key’.
- Define the Scopes (e.g., Select ‘Read’ , ‘Create’ or ‘Update’ etc. based on our needs).
- Copy your new secret key. Note: For security reasons, you will only be able to see this key once.
Step 2: Authentication
Snappy uses theX-Api-Key header to authenticate requests. You must include your API key in every request like so:
Keep your key secure. Never expose it in client-side code or public repositories. If a key is compromised, rotate it immediately from the Snappy Dashboard.
Step 3: Make Your First Request
Test your connection by retrieving the API key you just created. The base URL for the Snappy API is https://api.snappy.com/public-api/v2. You can use the following cURL command in your terminal (just replace YOUR_API_KEY with your actual key):Next Steps
Now that you have successfully authenticated, you can start building out your integration. Choose the flow that matches your use case: Triggered Gifting Send a gift invitation and let the recipient choose their own item:- Set your first campaign. See Create Campaign.
- Send a demo gift to preview the full Snappy Recipient Experience. See Create Demo Gift.
- Retrieve the product catalog and browse available products and variants to display in your UI using. See Get products.