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": h
{
"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.