Chat icon

Chat

Interact with the Chat API

Actions253

Conversation → Update Attachment Metadata

AI-generated

Summary

Update the metadata of a conversation attachment

Inputs

  • accountId (required) — Select the account to use.
  • inboxId (required) — Select the inbox to use.
  • conversationId (required) — Select the conversation to use.
  • messageId (required) — The message containing the attachment.
  • attachmentId (required) — The attachment to update.
  • attachmentMeta (required) — Metadata as a JSON object to set on the attachment (e.g., { "transcribed_text": "...", "image_description": "..." })

Output shape

the updated attachment record

Returns the full attachment object on success; errors return a standard error envelope.

Examples

Example 1: Update metadata for an attachment in a specific conversation

accountId: "123", inboxId: "45", conversationId: "67", messageId: "89", attachmentId: "101", attachmentMeta: {"transcribed_text": "Hello"}

Links

Discussion