cURL
curl --request POST \ --url https://api.getoutbox.ai/agent/file \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "agent_id": "<string>", "text": "<string>", "name": "<string>", "urls": "<string>" } '
Upload a file to an agent (file upload, text content, or web scraping)
Company API Key
File upload options - text content, file upload, or URLs for web scraping
ID of the agent
Text content (for text upload option)
Name of the file (required when using text option)
Newline-separated URLs for web scraping (for web scraping option)
File uploaded successfully