Uploads a file for a specific agent using a file Id.
POST/api/v2/KnowledgeFile/upload/:agentCode/file
This endpoint accepts JSON requests with a URL pointing to the file to be uploaded.
Request
Path Parameters
agentCode stringrequired
The unique code that identifies the agent.
Query Parameters
culture string
Use this param to override the culture of the response. Options: - en (default) - es
- application/json
- text/json
- application/*+json
Body
Request object containing the file Id.
fileId uuidrequired
Identifier of the file.
Body
Request object containing the file Id.
fileId uuidrequired
Identifier of the file.
Body
Request object containing the file Id.
fileId uuidrequired
Identifier of the file.
Responses
- 200
- 400
- 401
- 403
- 500
OK
There was a validation error. Please check your request data.
- application/json
- Schema
- Example (from schema)
Schema
message stringnullable
errors
object
nullable
property name* string
{
"message": "string",
"errors": {}
}
The user is unauthorized or the session expired
The user does not have permission
There was an unexpected error
Loading...