Skip to main content
OneSignal REST API logo

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

FieldDetails
OneSignal App API KeyThe 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.

ActionWhat it doesRequired inputs
ONESIGNAL_REST_API_CREATE_NOTIFICATIONTool 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_DEVICETool 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_DEVICETool 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_APPTool 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_DEVICETool 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_DEVICESTool 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_NOTIFICATIONSTool to retrieve details of multiple notifications. use when you need to list notifications for a specific app.app_id
ONESIGNAL_REST_API_VIEW_SEGMENTSTool to view segments for a onesignal app. use when you need to list all segments associated with an app.app_id
We love our partners - FlyMy.AI builds with the best. Thanks, OneSignal REST API!