mirror of
https://github.com/appwrite/appwrite
synced 2026-05-17 14:08:39 +00:00
577 B
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
);