Skip to main content
GET
Get an attachment's metadata

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

conversationId
string
required
attachmentId
string
required

Response

Metadata

id
string
name
string
mimeType
string
sizeBytes
integer
status
string

pending until a message binds the attachment; bound attachments carry the message's lifecycle.

direction
enum<string>

inbound = the person's message; outbound = the agent's reply.

Available options:
inbound,
outbound
caption
string | null
createdAt
string<date-time>