Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Yes, you can achieve this using the cfmx7 SMS gateway. You can use the sourceAddress parameter to specify the sender's phone number. For example, the following code would send an SMS with the source address 1234567890:
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "to": "1234567890", "message": "This is a test message.", "sourceAddress": "1234567890" }' \ https://api.cloudfusion.com/sms/v1/send
Note that you will need to have the sender's phone number registered in CloudFusion as a gateway. You can do this by following these steps:
Once the sender's phone number is registered, you can use it as the sourceAddress parameter when sending SMS messages.