Home / Companies / Vonage / Blog / Post Details
Content Deep Dive

Using Vonage APIs with MongoDB Atlas - Part 5

Blog post from Vonage

Post Details
Company
Date Published
Author
Chris Tankersley
Word Count
1,821
Language
English
Hacker News Points
-
Summary

This summary provides a concise overview of how to use Vonage's In-App Messaging API for notifications in a web application, specifically in the context of MongoDB Atlas. The API allows developers to send textual messages from one client device to another, and is part of a comprehensive set of API call conversations that include In-App Voice. The Web Client SDK for In-App Messaging can be used with modern web browsers, iOS, Android, and other platforms. To use the API, developers need to authenticate through their application using a JWT token generated by the Vonage Application, which is signed with a private key. Once authenticated, the developer can send notifications to logged-in admin users, who will receive a pop-up notification with a link to a meeting that has been requested. The API also includes methods for adding events to conversations and handling incoming messages. The example code demonstrates how to generate a JWT token, connect to the Vonage Application, and push an event into a conversation using the Conversations API.