Docs

PushFire SDKs and libraries

Integrations

PushFire SDKs and libraries connect your app and backend to PushFire in the language you already use. PushFire is the easiest lifecycle messaging platform for AI agents and vibe coders: push and email lifecycle campaigns, segments and workflows behind one small REST API. This page lists every PushFire SDK, its status, and the guide to start with.

Every SDK calls the same REST API. When a native SDK for your language is not out yet, the REST guide for that language gives you working code today.

Prerequisites

How PushFire integrations fit together

  • App side: an SDK in your mobile or web app registers the device's FCM token, identifies the subscriber with your user ID, and sets tags. Apps use a Public key (pf_pk_).
  • Server side: your backend sends push and email, starts workflows and updates profiles. Servers use a Secret key (pf_sk_).
  • Console: you build workflows, segments, layouts and broadcasts at console.pushfire.app.

Read Public and Secret keys before you ship a key in an app.

Warning: never ship a Secret key (pf_sk_) in a mobile app, browser bundle or no-code frontend. PushFire does not block a Secret key on a client, so the call works, but anyone can extract the key from your app and message all your users. Start workflows and send messages from your server, a Supabase Edge Function or your app builder's server function.

Live SDKs for mobile and web apps

The pushfire npm package (0.1.1) is being updated. Until the new version ships, the JavaScript, Node.js and React Native guides call the REST API with fetch.

Live tools for backends and no-code setups

Server languages: REST API today, native SDK coming soon

Each guide below uses the language's standard HTTP client against the REST API. Native server SDKs are planned and show as coming soon. For any other language, follow the REST API quickstart.

Coming soon

  • Native client SDKs: Android (Kotlin), a dedicated React Native package, Web Push with a service worker, Unity, Capacitor and Ionic, and .NET MAUI.
  • Native server SDKs: Python, Go, Ruby, PHP with Laravel, Java and Kotlin on the JVM, .NET, Rust and Elixir.
  • The PushFire MCP server, so an AI agent can act in your projects after an OAuth sign-in.

What every SDK does

  • Register a device: send the FCM token, OS and app details. PushFire returns a device ID and an anonymous subscriber ID.
  • Identify a subscriber: log in with your own user ID (externalId), name, email, phone and timezone.
  • Tag subscribers: add, update and remove tag values that power segments and workflow conditions.
  • Trigger workflows: start a visual workflow now or at a scheduled time, for subscribers or segments.
  • Send push and email from a server: batch send to a list of externalId values without a workflow.

FAQ

Which PushFire SDK should I start with?

Start with the SDK for the code that runs on the user's device: Flutter, FlutterFlow, Dreamflow or Swift. It registers devices and identifies subscribers for you. Then call the REST API from your backend to send push, send email and start workflows. Any language with an HTTP client works.

Can I use PushFire without an SDK?

Yes. Every SDK wraps the same REST API at https://api.pushfire.app/functions/v1. Any language that can send JSON over HTTPS with a Bearer header can register devices, identify subscribers, set tags, start workflows and send batch push or email. The OpenAPI spec also lets you generate a client.

When will a native Python SDK ship?

It is planned and shows as coming soon, along with Go, Ruby, PHP, Java, .NET, Rust and Elixir. Until each one ships, call the REST API with the standard HTTP client of your language. The calls will keep working after the SDK ships, because the SDK uses the same endpoints.

Does PushFire work with AI coding agents?

Yes. Run npx skills add https://www.pushfire.app to give Claude Code, Cursor, Codex, Copilot or Windsurf the PushFire skills. The agent then reads the API contract and wires devices, subscribers, tags and sends for you. The guide covers prompts and review steps.

Next steps

Related Guides

Continue learning with these related guides

Android push notifications in Kotlin

Add Android push notifications in Kotlin: get the FCM token with Firebase Messaging, register the device with the PushFire REST API, identify the user, set tags and keep the token fresh. A native Android SDK is coming soon.

Integrations

Dreamflow push notifications with PushFire

Add PushFire push notifications to a Dreamflow app: connect Firebase in Dreamflow, paste the PushFire prompts for Firebase or Supabase Auth, check the generated pubspec and main.dart, and test on a real device.

Integrations

Flutter push notifications with the PushFire SDK

Install the pushfire_sdk Flutter package to register FCM devices, log subscribers in automatically from Firebase or Supabase Auth, manage tags and notification permissions on iOS and Android, and send push or email from your backend.

Integrations

FlutterFlow push notifications with PushFire

Add push notifications to a FlutterFlow app with PushFire-Lib: install the library, set the pushfireApiKey and auth provider, add pushfire_sdk, run pushfireInitialize on launch, and call the subscriber and tag actions from your action flows.

Integrations

Send push notifications from Node.js and TypeScript

Send push notifications and lifecycle email from Node.js and TypeScript with the PushFire REST API: identify subscribers, tag audiences, start workflows and send batch push or email from Express, Next.js or a Supabase Edge Function.

Integrations

Push notification REST API quickstart

A curl-first quickstart for the PushFire push notification REST API: authentication, the eleven endpoints, request bodies that match the live backend, error shapes, and how to verify delivery. Works from any language.

API Reference

PushFire AI agent skill for Claude Code, Cursor and Codex

Install the PushFire agent skills with one command so Claude Code, Cursor, Codex, Copilot and other coding agents know the PushFire API, the Flutter SDK and workflows, then use the prompts and review checklist to ship push and email safely.

Integrations

Send push notifications from Python

Send push notifications and lifecycle email from Python with the PushFire REST API and requests: register devices, identify subscribers, tag audiences, trigger workflows and check delivery. A native Python SDK is coming soon.

Integrations

React Native and Expo push notifications

Add push notifications to React Native and Expo apps with PushFire: get the FCM token with @react-native-firebase/messaging, register the device over the REST API, identify users, set tags and send from your server. A dedicated React Native package is coming soon.

Integrations

iOS push notifications in Swift with the PushFire SDK

Install the PushFire Swift SDK with Swift Package Manager to register iOS devices through Firebase Cloud Messaging, log subscribers in from Firebase or Supabase Auth, manage tags and notification permission, and send push or email from your backend.

Integrations

Web push notifications with JavaScript

Add browser and PWA push notifications with PushFire: get an FCM token with the Firebase JavaScript SDK and a service worker, register the device with the REST API, identify users, set tags and send from your server. A dedicated Web Push SDK is coming soon.

Integrations