added
message.url - New Push Event Stream Property
17 days ago
message.url
is now a supported property for push events. It enables the retrieval of the launch URL directly from your event stream payload.
If you use a different URL for web versus app audiences in the same push, use the message.app_url
and message.web_url
instead.
Example Event Stream body:
{
"user_id": "{{ event.external_id }}",
"event_id": "{{ event.id }}",
"event": "{{ event.kind }}",
"properties": {
"message_id": "{{ message.id }}",
"message_name": "{{ message.name }}",
"message_title": "{{ message.title.en }}",
"message_contents": "{{ message.contents.en }}",
"message_url": "{{ message.url }}",
"message_app_url": "{{ message.app_url }}",
"message_web_url": "{{ message.web_url }}",
"template_id": "{{ message.template_id }}",
"subscription_id": "{{ event.subscription_id }}",
"subscription_device_type": "{{ event.subscription_device_type }}",
"source": "onesignal"
},
"originalTimestamp": "{{ event.datetime }}"
}