Questions tagged [twilio-conversations]

Twilio Conversations is an API for building multi-channel conversation-applications using Twilio platform services for a unified communication using chat, SMS, whatsapp, etc.

137 questions
0
votes
1 answer

How can I send shortened links using Twilio Conversation API

Twilio has a Link Shortening service, but it seems like it's only available for the Programmable Messaging API, here's what it's like to create a Message and enable Link Shortening using the Messaging API: // Download the helper library from…
xanadev
  • 751
  • 9
  • 26
0
votes
0 answers

Does twilio modify audio message to make it browser/device compatible?

I want to implement voice message functionlaity in a web chat that uses twilio. And have issue with it not playing in Mac Safari and ios app (the same app that uses twilio as well) devices. I suppose the problem might be in the mime type of the…
Crafty
  • 25
  • 6
0
votes
1 answer

Conversation Adding Second Phone Number Error 'Group MMS is not enabled'

In Twilio via the Rest API, I have Generated a conversation fine Added in a 'user' with a projected address of a Twilio phone number Added in myself as a participant with the address being my phone number Finally, I went to add one more participant…
0
votes
0 answers

[twilio]: How to set Participant while sending message in twilio conversation and how to validate the Participant has permission to send message?

My requirement is forbid some participants not to send messages in conversation? how to achieve that? I created a role as below and attached roleid to the coversation participant. So how to validate the participant not to send message in this…
G Gopikrishna
  • 51
  • 1
  • 5
0
votes
1 answer

Twilio: Getting "Conflict" error while adding the participant to the Conversion

Facing issue while adding the non chat participants using the JS SDK in twilio conversation I have done following things to add the non chat participants in the JS SDK Twilio.Conversations.Client.create(token).then(client => { …
0
votes
0 answers

How to use call-to-action in Studio Flow without using WhatsApp templates?

I need to implement a menu similar to this example. But instead of expecting the user to answer with a number, I'd like to use Quick Reply Button, but without using WhatsApp Templates. Is it possible to use this feature inside a "Send & Wait For…
0
votes
0 answers

Conversations API: Participant leaving errors out for certain participants

The error message returned from conversation.leave() (along with conversation.removeParticipant) is: Uncaught (in promise) Error: Transport failure: UPSTREAM_REQUEST_PARSING_FAILURE Using this code to initialize my conversation. Here's the…
Logan Cundiff
  • 479
  • 8
  • 13
0
votes
1 answer

How to separate Test and Prod environment for WhatsApp Studio Flow?

I have bought two Twilio phone numbers which are validate and configured by Twilio and WhatsApp. I created two Conversation Services ("Main Conversation Service" (SID:IS1234) and "Dev Conversation Service" (SID:IS4321) Both are configured as…
0
votes
1 answer

How to list all active conversation SIDs?

How can I get all conversations in an active state? I'm using this command to list all conversation SIDs, but I can't find a way to filter only the active ones. twilio api:conversations:v1:services:conversations:list \ --chat-service-sid…
0
votes
0 answers

Having trouble setting up push notifications for conversation messages

I am having some trouble setting up push notifications for conversations. I followed this guide to setup push notifications to web, and I integrated with firebase but it looks like it's not sending the notifications to firebase? I can see in the…
Christiaan
  • 19
  • 2
0
votes
2 answers

How do I get the conversation SID using data from Messaging Monitor screen?

I have an old Conversation's Channel ACTIVE with my phone number, so the incoming messages are not entering the Studio's flow. I need the Conversation's Channel SID so I can close that channel using the API Explorer. The only data I have is that the…
0
votes
0 answers

Twilio usage record for users participating in conversations

I want to display the count of users that are participating in conversation. By participating, I mean all actions that a user can take upon a conversation - create, send/read messages and so on. I found the pchat-users metric -…
0
votes
1 answer

CORS error: Request header field authorization is not allowed by Access-Control-Allow-Headers in preflight response

I'm trying to fetch an image resource that's part of a conversation message. I've tried both FETCH as well as using AXIOS but I'm getting the same error message. Here's an example of my FETCH request const token = `${accountSid}:${authToken}`; const…
Saumil Shah
  • 1,383
  • 2
  • 11
  • 20
0
votes
0 answers

Can we use Twilio conversation API with C# ASP.NET to show the conversations on SMS

I am able to initiate a conversation and add the participants using the Conversation API. These conversations are visible in the Twilio Conversation dashboard but I am unable to get these conversations on SMS. I talked with the Twilio support team…
0
votes
0 answers

Change Twilio Conversation Accesstoken expire time

I want to increase the token expire time to 24hrs. Is this right way to do that? I am getting 1 hour expire time limit by default. const generateToken = (config) => { return new AccessToken(config.accountSid, config.apiKey,…