Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Copy Template to Another App
ONESIGNAL_USER_AUTH_COPY_TEMPLATE_TO_APPDuplicate a message template into another app in the same organization. Requires an Organization API key (Authorization: Key <organization key>) supplied by connection metadata and admin access to both apps. The target app must differ from the source app. The copy retains the original content but is independent of the original and receives a new template ID. Supports push, SMS, and both HTML and Drag & Drop email templates.
Create App
ONESIGNAL_USER_AUTH_CREATE_APPCreate a OneSignal app with optional web, Android, and iOS push configuration. Requires an Organization API key (not an app REST API key) associated with organization_id. Email and SMS must be configured in the OneSignal Dashboard.
Create Custom Events
ONESIGNAL_USER_AUTH_CREATE_CUSTOM_EVENTSRecord user events for Journeys, segments, personalization, and conversions using the app API key. HTTP 202 can contain individual failures: retry only failed events, but retry the whole batch after 5xx, reusing idempotency keys. Do not retry too many event names until a slot is freed (1,000 unique names per app).
Create Journey
ONESIGNAL_USER_AUTH_CREATE_JOURNEYCreate a draft OneSignal Journey using the beta Journeys API. Requires an App API key permitted to create Journeys and an app with Journeys enabled. Only name is required in the body. Returns the full draft definition and concurrency token. Creation does not activate the Journey.
Create Segment
ONESIGNAL_USER_AUTH_CREATE_SEGMENTCreate an audience segment using user-property filters and AND/OR logic. Requires the app's API key. Created segments are available in the dashboard, messages, Journeys, and in-app messaging. Custom event filters are unsupported.
Create Subscription
ONESIGNAL_USER_AUTH_CREATE_SUBSCRIPTIONAttach an email, SMS or push subscription to an existing user using an App API key. Identify the user by external_id, onesignal_id or a custom alias. If the type and token already exist in the app, that subscription is transferred to this user. To create a new user with subscriptions, use Create User instead.
Create Template
ONESIGNAL_USER_AUTH_CREATE_TEMPLATECreate a reusable push, email, or SMS template in a OneSignal app. Requires an App API key and a configured target channel. Push and SMS need contents.en; email needs isEmail=true, email_subject and email_body. SMS needs isSMS=true. Use the returned ID as template_id when sending messages.
Duplicate Journey
ONESIGNAL_USER_AUTH_DUPLICATE_JOURNEYCopy an existing OneSignal Journey into a new draft using the beta Journeys API. Requires an App API key permitted to create Journeys and Journeys enabled for the app. The source is unchanged. Optional overrides use JSON Merge Patch: objects merge, null clears nullable values, and arrays replace as a unit. The provider copies supported fields; goals, A/B tests, stats, and the source schedule are not inherited. The copy is always a draft and is not activated. Returns full Journey detail and its new concurrency token.