Yes, but not through the Control Panel scheduling form alone. There are two ways to use Best time to send from the API.
Option 1: Messaging API v2
The /messaging/v2/notify method has a best_time_to_send parameter for segment sends. It is the API counterpart of the Best time option in the Control Panel. Use at / after to set the fallback time for devices that do not have enough data for a best hour.
The request is rejected unless the send is a segment send (not transactional), follow_user_timezone is not true, the send time is in the future, and best_time_to_send is between the next full hour and 30 days ahead. See Best time to send in the Messaging API v2 reference for the full list of rules and error reasons.
Option 2: Customer Journey
- Create a Customer Journey with an API-based Entry or Event-based Entry.
- Add a Push Notification element to the journey and enable the Best time to send option within its settings.
-
Trigger the journey using the API:
- If using API-based Entry, call the specific endpoint provided in the Entry element settings.
- If using Event-based Entry, trigger the event for the user via the
/postEventmethod.
The time is calculated for the next 24 hours after the user enters the push element. See Enable Best time to send.
Note: Best time to send requires enough historical data on user interactions (for example, app opens and push opens) to calculate the optimal time. We recommend enabling the PW_ApplicationOpen and PW_NotificationOpen default events a few days before you send. In the Control Panel, the feature requires a paid subscription.
Comments
0 comments
Please sign in to leave a comment.