Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Aprenda a usar o SDK de PHP para enviar SMS com a API.
composer require rewritetoday/rewrite-php
REWRITE_API_KEY=rw...
<?php require __DIR__ . '/vendor/autoload.php'; use RewriteToday\Rewrite; $rewrite = new Rewrite(getenv('REWRITE_API_KEY')); $message = $rewrite->messages->send([ 'to' => '+1234567890', 'content' => 'Your OTP code is 478201', ]); var_dump($message);