Listing all the mailboxes in your organization is an easy way to find out if you should subscribe to an existing mailbox or create a new one.
Steps
- To get a list of all mailboxes in your organization, call
notificationMailboxes().
query {
notificationMailboxes {
id
notificationTemplate
eventFilter {
eventNames
}
}
}
The response looks like this:
{
"data": {
"notificationMailboxes": [
{
"id": "33c15c28-8fa8-4cc0-82d3-176b5d57706d",
"notificationTemplate": "Library version training for engine is by job ",
"eventFilter": {
"eventNames": [
"LibraryTrainingComplete"
]
}
}
]
}
}