Skip to main content

Uploads a file for a specific agent using a URL.

POST 

/api/v2/KnowledgeFile/upload

This endpoint accepts JSON requests with a URL pointing to the file to be uploaded.

Request

Query Parameters

    culture string

    Use this param to override the culture of the response. Options: - en (default) - es

Body

Request object containing the agent code, content URL, and optional file name.

    agentCode stringrequired

    Possible values: non-empty

    Identifier of the agent.

    contentUrl stringrequired

    Possible values: non-empty

    The url provides the knowledge file to be uploaded

    fileName stringrequired

    Possible values: non-empty

    Name by which the uploaded file will be named

Responses

OK

Loading...