GET
/
api
/
v1
/
media
/
{attachment_id}
/
info
{
  "id": "<string>",
  "attachment_type": "image",
  "file_name": "<string>",
  "mime_type": "<string>",
  "file_size": 123,
  "storage_path": "<string>",
  "storage_provider": "local",
  "file_metadata": {},
  "created_at": "2023-11-07T05:31:56Z",
  "download_url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

attachment_id
string
required

Response

Successful Response

id
string
required
attachment_type
enum<string>
required
Available options:
image,
video,
audio,
document
file_name
string
required
mime_type
string
required
file_size
integer
required
storage_provider
enum<string>
required
Available options:
local,
gcs,
s3,
azure
created_at
string<date-time>
required
storage_path
string | null
file_metadata
object | null
download_url
string | null