onesignal.com·Developer portal → documentation.onesignal.com
2 APIs across 1 product group. All share one credential.
| I want to... | Use | Why |
|---|---|---|
| Only need to send a notification | OneSignal API | The minimal spec exposes a single notification-creation endpoint, so the agent can be limited to sending and nothing else. |
| Manage apps, users, segments, subscriptions, or analytics | OneSignal API (Full) | The full 55-endpoint spec covers app, user, segment, subscription, template, and outcome operations beyond sending. |
| Create or edit audience segments before sending | OneSignal API (Full) | Segment create, update, and delete operations live only on the full spec; the minimal spec can reference existing segments by name but cannot manage them. |
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the OneSignal APIs, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fonesignal.com" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fonesignal.com" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
Once connected, ask your agent something like: .
What agents get from Jentic-routed access to this vendor.
Setup
Wiring OneSignal by hand means managing its REST API key and building calls across the full 55-endpoint spec and the minimal send spec against api.onesignal.com yourself. With Jentic One you install once, add the OneSignal APIs you need from the Jentic directory, store the key once, and your agent calls them.
Permission scoping
OneSignal puts the app id in the URL path on the full spec, so a rule in your own Jentic One instance can pin the agent to one app and one set of operations, for example sending and reading outcomes but not creating apps or exporting players. An agent that only needs to send can be limited to the minimal spec's single operation.
Credential isolation
Your OneSignal REST API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context, and the same key covers both specs.
Specific to using OneSignal APIs through Jentic.
Which OneSignal spec should an agent use?
Use the minimal spec when the task is only to send a notification, since it exposes a single notification-creation endpoint. Use the full 55-endpoint spec when the agent needs to manage apps, users, subscriptions, segments, templates, or outcome analytics. Both authenticate with the same key, so an agent can start narrow and widen its allowed operations later.
Does one credential cover both OneSignal specs?
Yes. Both specs use the same OneSignal REST API Key in the Authorization header, so a single stored credential covers every operation across the full and minimal surfaces. You do not need separate keys for sending versus managing segments or users.
Why does Jentic publish OpenAPI specs for OneSignal?
OneSignal does not publish its own OpenAPI specification. Jentic generates and maintains both the full and minimal specs so that AI agents and developers can call OneSignal through structured tooling. Each spec is validated against the live API and kept up to date.
Can an agent both build audiences and send messages?
Yes. The full spec creates, updates, and deletes segments and manages user identities, while either spec can then send a notification targeted at those audiences. This lets an agent curate an audience and deliver to it within OneSignal, rather than splitting the work across separate tools.
BOOK A DEMO
Browse thousands of APIs and connect them all to your agent with Jentic One. One layer, one credential — every API your agent needs.
For Agents
Agents can send push, email, SMS, and in-app notifications, build and edit audience segments, manage users and subscriptions, and pull outcome analytics across OneSignal's full and minimal specs.
OneSignal covers multi-channel customer messaging from a single messaging platform, so one integration reaches push, email, SMS, and in-app audiences. Jentic offers both a full management spec and a minimal send-only spec, so an agent can pick the smallest surface that matches its task.
Use for: Sending push, email, SMS, and in-app notifications through OneSignal and managing the apps, users, subscriptions, segments, templates, and outcome analytics behind those messages.
Not supported: in-product UI personalisation, payments, CRM contact storage, SDK client integration, real-time delivery webhooks
Credentials: Both specs authenticate with the same OneSignal REST API Key sent in the Authorization header, so one credential covers every operation across the full and minimal specs.
All 2 OneSignal OpenAPI specs are Jentic-generated and indexed by Jentic, kept validated and agent-ready.
OneSignal is a customer messaging platform for sending push notifications, email, SMS, and in-app messages. Jentic publishes the only available OpenAPI specifications for OneSignal and keeps them validated and agent-ready. Two specs are covered: a full 55-endpoint API for managing apps, users, subscriptions, segments, templates, and notifications, and a minimal single-endpoint spec for creating a notification. Together they let agents send messages across push, email, and SMS channels, build and edit audience segments, manage user identities, transfer subscription ownership, and pull outcome analytics.
Each workflow spans multiple OneSignal APIs. Jentic routes each operation to the right API automatically.
Build a segment then send to it
An agent creates or updates an audience segment on the full spec, then sends a notification targeted at that segment. The full spec manages the segment definition and the minimal spec issues the send, so audience curation and delivery run through OneSignal without leaving the platform.
Create a segment named 'Active iOS Premium' under app 'app-xyz' filtered to platform iOS and tag plan premium, then send a notification to that segment with heading 'Members-only drop'.
OneSignal API (Full) + OneSignal API
Send a campaign and measure outcomes
An agent sends a notification, then pulls outcome analytics to evaluate the result. The minimal spec creates the send and the full spec returns aggregated outcome counts filtered by platform and attribution window, so a campaign and its reporting come from the same messaging platform.
Send a notification to the 'Lapsed Users' segment under app 'app-xyz', then pull outcome metrics for click over the following 7 days filtered to iOS.
OneSignal API + OneSignal API (Full)
Onboard a user and notify them
An agent registers a new user identity and attaches a device subscription on the full spec, then sends that user a welcome notification. Identity management lives on the full spec and delivery on the minimal spec, so a single agent can complete both steps against OneSignal.
Create a user under app 'app-xyz' with external id 'cust-123', attach an existing iOS subscription, then send a welcome notification to that subscription.
OneSignal API (Full) + OneSignal API
Intent-based discovery
Agents search the Jentic directory by intent such as 'create a onesignal segment' or 'send a onesignal push notification', and Jentic returns the matching operation from either spec with its input schema, so the agent calls the right endpoint without browsing the reference docs.
What channels can OneSignal reach through these specs?
OneSignal delivers push notifications, email, SMS, and in-app messages. A single notification-creation request can target push, email, SMS, or in-app depending on the channel options supplied, so one integration reaches multiple channels for the same audience.
Can an agent measure how a campaign performed?
Yes, through the full spec. Its outcomes endpoint returns aggregated counts for named outcomes filtered by time range, platform, and attribution window. An agent can send a notification and then pull the matching outcome metrics to report on the result.
What is out of scope for the OneSignal specs?
The specs cover message sending and the apps, users, subscriptions, segments, and outcomes behind messaging. They do not cover in-product UI personalisation, payment processing, or CRM contact storage, and they do not replace the client SDKs used to register devices inside a mobile or web app.
All 3 are in the Jentic catalogue with the same one-credential, intent-search pattern.