---
title: "Get attachment details"
method: GET
path: "/knowledge-base/1/attachments/{attachmentId}"
tags: ["customer-engagement", "knowledge-base", "knowledge-base-attachments"]
---

# Get attachment details

`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)
- URL: `https://api.infobip.com/knowledge-base/1/attachments/{attachmentId}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

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

## Path parameters

- `attachmentId` string, uuid, required

## Response `200`

Attachment details returned successfully

- 09ef6171198229ad9a73a413d2271afa3ba31b9abbd6cd8a0cc9563fd721f1edAttachmentDetailResponse
  - `id` string, uuid, required: Unique identifier of the attachment.
  - `name` string, required: Name of the attachment.
  - `downloadPublicUrl` string, required: Public URL for downloading the attachment from CDN.
  - `publicContentUrl` string: Public URL for accessing the attachment in Public Content.
  - `contentType` string, required: MIME type of the attachment.
  - `sizeInBytes` integer, required: Size of the attachment in bytes.
  - `scope` 'INTERNAL' | 'EXTERNAL', required: Content scope of the node.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
