mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
543 B
543 B
import { Client, Messaging } from "@appwrite.io/console";
const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID
const messaging = new Messaging(client);
const result = await messaging.createVonageProvider( '<PROVIDER_ID>', // providerId '', // name '+12065550100', // from (optional) '<API_KEY>', // apiKey (optional) '<API_SECRET>', // apiSecret (optional) false // enabled (optional) );
console.log(response);