Uploads a base64-encoded file and links it to the record given by contextId, or to the current user if contextId is omitted, returning a ContentDocument Id the caller can reference in later requests (e.g. via fetch_file_content). mimeType is required and determines the file's type — the extension on fileName is not used for this.
Security
bearerAuth
- https://sx-developer.kantata.com/services/apexrest/KSXhttps://sx-developer.kantata.com/services/apexrest/KSX/api/agent-files
curl -i -X POST \
https://sx-developer.kantata.com/services/apexrest/KSX/api/agent-files \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'