sendTestNotification mutation
Sends a test notification using the specified event type and payload. The notification is sent to the notification profile's configured callback URL.
Syntax
1mutation {2 sendTestNotification(5}
Example
- Request
- Response - Success
- Response - Failure
1mutation {2 sendTestNotification (3 input: {4 eventType : "messageReceived",5 payload : {6 payloadField: "Test message"7 }8 })9 {10 outcome11 httpStatusCode12 error {13 code14 message15 }16 }17}
Arguments
Name | Description |
---|---|
| Required. Type: SendTestNotificationInput |
Types
Name | Type | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Int | Int | |||||||||
The | ||||||||||
JSON | JSON | |||||||||
JSON values as specified by ECMA-404. | ||||||||||
SendTestNotificationInput | InputObject | |||||||||
SendTestNotificationPayload | Object | |||||||||
Payload to send when testing notifications.
| ||||||||||
String | String | |||||||||
The | ||||||||||
TestNotificationError | Object | |||||||||
TestNotificationOutcome | Enum | |||||||||
Test notification error values.
|