cURL
curl --request POST \ --url https://app.phonely.ai/api/agent-documents \ --header 'Content-Type: multipart/form-data' \ --header 'X-Authorization: <api-key>' \ --form 'uid=<string>' \ --form 'agentId=<string>' \ --form files=@example-file
{ "message": "<string>", "documentIds": [ "<string>" ] }
Upload documents to an agent’s knowledge base. Maximum 10 files, each under 10MB. Supports PDF, DOCX, and TXT files.
Files uploaded successfully
The response is of type object.
object