cURL
curl --request POST \ --url https://json.ricardofuentes.dev/api/v1/sms/send \ --header 'Content-Type: application/json' \ --data ' { "to": "<string>", "message": "<string>" } '
{ "success": true, "data": { "id": "sms_01a...", "status": "delivered", "to": "+51999000111", "segments": 1 } }
Envía un mensaje SMS a cualquier número peruano
curl -X POST https://json.ricardofuentes.dev/api/v1/sms/send \ -H "Authorization: Bearer tu_token" \ -H "Content-Type: application/json" \ -d '{ "to": "+51999000111", "message": "Tu código de verificación es: 123456" }'