Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Bulk Update Message State
ONESIGNAL_USER_AUTH_BULK_UPDATE_MESSAGE_STATEUpdate read, opened, or deleted state for a user's inbox messages in bulk. Changes apply to the entire inbox unless last_message_id is supplied, in which case they apply to that message and every older message. Each state can be changed independently. Requires the app's App API key. A 403 may also indicate a nonexistent app_id; an unknown alias lookup returns 404.
Cancel Message
ONESIGNAL_USER_AUTH_CANCEL_MESSAGEStop a scheduled or currently outgoing OneSignal message. Requires the app's App API key from connection metadata. Cancellation does not delete the message or remove notifications already delivered. If sending is in progress, some targeted users may still receive the message.
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 Alias by Subscription
ONESIGNAL_USER_AUTH_CREATE_ALIAS_BY_SUBSCRIPTIONCreate or update aliases for a user identified by a known Subscription ID. Uses an App API key. Existing alias labels are updated immediately and new labels are added; omitted aliases remain unchanged. The Subscription must belong to the user whose identity should be updated. OneSignal ID is read-only. To remove an alias, use Delete Alias instead.
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 Inbox Broadcast
ONESIGNAL_USER_AUTH_CREATE_INBOX_BROADCASTBroadcast a message to users' OneSignal inboxes. Messages expire after seven days. Target using segments, filters, or specific user aliases. Requires the app's API key; a 403 may also indicate a nonexistent app_id.
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 or Update Alias
ONESIGNAL_USER_AUTH_CREATE_OR_UPDATE_ALIASAdd or update aliases on an existing OneSignal user using an App API key. Updates identity only; does not create users or modify Subscriptions or tags. Existing labels are updated and omitted aliases remain unchanged. An alias claimed by another user returns 409 without changing either user; this does not merge users or move aliases. Use Transfer Subscription to move a Subscription.
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.
Create or Update OneSignal User
ONESIGNAL_USER_AUTH_CREATE_USERTool to create a new user or modify the subscriptions associated with an existing user. Use when you need to register a user with OneSignal or update their subscriptions.
Delete User Alias
ONESIGNAL_USER_AUTH_DELETE_ALIASTool to remove an alias from a OneSignal user. Use when you need to delete a specific alias identifier from a user while preserving other aliases. The user is identified by one alias (alias_label/alias_id) and a different alias (alias_label_to_delete) is removed.
Delete Segment
ONESIGNAL_USER_AUTH_DELETE_SEGMENTPermanently delete a OneSignal segment without deleting users or subscriptions. Requires the app's App API key. Deleted segments cannot be recovered; recreating one requires its original filters.
Delete Subscription
ONESIGNAL_USER_AUTH_DELETE_SUBSCRIPTIONDelete a single OneSignal subscription using the app's App API key. Deletion is asynchronous and stops messages to this subscription, but does not prevent a new subscription with the same token. If this is the user's last subscription, a user without an External ID or aliases is also deleted.
Delete Template
ONESIGNAL_USER_AUTH_DELETE_TEMPLATEPermanently delete a message template from a OneSignal app. Requires the app's App API key from connection metadata. Deletion is immediate and irreversible. Templates used in Journeys must be removed from those Journeys before deletion.
Delete User
ONESIGNAL_USER_AUTH_DELETE_USERPermanently delete a OneSignal user using the app's App API key. Deletion is asynchronous: all associated subscriptions, properties, and identity aliases are deleted shortly after the request is accepted.
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.
Edit OneSignal Device
ONESIGNAL_USER_AUTH_EDIT_DEVICETool to update an existing OneSignal device (player) record. Use when you have the player_id and need to modify device attributes.