OneSignal REST API
The OneSignal REST API enables developers to programmatically send push notifications, emails, and SMS, manage users and subscriptions, and configure apps.
This is a first-class FlyMyAI MCP. Agents discover it automatically via tool search and call the actions below on demand - you never wire it up by hand. See the Composio catalog for how discovery works.
Connect
OneSignal REST API authenticates with an API key. Generate the credential in your OneSignal REST API account, then paste it into FlyMyAI the first time an agent uses an OneSignal REST API action.
Get your OneSignal REST API credential →
Fields to fill in FlyMyAI
| Field | Details |
|---|---|
OneSignal App API Key | The App API Key is a private key used for most REST API requests related to a specific app. Find it in the OneSignal Dashboard under Settings > Keys & IDs. (required) |
Actions
Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.
| Action | What it does | Required inputs |
|---|---|---|
ONESIGNAL_REST_API_CREATE_NOTIFICATION | Tool to create and send a onesignal push notification. use when you have your message and target audience ready to dispatch notifications. | app_id, contents |
ONESIGNAL_REST_API_DELETE_DEVICE | Tool to delete a device (player) from a onesignal app. use when you need to remove a specific device by its player id. | app_id, player_id |
ONESIGNAL_REST_API_UPDATE_DEVICE | Tool to update properties of an existing device. use when you need to modify device attributes after registration. | player_id, app_id |
ONESIGNAL_REST_API_VIEW_AN_APP | Tool to retrieve metadata for a single onesignal app. use when you need to fetch app details by its id. | app_id |
ONESIGNAL_REST_API_VIEW_DEVICE | Tool to retrieve details of a specific device (player). use when you have a onesignal player id and need current device info. | player_id, app_id |
ONESIGNAL_REST_API_VIEW_DEVICES | Tool to retrieve a paginated list of devices (players) for a onesignal app. use when you need to list or audit all registered devices for a given app. | app_id |
ONESIGNAL_REST_API_VIEW_NOTIFICATIONS | Tool to retrieve details of multiple notifications. use when you need to list notifications for a specific app. | app_id |
ONESIGNAL_REST_API_VIEW_SEGMENTS | Tool to view segments for a onesignal app. use when you need to list all segments associated with an app. | app_id |
Links
We love our partners - FlyMy.AI builds with the best. Thanks, OneSignal REST API!