List message attachments
const url = 'https://api.inside.chat/api/v1/conversations/example/messages/example/attachments?include_internal=false';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.inside.chat/api/v1/conversations/example/messages/example/attachments?include_internal=false' \ --header 'Authorization: Bearer <token>'Required scopes:
file_read,conversation_read,message_content_read,contact_read_pii
Data access:message_content,pii
MCP tool:conversation_message_attachments
Note:include_internaladdsinternal_notes_read
Read bounded stored attachment metadata for an exact permitted conversation message. Requires explicit file_read and transcript grants. Internal messages require notes opt-in. Returns basename, MIME and decimal size only; download/upload are unavailable.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Optional; if present must match the resource owner.
Continue at the last delivered owned resource ID. Existing canonical base64 positive signed-64-bit numeric history cursors are also accepted for transcript and visitor history.
Explicitly include stored internal messages. Requires internal_notes_read and the internal_notes data flag in addition to all transcript grants. Default is public messages only.
Responses
Section titled “Responses”Authorized result. Projection depends on current scopes and data policy.
object
object
Example
{ "data": { "visibility": "public", "download_available": false, "coverage": "persisted_message_attachment_metadata" }}Invalid, duplicate or unsupported request parameters.
Missing, expired or revoked installation credential.
Resource not found or not permitted by current authority.
The requested capability is not available for application installations.
Per-app quota exceeded.
Headers
Section titled “Headers”Enrollment, native service or required authority is unavailable.