Integrate
Drop into your stack in minutes
Copy a sample for your language, add a Bearer API key, and start sending. For mobile, use our RN/Expo and Flutter test tools — and always proxy live keys through your backend.
Send in one request. Batch when you scale.
send.mjs
1import { PSend } from '@psend/node';23const psend = new PSend(process.env.PSEND_API_KEY);45// Single send6const email = await psend.emails.send({7 from: '[email protected]',8 to: '[email protected]',9 subject: 'Welcome',10 html: '<p>Thanks for signing up.</p>',11});1213// Bulk batch14const batch = await psend.emails.batch({15 from: '[email protected]',16 subject: 'October update',17 html: '<p>Hi {{name}}</p>',18 recipients: [19 { to: '[email protected]', data: { name: 'Ada' } },20 { to: '[email protected]', data: { name: 'Linus' } },21 ],22});2324console.log(email.id, batch.batch_id);
Next steps
- API reference → Full endpoint list for send, batch, and webhooks.
- React Native / Expo tools → Generate fetch snippets safely.
- Flutter tools → Dart http samples and local test harness.