addNotificationRecipient
Create a notification recipient.
addNotificationRecipient(
input: AddNotificationRecipientInput
): AddNotificationRecipientPayload
Example
- Query
- Variables
- Response
mutation ($input: AddNotificationRecipientInput) {
addNotificationRecipient(input: $input) {
notificationRecipient {
createdAt
description
id
name
organizationId
recipientType
recipientValue
updatedAt
}
}
}
{
"input": {
"appId": "42",
"description": "A description",
"meta": {
"webhookVersion": "v0"
},
"name": "A name",
"organizationId": "42",
"recipientType": "EMAIL",
"recipientValue": "recipientValue"
}
}
{
"data": {
"addNotificationRecipient": {
"notificationRecipient": {
"createdAt": "2024-01-15T00:00:00.000Z",
"description": "A description",
"id": 42,
"name": "A name",
"organizationId": 42,
"recipientType": "EMAIL",
"recipientValue": "recipientValue",
"updatedAt": "2024-01-15T00:00:00.000Z"
}
}
}
}
Arguments
addNotificationRecipient.input ● AddNotificationRecipientInput input common
The notification recipient to create.
Type
AddNotificationRecipientPayload object common
The result of creating a notification recipient.