Twilio SMS - specific alphanumeric sender ID
Hi everyone, does anyone know if this is possible to override the
from
field before Novu sends the request to Twilio for sending an SMS? So that instead of receiving an SMS from a phone number, you see an alphanumeric sender ID. See here for reference: https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-idSending Messages
Send SMS messages with Twilio's API. Learn the basics of sending an SMS, message delivery statuses, adding media to your messages, and outbound message rate limits.
13 Replies
@Pawan Jain @omerbenami @dimagrossman can you please help here? Thanks!
@Pawan Jain I believe this could be done from the overrides API, could you double check and if not I believe it should be a very easy fix to allow that from there
Sure, Will look into this
Thank you all 😊
Any update on this please? @dimagrossmanYou mentioned about an overrides API, I take it you are talking about this
overrides
object in https://docs.novu.co/api/trigger-event/ ? Is there any example on how to use this overrides
object? Thanks@Boum It will be like this
https://docs.novu.co/channels/email/#sending-email-overrides
replace email with sms
overrides: {
sms: {
to: [''],
from: ''
},
},
I just checked, overrides is not working for twilio
As per twilio docs. you first have to register this alphanumeric code. You can not use some random ID in from field
Hi @Pawan Jain , thanks for looking into it. Last week, I've used Twilio's API directly and did set the
from
in the request payload to a string which worked out of the box (I received a text with the value I set for from
). I also tried different notification tools such as Courier and it worked too.@Boum, you just advanced to level 1!
Here's the bit of the Twilio doc that says it's as simple as setting
from
to a string rather than a phone number: https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-idSending Messages
Send SMS messages with Twilio's API. Learn the basics of sending an SMS, message delivery statuses, adding media to your messages, and outbound message rate limits.
Thanks for sharing @Boum
I will again check. My account is in trial mode. I will check again after upgrade
@Pawan Jain any update on this?
@Pawan Jain do we have an issue created for this?
No, creating now