Solved

API Create conversation with attachments SMS Filename

  • 31 October 2023
  • 3 replies
  • 152 views

I’m trying to send a SMS message on a Twilio channel using the API and Postman with a contact card / vcard and it doesn’t appear to play well with attachment files. Or maybe something is missing in the documentation.

I get a success response, and the sms comes through with the attachment, however the attachment doesn’t use the name or the file type so the user can’t just tap the attachment to add to contacts.
It does show up correctly in the Front UI.

From API Response:

"attachments": [
{
"id": "fil_231iuypv",
"url": "https://equipmentshare-com.api.frontapp.com/download/fil_231iuypv",
"filename": "vcard.vcf",
"content_type": "text/x-vcard",
"size": 2238,
"metadata": {
"is_inline": false
}
}
],



 How the message comes through. It shows as a plain text file that you have to download, then rename to open. It should use the name provided from Postman.

 

icon

Best answer by jason 13 November 2023, 19:25

View original

3 replies

Userlevel 4
Badge +7

Hi Ray,

I’m going to reach out to you via email to get some more specific information to this case.

Badge

Hello! I have come across the same issue when trying to send .vcf files. Did you find any luck @jason @ray_holland 

Userlevel 4
Badge +7

Hi @becca 

It looks like this is a bug on Front’s side 😳

Our team are working on it. We’ll share an update here when it’s been resolved

Reply