Documentation
Quickstart
Send and verify an event in 2 minutes and 3 simple steps with our SDKs, available for Node.js, Python, Go, PHP, and Next.js.
Get the Backend SDK
We provide lightweight HTTP client integrations for Node.js, Python, Go, PHP, and Next.js to make integration effortless.
Install Packagenodejs
npm install axiosInitialize the SDK
Initialize the Softymize API client by pasting the snippet below.
Get your
API_KEY from the Settings > API & Webhooks > Production Access Keys section of the Softymize dashboard.Initialize Client Confignodejs
const axios = require('axios');const softymize = axios.create({ baseURL: 'https://api.softymize.com/api/v1', headers: { 'Content-Type': 'application/json', 'X-Softymize-API-Key': process.env.SOFTYMIZE_API_KEY // 'sk_prod_...' }});Ingest Your First Event
Send an order created or cart event payload to trigger automatic Meta WhatsApp flows.
Send Event Request Payloadnodejs
// Trigger order created eventasync function triggerOrderEvent(order) { const response = await softymize.post('/events', { event: 'order.created', event_category: 'commerce', customer: { name: order.customerName, phone: order.customerPhone, // E.164 (+91XXXXXXXXXX) email: order.customerEmail }, data: { order_id: order.id, total: order.totalAmount, currency: 'INR' } }); console.log('Event Ingested ID:', response.data.data.event_id);}