Skip to main content
Answer

API Create conversation with attachments SMS Filename

  • October 31, 2023
  • 4 replies
  • 217 views

ray_holland

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.

 

Best answer by jason

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

4 replies

jason
Forum|alt.badge.img+8
  • Fronteer
  • October 31, 2023

Hi Ray,

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


Forum|alt.badge.img
  • Conversationalist
  • November 13, 2023

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


jason
Forum|alt.badge.img+8
  • Fronteer
  • Answer
  • November 13, 2023

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


jason
Forum|alt.badge.img+8
  • Fronteer
  • August 6, 2024

Following up on this - this issue should now be resolved. Let us know if you continue to run into any problems with SMS attachments, and we’ll take a closer look