HomeGuidesAPI ReferenceChangelog
Terms of Use
API Reference

Knowledge base media / Create

⚠️ Experimental endpoint — not yet a stable contract. This resource ships as experimental / beta. While experimental, its schema and behaviour may change without a version bump — including breaking changes within v1.0 itself. Anyone consuming it does so for evaluation only, or by coordinating adoption with their account manager so changes can be sequenced with them. It graduates to a stable, version-locked contract (where the normal breaking-change rules apply) only when this experimental notice is removed.

Create media from a file to upload or from a public address. With fileName, the answer carries uploadUrl; send the file there with PUT within an hour, and the media becomes ready. With sourceUrl, the file is downloaded before the answer, which carries the ready media and its reference. Sending both or neither is refused with 422.

Available only on the platform's central knowledge base; on any other platform the request is answered with 404.

Required permission: KnowledgeBaseContent.manage

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

⚠️ Experimental endpoint — not yet a stable contract. This resource ships as experimental / beta. While experimental, its schema and behaviour may change without a version bump — including breaking changes within v1.0 itself. Anyone consuming it does so for evaluation only, or by coordinating adoption with their account manager so changes can be sequenced with them. It graduates to a stable, version-locked contract (where the normal breaking-change rules apply) only when this experimental notice is removed.

Send exactly one of fileName and sourceUrl.

string
length ≤ 255

Name of the file to upload. The answer carries uploadUrl, where the file is then sent.

uri

Public http or https address to download the file from. The file is downloaded before the answer, which carries the ready media. A file that cannot be downloaded, is too large or has an unsupported type is refused with 422 and its reason.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json