Upload Agent App File
Upload a file for an Agent app conversation. Use the returned id as upload_file_id in the files array when calling Send Agent App Message. Uploaded files are scoped to the same user value.
Authorizations
API Key authentication. For all API requests, include your API Key in the Authorization HTTP Header, prefixed with Bearer. Example: Authorization: Bearer {API_KEY}. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences.
Body
File upload request. Requires multipart/form-data.
Response
File uploaded successfully.
Unique file ID.
File name.
File size in bytes.
File extension.
MIME type of the file.
ID of the user who uploaded the file.
Upload timestamp (Unix epoch seconds).
Preview URL for the file.
Source URL of the file.
Original URL of the file.
ID of the associated user.
ID of the associated tenant.
ID of the associated conversation.
Storage key for the file.