messages

Get a link to a message file

A link to one file a message carried (an image, a voice message, a PDF), signed for 15 minutes. Pick the file by its index in item.attachments; the LLM context names it [file {sid}#{index}]. Only a stored file has one: any other is 409 attachment_not_stored (context.state and context.attachment_reason say why), an index past the list 404. A voice message's words need no link: they are attachments[].transcript.

Contract:

  • MCP tool get_message_attachment_link, registry package mcp.unibox/messages, mount unibox.inbox.
  • Operation action, response envelope action.
  • Flags: read only.
get/api/messages/{sid}/attachment-link

Request

  • Base URL
    https://beta.getsales.io/unibox/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Path parameters

sidstring required

The message that carried the file.

Query parameters

indexinteger required

The file's place in item.attachments, from 0.

Response

action success envelope.

successtrue required
operation'action' required
actionstring required

kebab-case verb; matches the route segment.

Changes

No recorded changes to this operation across all 1 revision of this API.