Developer Documentation

Riffre API Reference

Everything you need to send WhatsApp text, template, media and interactive messages from your own systems.

SDKs & Code Samples

Ready-to-run client libraries and integrations for every major language, CMS and app framework.

Last updated 05 Aug 2026

Every sample below implements the full Send Message API: text, template, image, video, audio, document and interactive list/button messages, using the same request and response shapes documented on this site. Each download includes a README with setup steps.

Backend languages

LanguageDownload
PHPphp.zip
Pythonpython.zip
Node.jsnodejs.zip
Javajava.zip
C#csharp.zip
C++cpp.zip

CMS & e-commerce

PlatformDownloadNotes
Shopifyshopify.zipA webhook relay that sends a WhatsApp order confirmation when a Shopify order is created.
WordPresswordpress.zipA plugin with a settings page and helper functions, with an optional WooCommerce order-completed hook.

Mobile & web frameworks

FrameworkDownloadNotes
Flutterflutter.zipA Dart client plus a minimal demo screen.
Cordovacordova.zipA vanilla-JS client plus a demo app screen.
Capacitorcapacitor.zipA TypeScript client plus a Vite demo app screen.
Reactreact.zipA React app plus a small backend proxy - required since a browser app cannot safely hold a secret API key.

A note on client-side frameworks

Your Riffre API key must never be embedded in code that runs in an end user's browser or mobile app, since it can be extracted from the app package or read directly from network requests. The Flutter, Cordova and Capacitor samples are intended for internal/trusted builds or for calling your own backend; the React sample demonstrates the backend-proxy pattern directly. See Authentication for more on key handling.

Sign in for your API key

The code samples above use a placeholder API key. Get your real endpoint URL and key from WhatsApp Accounts -> a phone number -> API Keys after signing in to your dashboard.