customer-engagement
knowledge-base
knowledge-base-attachments

Get attachment details

Returns the details of a specific attachment including its metadata and download URL.

get/knowledge-base/1/attachments/{attachmentId}

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Path parameters

attachmentIdstring uuid required

Unique identifier of the attachment.

Response

Attachment details returned successfully

idstring uuid required

Unique identifier of the attachment.

namestring required

Name of the attachment.

downloadPublicUrlstring required

Public URL for downloading the attachment from CDN.

publicContentUrlstring

Public URL for accessing the attachment in Public Content.

contentTypestring required

MIME type of the attachment.

sizeInBytesinteger required

Size of the attachment in bytes.

scope'INTERNAL' | 'EXTERNAL' required

Content scope of the node.

Example response

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "name": "product-overview.pdf",
  "downloadPublicUrl": "https://cdn.example.com/attachments/product-overview.pdf",
  "publicContentUrl": "https://public.example.com/attachments/product-overview.pdf",
  "contentType": "application/pdf",
  "sizeInBytes": 1048576,
  "scope": "INTERNAL"
}

Changes

No recorded changes to this operation across all 1 revision of this API.