OneSignal
OneSignal is a customer engagement platform that enables businesses to send push notifications, email, SMS, and in-app messages across multiple platforms. The OneSignal connector enables you to manage push notifications, email campaigns, SMS messaging, and in-app messaging, retrieve notification history, manage users and players, and integrate customer engagement data with other systems. This connector is particularly useful for applications that need to send multi-channel notifications, track user engagement, manage customer communication, or integrate messaging data with analytics and CRM systems.
Power end-to-end data operations for your OneSignal API with Nexla. Our bi-directional OneSignal connector is purpose-built for OneSignal, making it simple to ingest data, sync it across systems, and deliver it anywhere — all with no coding required. Nexla turns API-sourced data into ready-to-use, reusable data products and makes it easy to send data to OneSignal or any other destination. With comprehensive monitoring, lineage tracking, and access controls, Nexla keeps your OneSignal workflows fast, secure, and fully governed.
Features
Type: API
- Seamless API Integration: Connect to any endpoint as source or destination without coding, with automatic data product creation
- Visual Composition & Chaining: Build complex integrations using visual templates, chain API calls, and compose workflows with data validation and filtering
- API Proxy: Expose curated slices of your data securely with a secure and customizable API proxy that validates and transforms data on the fly
- Request optimization with intelligent batching, retry, and caching to minimize API calls and costs
Prerequisites
Before creating a OneSignal credential, you'll need to obtain a REST API Key and App ID from your OneSignal account. OneSignal provides API keys for programmatic access to their customer engagement platform through the OneSignal dashboard.
To obtain OneSignal API credentials:
-
Log in to your OneSignal account at
https://onesignal.comor your organization's OneSignal instance. -
Navigate to Settings > Keys & IDs in your OneSignal dashboard. This section contains your API keys and app identifiers.
-
In the Keys & IDs section, locate your REST API Key. This is the API key used for authenticating REST API requests. You can use either:
- REST API Key: For managing a specific app (recommended for most use cases)
- User Auth Key: For managing multiple apps across your account
-
Copy the REST API Key or User Auth Key depending on your needs. Store it securely, as you'll need it to authenticate API requests.
-
Note your App ID. This is the unique identifier for your OneSignal app, found in the same Keys & IDs section. The App ID is required for most API requests to specify which app you're working with.
OneSignal API keys are used as Bearer tokens in the Authorization header for all API requests. The API key is sensitive information and should be kept secure. If you've lost your API key, you can view it again in the Keys & IDs section of your OneSignal dashboard. The App ID is required for most API operations to identify the specific app you're working with.
For detailed information about OneSignal API authentication and API key management, refer to the OneSignal REST API Documentation and OneSignal Accounts and Keys Guide.
Authenticate
Credentials required
- REST API Key
- User Auth Key
Authenticate using your OneSignal REST API key
| Field | Required | Secret | Description |
|---|---|---|---|
| REST API Key | Yes | Yes | Your OneSignal REST API key from Settings > Keys & IDs |
| App ID | Yes | No | Your OneSignal App ID from Settings > Keys & IDs |
Authenticate using your OneSignal User Auth key for managing multiple apps
| Field | Required | Secret | Description |
|---|---|---|---|
| User Auth Key | Yes | Yes | Your OneSignal User Auth key for managing multiple apps |
| App ID | Yes | No | Your OneSignal App ID from Settings > Keys & IDs |
Create a credential in Nexla
- After selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
New Credential Overlay – OneSignal

-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
-
In the REST API Key field (or User Auth Key field if using User Auth Key authentication), enter the API key that you obtained from your OneSignal dashboard in Prerequisites. This is the secret API key used to authenticate requests to the OneSignal API.
-
In the App ID field, enter your OneSignal App ID that you obtained from your OneSignal dashboard. This is the unique identifier for your OneSignal app and is required for most API operations.
The API key is sensitive information and should be kept secure. If you've lost your API key, you can view it again in the Keys & IDs section of your OneSignal dashboard. API keys are used as Bearer tokens in the Authorization header for all API requests.
-
Click the Save button at the bottom of the overlay. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation.
Use as a data source
To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the OneSignal connector tile, then select the credential that will be used to connect to the OneSignal API, and click Next; or, create a new OneSignal credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common OneSignal API endpoints. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.
Manual configuration
OneSignal data sources can also be manually configured to ingest data from any valid OneSignal API endpoint, including endpoints not covered by the pre-built templates, chained API calls, or custom request parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, date/time and lookup macros, path to data, metadata, and request headers.
OneSignal API endpoints typically follow the pattern https://api.onesignal.com/{resource}, and require the App ID parameter in query strings or path parameters along with the REST API Key sent as a Bearer token in the Authorization header (automatically included from your credential). Common paths to data include $.notifications[*] for notifications, $.players[*] for users, and $.segments[*] for segments.
Once all of the relevant settings have been configured, click the Create button in the upper right corner of the screen to save and create the new OneSignal data source. Nexla will now begin ingesting data from the configured endpoint and will organize any data that it finds into one or more Nexsets.
Use as a destination
Click the + icon on the Nexset that will be sent to the OneSignal destination, and select the Send to Destination option from the menu. Select the OneSignal connector from the list of available destination connectors, then select the credential that will be used to connect to the OneSignal instance, and click Next; or, create a new OneSignal credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure destinations to send data to common OneSignal API endpoints. Select the endpoint to which data will be sent from the Endpoint pulldown menu. Then, click on the template in the list below to expand it, and follow the instructions to configure additional endpoint settings.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to send a sample of the data and view the response in the Endpoint Test Result panel on the right. If the test is not successful or the response is not as expected, review the selected endpoint and associated settings, and make any necessary adjustments.
Manual configuration
OneSignal destinations can also be manually configured to send data to any valid OneSignal API endpoint, including endpoints not covered by the pre-built templates, or destinations that require custom authentication headers or request parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, data format, endpoint URL, request headers, and request body template.
OneSignal API endpoints typically follow the pattern https://api.onesignal.com/{resource}, and require the App ID parameter in query strings or path parameters along with the REST API Key sent as a Bearer token in the Authorization header (automatically included from your credential). Content-Type is typically set to application/json for ingestion endpoints, and the default request body template {message.json} works for most OneSignal endpoints, sending the entire record as JSON.
Save & activate
Once all of the relevant settings have been completed, click the Create button in the upper right corner of the screen to save and create the new OneSignal destination. Nexla will now begin sending data to the configured endpoint according to your data flow schedule.