ShareFile Client Hub API Test ============================ Getting access token... ✅ Got access token Testing potential Client Hub endpoints: ======================================= Testing: Client Hub Endpoint: https://cazarin.sf-api.com/sf/v3/ClientHub ------------------------------------------------ HTTP Code: 404 ❌ NOT FOUND: Endpoint doesn't exist Testing: Client Hub Clients Endpoint: https://cazarin.sf-api.com/sf/v3/ClientHub/Clients ------------------------------------------------ HTTP Code: 404 ❌ NOT FOUND: Endpoint doesn't exist Testing: Client Hub Accounts Endpoint: https://cazarin.sf-api.com/sf/v3/ClientHub/Accounts ------------------------------------------------ HTTP Code: 404 ❌ NOT FOUND: Endpoint doesn't exist Testing: Business Clients Endpoint: https://cazarin.sf-api.com/sf/v3/BusinessClients ------------------------------------------------ HTTP Code: 404 ❌ NOT FOUND: Endpoint doesn't exist Testing: Client Accounts Endpoint: https://cazarin.sf-api.com/sf/v3/ClientAccounts ------------------------------------------------ HTTP Code: 404 ❌ NOT FOUND: Endpoint doesn't exist Testing: External Clients Endpoint: https://cazarin.sf-api.com/sf/v3/ExternalClients ------------------------------------------------ HTTP Code: 404 ❌ NOT FOUND: Endpoint doesn't exist Testing: Client Portal Endpoint: https://cazarin.sf-api.com/sf/v3/ClientPortal ------------------------------------------------ HTTP Code: 404 ❌ NOT FOUND: Endpoint doesn't exist Testing: Client Portal Clients Endpoint: https://cazarin.sf-api.com/sf/v3/ClientPortal/Clients ------------------------------------------------ HTTP Code: 404 ❌ NOT FOUND: Endpoint doesn't exist Testing: Accounts (Company) Endpoint: https://cazarin.sf-api.com/sf/v3/Accounts ------------------------------------------------ HTTP Code: 200 ✅ SUCCESS: Endpoint exists and is accessible Testing: Accounts (Business) Endpoint: https://cazarin.sf-api.com/sf/v3/Accounts?AccountType=Company ------------------------------------------------ HTTP Code: 200 ✅ SUCCESS: Endpoint exists and is accessible Testing Client Creation with Different Endpoints: ================================================= Testing POST: Accounts Endpoint Endpoint: https://cazarin.sf-api.com/sf/v3/Accounts Payload: { "AccountType": "Company", "CompanyName": "Test Business Client 2026-01-30 15:26:43", "FirstName": "John", "LastName": "Doe", "Email": "john.doe.1769786803@testbusiness.com", "ClientID": "TEST1769786803" } ------------------------------------------------ HTTP Code: 404 Response: {"code":"NotFound","message":{"lang":"en-US","value":"Route not found."},"reason":"NotFound"} ❌ NOT FOUND: Endpoint doesn't exist Testing POST: Client Hub Clients Endpoint: https://cazarin.sf-api.com/sf/v3/ClientHub/Clients Payload: { "AccountType": "Company", "CompanyName": "Test Business Client 2026-01-30 15:26:43", "FirstName": "John", "LastName": "Doe", "Email": "john.doe.1769786803@testbusiness.com", "ClientID": "TEST1769786803" } ------------------------------------------------ HTTP Code: 404 Response: {"code":"NotFound","message":{"lang":"en-US","value":"Route not found."},"reason":"NotFound"} ❌ NOT FOUND: Endpoint doesn't exist Testing POST: Business Clients Endpoint: https://cazarin.sf-api.com/sf/v3/BusinessClients Payload: { "AccountType": "Company", "CompanyName": "Test Business Client 2026-01-30 15:26:43", "FirstName": "John", "LastName": "Doe", "Email": "john.doe.1769786803@testbusiness.com", "ClientID": "TEST1769786803" } ------------------------------------------------ HTTP Code: 404 Response: {"code":"NotFound","message":{"lang":"en-US","value":"Route not found."},"reason":"NotFound"} ❌ NOT FOUND: Endpoint doesn't exist Based on the results above, we'll determine the correct Client Hub API. Note: If none of these work, the Client Hub API might be: 1. Available only in certain ShareFile plans 2. Located at a different endpoint 3. Requiring different permissions 4. Not available via API (admin-only via web interface)