document_type and the file are required. Optionally scopes the document to a specific connection via xc_connection_id.authorization: ********************curl --location 'https://qa-api.kiolinkapp.com/v1/xc/requests/xcr_HfS91NpO4hlFOKTL/documents' \
--header 'authorization: <api-key>' \
--form 'file=@"C:\\Users\\Guido\\Downloads\\Documento_prueba.pdf"' \
--form 'document_type="SOW"' \
--form 'xc_connection_id=""'{
"id": "xcd_5wtWgLufm9bz2Z2x",
"xc_request_id": "xcr_IDdyW7BUIcvfokp4",
"xc_connection_id": null,
"document_type": "SOW",
"storage_url": "uploads/event_files/xc/XC-2025-000006/SOW_1764992773752_XC-2025-000006_KIOLink_-_Portal_XC_RFC.pdf",
"file_name": "KIOLink - Portal XC_RFC.pdf",
"mime_type": "application/pdf",
"file_size_bytes": 1459493,
"uploaded_by_user_id": "6924a8df0f890e30be312081",
"docusign_envelope_id": null,
"uploaded_at": "2025-12-06T03:46:14.000Z"
}