
Please only use the endpoints specified in this document. Using any other
endpoints will cause issues with your client.
What You Need
Retrieve your API Key, Currency ID, and Organization ID from the admin dashboard.Authentication
All API endpoints require authentication using an API key, which must be included in the request headers. Include your API key in the x-api-key header as shown below:Base URL
For development and testing purposes, you can use the following base URL:Custom Hostname Configuration
You have two options for configuring your production API base URL:- Your Own Domain
- Snag-Hosted Domain
Configure a subdomain on your own domain (e.g.,
api.yourwebsite.com or loyalty.yourwebsite.com):- Choose your desired subdomain
- Add a CNAME record pointing to your Snag platform
- Configure the hostname in the admin dashboard
Learn more about custom domain setup
Detailed instructions for configuring CNAME records and hostname setup.
Rate Limits & Hostname Configuration
Learn about rate limits for different hostname configurations and best practices for avoiding rate limit issues.
Related pages
SDK Reference
TypeScript SDK for type-safe access to Snag APIs.
Rate Limits
Understand rate limiting and hostname-based limits.
Loyalty Overview
Configure reward programs and automate incentives.
User Authentication
Set up wallet, email, and social login for your platform.