Liveblocks icon

Liveblocks

Call the Liveblocks REST API (rooms, comments, feeds, Yjs, AI, and more)

Attachment → Get

AI-generated

Summary

Retrieve detailed information about a specific attachment in a Liveblocks room using its Room ID and Attachment ID.

Inputs

  • Room ID (required) — The identifier of the Liveblocks room containing the attachment.
  • Attachment ID (required) — The unique identifier of the attachment to retrieve.
  • Include Request in Error — Optional flag to include detailed request information (URL, method, headers, body) in error messages for debugging failed API calls.

Output shape

An object containing details of the specified attachment.

Requires both Room ID and Attachment ID parameters. If the API call fails, errors may include additional request details if 'Include Request in Error' is set to true.

Links

Discussion