Messaging_ BETA

Open source messaging service for developers

Set up messaging within minutes and send push notifications, emails, and SMS directly to your users.

Step 1: Draft

Push notification

Message


Sunday, October 1 9:41
APPWRITE now

Draft and preview your message before delivering it

See a preview of your crafted messages on the Console before sending them to your audience.

Step 2: Target

eleanor.pena@appwrite.io Eleanor's iPhone +1 123 456 2890 walter@appwrite.io +55 98142-4332 Toby's Pixel Toby's Laptop paige@appwrite.io +351 999 888 124

Select subscribers

  • Eleanor Pena  (0/3 targets)
  • Walter O'Brien  (0/2 targets)
  • Toby Curtis  (0/2 targets)
  • Paige Dineen  (0/2 targets)
  • Total results: 9

    0 Users selected

    Target and group your subscribers

    Segment your users based on topics using list subscriptions to send focused messages.

    Step 3: Schedule

    November 2024
    Sun Mon Tue Wed Thu Fri Sat
    03 : 25
    04 : 26
    05 : 27
    06 : 28
    07 : 29
    08 : 30
    09 : 31
    10 : 32
    11 : 33
    12 : 34
    13 : 35

    Schedule your messages

    Send messages immediately or schedule them for future delivery.

    Step 4: Send

    Communicate across multiple channels

    Pick one or more channels for you to deliver your message to your user.

    capabilities_

    All of your messages in one place

    • Push notifications

      Effortlessly send push notifications for seamless instant communication.

    • Emails

      Easily send emails for smooth communication and information sharing.

    • SMS

      Send SMS for quick updates beyond your app's environment.

    • In app notifications Coming Soon

      Send realtime alerts to your users within your application.

    • Chat Coming Soon

      Connect chat apps such as Slack, Discord, and WhatsApp.

      • Slack
      • Discord
      • WhatsApp
    SDKs_

    Start today with your preferred technologies

    Subscribe to a topic

    Subscribe to receive all messages related to a topic.

    import { Account, Messaging, ID } from "appwrite"
    
    // Fetch target ID
    const account = new Account(client)
    const user = await account.get()
    const targetId = user.targets[0].$id
    
    // Subscribe to a topic
    const messaging = new Messaging(client)
    await messaging.createSubscriber(
        ['news', 'sport'],   // Topic ID
        ID.unique(),         // Subscription ID
        targetId,            // Target ID
    )
    

    Send a message

    Send a message to all targets on a topic.

    Node.js
    import { Messaging, ID } from "node-appwrite"
    
    const messaging = Messaging(client);
    await messaging.createPush(
        ID.unique(),           // Message ID
        'Breaking update',     // Push title
        'Hello, world!',       // Push body
        ['news', 'sport'],       // Topic IDs
    );
    

    Keep exploring our products

    Start building today

    Get started

    Our plans

    • Free

      $0

      For personal hobby projects and students.

      Get started
    • Pro

      $15
      per member/month

      For pro developers and teams that need to scale their products.

      Start building
    • Scale

      $599
      per org/month

      For pro developers and production projects that need the ability to scale.

    • Enterprise

      Custom
      per org/month

      For enterprises that need more power and premium support.

      Contact us