Skip to main content
POST
/
api
/
knowledge-items
/
{id}
/
attachment
Upload knowledge item attachment
curl --request POST \
  --url https://platform.kodexa.ai/api/knowledge-items/{id}/attachment \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form file='@example-file'
{}

Authorizations

x-api-key
string
header
required

API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.

Path Parameters

id
string<uuid>
required

Unique identifier (UUID) of the resource.

Body

multipart/form-data
file
file

The attachment file to upload.

Response

Attachment uploaded

The response is of type object.