Create custom events
The Custom Events API allows you to record user events. Custom events can represent any action users take in your application, such as completing a purchase, viewing content, or achieving milestones.
POST
Create Custom Events
Custom events are currently in beta.
To get access, contact support@onesignal.com
with:
- your company name
- your OneSignal Organization ID
- your OneSignal App ID(s) that you want to use the feature on
Overview
The Custom Events API allows you to track user events. Custom events can represent any action users take in your application, such as completing a purchase, viewing content, or achieving milestones. See Custom events for more information.
Use Cases
Custom events can be used to:
- Enter users into Journeys (BETA)
- Trigger Journey Wait Until nodes (BETA)
Headers
Your app API key with prefix Key
. See Keys & IDs.
Path Parameters
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
Body
application/json
Response
200
application/json
200
The response is of type object
.
Create Custom Events