Upload and link document
Uploads a file and immediately links it to the agent session.
POST
Upload and link document
Response
Successful Response
Custom API metadata resolved for the current user. Useful for retrieving stored external references (e.g. {'internal_app_ref': 'REF-123'}). Note: This value is resolved based on the request's external_user_id. A document shared globally but also scoped to a specific user may return different metadata depending on who is asking.

