E-commerce integrations
OpenPass API Documentation
OpenPass provides API workflows for creating, distributing, updating, scanning, and analyzing Apple Wallet and Google Wallet passes for business loyalty, coupons, tickets, and customer engagement.
| Capability | OpenPass support |
|---|---|
| Wallet platforms | Apple Wallet and Google Wallet |
| Distribution | QR code, email, wallet save links, and API workflows |
| Languages | English, French, Spanish, and Arabic |
Authentication
OpenPass API requests use API keys generated inside the dashboard. Keep keys server-side and rotate them if they are exposed.
Pass creation
Use the pass APIs to create Apple Wallet and Google Wallet passes from templates, customer data, and distribution settings.
Distribution
Passes can be distributed with QR codes, email, direct wallet save links, and backend API workflows.
Scanning and analytics
Scanner workflows validate QR codes and record install, scan, redemption, and engagement events for analytics.
Quick start
Send the API key as a bearer token from your server. Replace the placeholders below with the key and template shown during setup.
1. List templates
curl --request GET \
--url https://openpass.ma/api/v1/templates \
--header "Authorization: Bearer $OPENPASS_API_KEY"2. Create a pass
curl --request POST \
--url https://openpass.ma/api/v1/passes \
--header "Authorization: Bearer $OPENPASS_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"templateId": "YOUR_TEMPLATE_ID",
"data": {
"member": "API Test Customer",
"memberSince": "Jul 2026",
"points": 0,
"lifetimePoints": 0,
"tier": "Member"
},
"sync": true
}'Need implementation help?
Contact support with your pass type, expected pass volume, and integration system so the team can recommend the right API workflow.
Contact support