EDIT: According to this, what I want may not be possible. This looks like a promising solution, but as of June 2023, it seems to be in preview.
I am implementing a simple notification service for my web app using Twilio Whatsapp Templates. My template has already been approved and is ready to use. I want to be able to send Twilio call to action but with variables. The Twilio console's UI allows to specify Phone or website calls to actions, but it asks for a hard-coded value. My app is sending a new order notification message, so the values for the website and the phone are not always the same and depend on the order being placed. How can I send templated messages but with a programmatic call to action?
Thins I have checked:
It seems quite pointless to be able to send call to action in messages but only allow hard-coded ones.
Is there a workaround for this?
Thank you in advance.
P.S: I am using the Node.js API which does not mention any additional parameters other than to, from and body to send the message.
You already answered your own question correctly. The Content API is the right service you want to focus on.
Therefore, I would encourage you to request access by filling out this form or contact your AE/SE (if you have one).