Integration
Integrating your sign-up form with TakaTech via the API
Securely push customer data from a Zalo Mini App, landing page or partner software into TakaTech.
When a partner runs its own program (a trade fair, landing page, Zalo Mini App…) and wants customers to request a consultation or a TakaTech product demo, the data can go straight into TakaTech’s system through the Partner API.
Recommended architecture
Browser / Zalo Mini App → Partner’s server → POST https://takatech.vn/api/v1/leads
(form) (holds API key) (Authorization: Bearer …)
The API key is stored only on the partner’s server (as an environment variable) and is never embedded in JavaScript running in the browser or inside the Mini App.
Steps
- Contact TakaTech to get an API key (of the form
tk_live_…). - On your server, create an endpoint that receives your form, validates the data, then calls
POST /api/v1/leads. - Set the
sourcefield (e.g.zalo-mini-app,landing-hoi-cho-2026) so both sides can measure results. - Handle
422(invalid data) to inform the user, and429to retry later.
Node.js (Express) example
app.post('/sign-up', async (req, res) => {
const r = await fetch('https://takatech.vn/api/v1/leads', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.TAKATECH_API_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({ name: req.body.name, phone: req.body.phone, type: 'DEMO',
product: 'TakaTech ZNS Portal', source: 'zalo-mini-app' }),
});
const data = await r.json();
res.status(r.status).json(data);
});
Security
- One key per partner; TakaTech can revoke a key at any time.
- Limited to 60 requests/minute per key.
- Personal data is processed under our Privacy policy – partners must obtain users’ consent before sending.
Still stuck? Submit a support request or ask the AI assistant in the corner of the screen.