14. API & इंटीग्रेशंस

The API & इंटीग्रेशंस अनुभाग contains tools for programmatic integration of 7stamp with your external systems — CRM, POS, ERP, analytics, messenger bots.
API Keys
The main page of the अनुभाग is the API key list. Columns:
- Name — key name (usually matches the linked स्टाफ name).
- Login — the स्टाफ login the key is tied to.
- API Key — the key itself (starts with
7loc_sc_..., hidden by default, copyable with one click). - Status —
Active. - 🔄 — regenerate the key.
- 🗑️ — delete the key.
Creating an API key

Tap + ADD API KEY — the Generate API Key popup opens:
- स्कैनर — dropdown to pick the स्टाफ Login the key will be bound to (one स्टाफ can have one key).
- Buttons CANCEL / GENERATE.
After GENERATE the key is created and appears in the list. Copy it immediately — the full key may not be shown again.
What you can do via the API
- Issue a कार्ड to a ग्राहक by email/phone.
- Add a स्टैम्प to a specific ग्राहक.
- Issue a voucher (templated or custom, with Redeem Code).
- Redeem a voucher (if you work via your own POS).
- पढ़ें state of the कार्ड, progress, history.
- Subscribe to Webhooks to receive events in real time.
Webhooks
Webhooks send कार्ड events to an external system. सहायताed (see the event glossary):
कार्ड_issued,कार्ड_saved,कार्ड_opened.स्टैम्प_added.goal_reached,रिवॉर्ड_issued.voucher_issued,voucher_redeemed,voucher_expired.lottery_played(with the result).birthday_reached.inactivity_trigger.अभियान_sent.
Webhook payload example
{
"event": "voucher_redeemed",
"timestamp": "2026-05-11T12:34:56Z",
"व्यवसाय_id": "b_123",
"location_id": "loc_45",
"ग्राहक": {
"id": "c_789",
"वॉलेट_pass_id": "wp_abc",
"language": "en"
},
"कार्ड": { "id": "कार्ड_001", "goal_index": 2 },
"voucher": {
"id": "v_555",
"type": "voucher",
"redeem_code": "FREECOFFEE",
"redeem_code_formats": ["text", "qr", "barcode"],
"status": "redeemed",
"redeemed_via": "स्टाफ_scanner"
}
}
Ready-made POS integrations
- Poster — ready-made integration, connects in a few clicks.
- Serve — ready-made integration.
- Other tills — made on request. Free if technically feasible (i.e., your till exposes an खोलें API or Webhooks).
Messenger broadcasts via 7loc.com
For WhatsApp, Telegram, Viber broadcasts, the 7loc.com integration is connected. Once active, the “messengers” channel becomes available in कैंपेन अगला to PUSH and Email.
नहीं-code scenarios: Zapier and Make
7stamp API + Webhooks work with Zapier and Make (Integromat), letting you build scenarios without coding:
- “When
voucher_redeemed— add a tag in Mailchimp”. - “When
goal_reached— send a notification to Slack”. - “When
birthday_reached— बनाएँ a task in CRM”.
दृश्य मार्गदर्शिका
Use the screen sets below as a visual companion to the लेख. खोलें any image to inspect it at full size.