v1
latestOpenAPI 3.1.02026-07-26497885.9 KBView message
View the details of a single message and the Outcomes associated with it.
Path parameters
The identifier of the message in UUID v4 format. Get this id in the response of your Create Message API request, the View Messages API, and in your OneSignal dashboard Message Reports.
Query parameters
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
The name and aggregation type of the outcome(s) you want to fetch. Example: my_outcome.count or my_outcome.sum. For clicks, use os__click.count. For confirmed deliveries, use os__confirmed_delivery.count. For session duration, use os__session_duration.count.
Time range for the returned data. Available values: 1h (1 hour), 1d (1 day), 1mo (1 month)
The platforms in which you want to pull the data represented as the device_type integer.
Attribution type for the outcomes.
Headers
Your App API key with prefix Key . See Keys & IDs.
Response
200