Uploads a file for a specific agent using multipart/form-data.
POST/api/v2/KnowledgeFile/upload/:agentCode
This endpoint accepts multipart/form-data requests and processes the uploaded file.
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
- multipart/form-data
 
Body
Array [
]
ContentType string
ContentDisposition string
Headers
object
property name*
string[]
string
Length int64
Name string
FileName string
Responses
- 200
 - 400
 - 401
 - 403
 - 500
 
Success
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...