cURL
curl --request PATCH \ --url https://api.getoutbox.ai/agent/file/{file_id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "text": "<string>" } '
Update the text content of an existing file
Company API Key
The ID of the file to update
New file content
New text content for the file
File updated successfully