customer-engagement
knowledge-base
knowledge-base-attachments
Upload attachment
Uploads a file as a new knowledge base attachment. The file is validated and stored.
post/knowledge-base/1/attachments
Request
- Base URLhttps://api.infobip.com (the document declares no server; this is the origin it was published from)
- Auth
- OAuth 2Client credentialsToken URL: https://api.infobip.com/auth/1/oauth2/token
- or API key in header Authorization
- or API key in header Authorization
- or HTTP basic
Request body multipart/form-data
Response
Attachment uploaded successfully
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.