How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

OneSignal Notifications API

The Notifications API from OneSignal — 4 operation(s) for notifications.

OneSignal Notifications API is one of 6 APIs that OneSignal publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Notification. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 6 operations across 4 paths, and defines 30 schemas. It is described by OpenAPI 3.0.0, at version 5.5.0.

Requests are made against a single base URL, https://api.onesignal.com.

6 operations 4 paths 30 schemas 1 DELETE2 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
5.5.0
Base URL
https://api.onesignal.com
Authentication
HTTP Bearer, HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 2

OneSignal Notifications API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (rest_api_key). It accepts HTTP bearer tokens (organization_api_key).

Paths & Operations 6

Across 4 paths, the API surfaces 6 operations — 1 DELETE, 2 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Notifications 6
GET
/notifications
View notifications
get_notifications 4 params → 200400429
POST
/notifications
Create notification
create_notification body → 200400429
DELETE
/notifications/{notification_id}
Stop a scheduled or currently outgoing notification
cancel_notification 2 params → 200400404429
GET
/notifications/{notification_id}
View notification
get_notification 2 params → 200400404429
POST
/notifications/{notification_id}/history
Notification History
get_notification_history 1 param body → 200400404429
POST
/notifications/{notification_id}/export_events?app_id={app_id}
Export CSV of Events
export_events 2 params → 200400404429

Schemas 30

The contract defines 30 schemas that model the data the API accepts and returns. The most detailed are BasicNotification_allOf (102 properties), LanguageStringMap (43 properties), NotificationWithMeta_allOf (14 properties), SubscriptionNotificationTarget (11 properties). Each schema is shown below with its type and property counts.

PlatformDeliveryData_sms_allOf
object
3 properties
NotificationSlice
object
4 properties
NotificationTarget
ExportEventsSuccessResponse
object
1 property
Button
object
3 properties 1 required
CreateNotificationSuccessResponse
object
3 properties
SubscriptionNotificationTarget
object
11 properties
PlatformDeliveryData
object
Hash of delivery statistics broken out by target device platform.
8 properties
Notification
LanguageStringMap
object
43 properties
SegmentNotificationTarget
object
2 properties
GenericError
object
3 properties
NotificationWithMeta
BasicNotification
NotificationWithMeta_allOf
object
14 properties
FilterExpression
GenericSuccessBoolResponse
object
1 property
Operator
object
1 property
WebButton
object
4 properties 1 required
Notification_allOf
object
1 property
NotificationHistorySuccessResponse
object
2 properties
OutcomeData
object
3 properties 3 required
get_notification_history_request_body
object
3 properties 1 required
Filter
object
8 properties
BasicNotification_allOf_android_background_layout
object
Channel: Push Notifications Platform: Android Allowing setting a background image for the notification. This is a JSON object containing the following keys. Se…
3 properties
OutcomesData
object
1 property
BasicNotification_allOf
object
102 properties
PlatformDeliveryData_email_allOf
object
7 properties
RateLimitError
object
2 properties
DeliveryData
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

onesignal-notifications-api-openapi.yml Raw ↑

Other APIs OneSignal publishes across the network.

OneSignal REST API
OneSignal Apps API
OneSignal Players API
OneSignal Templates API
OneSignal MCP Server
Where this information came from

This is an independent, third-party profile of OneSignal Notifications API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.