Onesignal rest api
Overview
SLUG: ONESIGNAL_REST_API
Description
The OneSignal REST API enables developers to programmatically send push notifications, emails, and SMS, manage users and subscriptions, and configure apps.
Authentication Details
API Key
Connecting to Onesignal rest api
Create an auth config
Use the dashboard to create an auth config for the Onesignal rest api toolkit. This allows you to connect multiple Onesignal rest api accounts to Composio for agents to use.
Select App
Navigate to [Onesignal rest api](https://platform.composio.dev?next_page=/marketplace/Onesignal rest api).
Create and Get auth config ID
Click “Create Onesignal rest api Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the [Onesignal rest api toolkit’s playground](https://app.composio.dev/app/Onesignal rest api)
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
ONESIGNAL_REST_API_CREATE_NOTIFICATION
Tool Name: Create Notification
Description
Action Parameters
Action Response
ONESIGNAL_REST_API_DELETE_DEVICE
Tool Name: Delete Device
Description
Action Parameters
Action Response
ONESIGNAL_REST_API_UPDATE_DEVICE
Tool Name: Update Device
Description
Action Parameters
Action Response
ONESIGNAL_REST_API_VIEW_AN_APP
Tool Name: View OneSignal App
Description
Action Parameters
Action Response
ONESIGNAL_REST_API_VIEW_DEVICE
Tool Name: View Device
Description
Action Parameters
Action Response
ONESIGNAL_REST_API_VIEW_DEVICES
Tool Name: View Devices
Description
Action Parameters
Action Response
ONESIGNAL_REST_API_VIEW_NOTIFICATIONS
Tool Name: View Notifications
Description
Action Parameters
Action Response
ONESIGNAL_REST_API_VIEW_SEGMENTS
Tool Name: View Segments
Description
Action Parameters
Action Response