Include attachment details in MMS webhooks
C
Controlled Wallaby
As a Salesmsg user integrating via the API and webhooks, I'd like a reliable way to connect an MMS attachment to the message and conversation it belongs to.
Right now, the incoming/outgoing MMS webhook gives us message.id and conversation_id, but GET /attachments/recently returns attachments with no message_id, conversation_id, or created_at on them. There's no way to match an attachment back to the webhook event that triggered it, especially when multiple MMS messages come in around the same time.
It would help to have either:
- An endpoint to fetch attachments filtered by message_id
- An endpoint to fetch attachments filtered by conversation_id
- Or simply have the webhook payload include the attachment URL/ID directly alongside message.id
Any of these would let us reliably sync MMS attachments into our own systems (in our case, Monday.com) without guessing which attachment belongs to which message.
Created by Susie Trent
Chris Brisson
Hi Controlled Wallaby — thanks for laying this out so clearly. Totally hear you on how tough it is to reliably map MMS attachments back to the right message/conversation when the webhook only includes message.id + conversation_id and /attachments/recently doesn’t return message_id/conversation_id/created_at. This feedback is super helpful; we’re going to dig into options like filtering attachments by message_id or conversation_id, or including the attachment ID/URL directly in the webhook payload, and we’ll follow up once we have an update.