Salesforce

Subscribe to a mailbox

« Go Back
Information
Subscribe to a mailbox
000004246
Public
Product Selection
aiWare - aiWare
Article Details

Subscriptions in GraphQL are a way to create and maintain a real time connection between the application and the server. Subscribing to a mailbox ensures notifications are received from that mailbox.

Steps

  • Use the subscription type and call notificationPosted().
subscription Mailbox {
# ID of the mailbox to subscribe to
  notificationPosted(notificationMailboxId: String) {
    id
    body
    contentType
    flags
    createdDateTime
    readDateTime
    updatedDateTime
    __typename
  }
}
Additional Technical Documentation Information
Properties
1/28/2025 7:39 PM
1/28/2025 7:40 PM
1/28/2025 7:40 PM
Documentation
Documentation
000004246
Translation Information
English

Powered by