appwrite/docs/examples/1.6.x/server-php/examples/messaging/create-twilio-provider.md
2024-07-03 17:25:40 +02:00

577 B

setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); $result = $messaging->createTwilioProvider( providerId: '', name: '', from: '+12065550100', // optional accountSid: '', // optional authToken: '', // optional enabled: false // optional );