Pass parameters to first message URL?
# support
j
I use a dynamically generated mp3 as the first message - this works very well. Is it possible to pass parameters along with this? I would like to access the caller's phone number. If this is not possible through this method, is there a way to retrieve this information via server messages or something similar and send a dynamic message as the first_message? Thank you!
v
@jooles Yes, it is possible to pass parameters along with dynamically generated MP3 messages. You can use dynamic variables to personalize the message based on the caller's information, such as their phone number. If you want to access the caller's phone number and use it as a dynamic variable, you would typically need to ensure that your system captures this information at the start of the call. If your current setup does not allow for passing the phone number directly as a parameter, you might consider using server-side logic to retrieve the caller's phone number and then generate the dynamic message accordingly. This could involve using a webhook or an API call to your server at the beginning of the call to fetch the necessary details and then use those details to create a personalized message. If you need further assistance on how to set this up or if you have any specific questions about the implementation, please ask support for more info on this.
You can continue this conversation by mentioning me in the message.
j
Just give me an example about how to pass a parameter to the url for the first_message please 🙂 @User
solved, I do it differently
12 Views