N
Novu•2y ago
Boum

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-id
Sending 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
Tomer Barnea
Tomer Barnea•2y ago
@Pawan Jain @omerbenami @dimagrossman can you please help here? Thanks!
Dima Grossman
Dima Grossman•2y ago
@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
Pawan Jain
Pawan Jain•2y ago
Sure, Will look into this
Boum
BoumOP•2y ago
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
Pawan Jain
Pawan Jain•2y ago
@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
Boum
BoumOP•2y ago
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.
Novu_Bot
Novu_Bot•2y ago
@Boum, you just advanced to level 1!
Boum
BoumOP•2y ago
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-id
Sending 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.
Pawan Jain
Pawan Jain•2y ago
Thanks for sharing @Boum I will again check. My account is in trial mode. I will check again after upgrade
lukemawbey
lukemawbey•2y ago
@Pawan Jain any update on this?
Dima Grossman
Dima Grossman•2y ago
@Pawan Jain do we have an issue created for this?
Pawan Jain
Pawan Jain•2y ago
No, creating now
Want results from more Discord servers?
Add your server