Notify
Send notification messages (single or batch) and manage subscriptions.
Sending
use AndreaAlhena\PreludeSdkLaravel\Facades\Prelude;
$notification = Prelude::notify()->send(/* ... */);
$batch = Prelude::notify()->sendBatch(/* ... */);
Subscriptions
$configs = Prelude::notify()->listSubscriptionConfigs();
$config = Prelude::notify()->getSubscriptionConfig(/* ... */);
$numbers = Prelude::notify()->listSubscriptionPhoneNumbers();
$number = Prelude::notify()->getSubscriptionPhoneNumber(/* ... */);
$events = Prelude::notify()->listSubscriptionPhoneNumberEvents(/* ... */);
Raw responses
$response = Prelude::notify()->raw->send(/* ... */);