{"repo":"OneSignal/onesignal-node-api","free":true,"listed":false,"github":"https://github.com/OneSignal/onesignal-node-api","clone":"git clone https://github.com/OneSignal/onesignal-node-api.git","description":"OneSignal Node Client","language":"TypeScript","stars":52,"topics":["node","nodejs","onesignal","push","notifications","rest","api","push-notifications","in-app-messaging","email"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Welcome to @onesignal/node-onesignal The OneSignal Node client is a server SDK for NodeJS. A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com. Building with an AI agent or LLM? See AGENTS.md for an agent-oriented integration guide — authentication, calling conventions, idempotent retries, and the full API reference. Installation Configuration Every SDK requires authentication via API keys. Two key types are available: - REST API Key — required for most endpoints (sending notifications, managing users, etc.). Found in your app's Settings Keys & IDs . - Organization API Key — only required for organization-level endpoints like creating or listing apps. Found in Organization Settings . Warning: Store your API keys in environment variables or a secrets manager. Never commit them to source control. Send a push notification Send with idempotent retries createNotificationWithRetry generates a UUIDv4 idempotency key when absent (a caller-provided key is respected), retries 429 / 503 / transport errors with the same key (honoring Retry-After , exponential backoff otherwise; maxRetries / baseDelayMs configurable via the options object), fails fast on other errors, and reports via wasReplayed whether the server answered from a previously completed request ( Idempotent-Replayed response header). It is a DefaultApi method, so the call mirrors createNotification : Send a push notification by External ID Targ","default_branch":null,"files":null,"tree":[],"storefront":"/r/OneSignal","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/OneSignal/onesignal-node-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}