Self-serve customer engagement solution for Push Notifications, Email, SMS & In-App.
OneSignal provides a REST API for sending push notifications, email, and SMS messages, as well as managing users, subscriptions, segments, and message templates. The API supports creating and updating templates for push, email, and SMS content, and lets developers record custom events to trigger Journeys and Wait Until nodes. It also supports Live Activity updates for iOS devices.
Beyond messaging, the API covers user and subscription management (creating, viewing, updating, and deleting users), segment creation and filtering for targeted messaging, and data export in CSV format for subscriptions and events (sent, received, clicked). It also provides endpoints for managing apps (grouping platforms like mobile apps and websites under a single App ID) and for creating, viewing, updating, and deleting API keys with specific permissions.
All requests require HTTPS with TLS 1.2 or higher over port 443, and traffic is routed through Cloudflare's global edge network. The API returns temporary errors such as 429 (rate limited) or 5xx (server errors), and OneSignal recommends using an idempotency key with retries to avoid duplicate messages; the default API response timeout is 100 seconds. This API is intended for developers integrating messaging and user-data functionality into their applications.
It supports push notifications for mobile apps and websites (including FCM for Android/Chrome and APNs for Apple platforms), plus email and SMS messaging.
The default timeout is 100 seconds, and an idempotency_key should be used to safely retry requests if completion is uncertain.
No, the API uses HTTPS with a publicly trusted TLS certificate managed by Cloudflare that renews automatically.
It may return 429 (rate limited), 5xx server errors, or timeouts, and recommends using an idempotency_key with recommended retry delays to avoid duplicate messages.
Yes, you can create, update, and view apps and API keys, including grouping platforms like mobile apps and websites under a single App ID.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Network calculators, including subnets, DNS, binary, and security tools.
Query information about your favorite Node.js libraries programmatically.
AI-native web search, scraping, and crawling API that delivers clean, structured, real-time web data. Used by top AI companies.
API for calculating and comparing metrics of different websites using Page Rank algorithm.
The All-in-one API Platform.
Screenshot, PDF, video recording, OG image, and page inspection via REST API.