@@ -28,13 +28,15 @@ composer require unicodeveloper/novu
28
28
* [ Topics] ( #topics )
29
29
* [ Activity] ( #activity )
30
30
* [ Integrations] ( #integrations )
31
+ * [ Notifications] ( #notifications )
31
32
* [ Notification Templates] ( #notification-templates )
32
33
* [ Notification Groups] ( #notification-groups )
33
34
* [ Changes] ( #changes )
34
35
* [ Environments] ( #environments )
35
36
* [ Feeds] ( #feeds )
36
37
* [ Messages] ( #messages )
37
38
* [ Execution Details] ( #execution-details )
39
+ * [ Validate the MX Record setup for Inbound Parse functionality] ( #validate-the-mx-record-setup-for-inbound-parse-functionality )
38
40
* [ License] ( #license )
39
41
40
42
## Usage
@@ -270,6 +272,36 @@ $novu->deleteIntegration($integrationId);
270
272
271
273
```
272
274
275
+ ## NOTIFICATIONS
276
+
277
+ ``` php
278
+
279
+ // Get all notifications
280
+ $novu->getNotifications()->toArray();
281
+
282
+ // Get all notifications with query parameters
283
+ $queryParams = [
284
+ 'page' => 3
285
+ ];
286
+ $novu->getNotifications($queryParams)->toArray();
287
+
288
+ // Get one notification
289
+ $novu->getNotification($notificationId)->toArray();
290
+
291
+ // Get notification stats
292
+ $novu->getNotificationStats()->toArray();
293
+
294
+ // Get Notification graph stats
295
+ $novu->getNotificationGraphStats()->toArray();
296
+
297
+ // Get Notification graph stats with query parameters
298
+ $queryParams = [
299
+ 'days' => 5
300
+ ];
301
+ $novu->getNotificationGraphStats($queryParams)->toArray();
302
+
303
+ ```
304
+
273
305
## NOTIFICATION TEMPLATES
274
306
275
307
``` php
@@ -428,6 +460,15 @@ $novu->getExecutionDetails([
428
460
429
461
```
430
462
463
+ ## Validate the MX Record setup for Inbound Parse functionality
464
+
465
+ ``` php
466
+
467
+ // Validate MX Record for Inbound Parse
468
+ $novu->validateMXRecordForInboundParse()->toArray();
469
+
470
+ ```
471
+
431
472
## License
432
473
433
474
** Novu PHP SDK** was created by ** [ Prosper Otemuyiwa] ( https://twitter.com/unicodeveloper ) ** under the ** [ MIT license] ( https://opensource.org/licenses/MIT ) ** .
0 commit comments