{"info":{"_postman_id":"62ef2da8-77e1-4567-8393-b390461b498b","name":"Client Dynamics API","description":"<html><head></head><body><p>This API contains examples for sending and receiving data from your Client Dynamics portal.</p>\n<p>Please make sure to replace the values in the variables to point to your correct Client Dynamics URL, as well as authenticate with your agencyId and apiKey.</p>\n<p>This collection includes examples for Contacts, Policies, Quotes, Files, and Downloads endpoints.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1536198","collectionId":"62ef2da8-77e1-4567-8393-b390461b498b","publishedId":"2sBXwnusED","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-06-01T18:55:37.000Z"},"item":[{"name":"Contacts","item":[{"name":"help","item":[{"name":"Get help information for Contacts","id":"0a13d65d-0b3d-4db1-be76-9cebfc017221","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) </p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) </p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Contacts/help","urlObject":{"path":["Contacts","help"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[],"variable":[]}},"response":[{"id":"ad06cd5d-ddf7-48fe-9778-3b69411408d6","name":"Help information for contacts","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) "},{"key":"X-API-Key","value":"apiKey","description":"(Required) "}],"url":"https://defaultClient.clientdynamics.com/api/Contacts/help"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0a13d65d-0b3d-4db1-be76-9cebfc017221"}],"id":"4831395e-fa30-4b37-a46f-4c1e99825880","_postman_id":"4831395e-fa30-4b37-a46f-4c1e99825880","description":""},{"name":"list","item":[{"name":"Retrieve a list of Contacts","id":"f8e6f996-871a-4a16-949b-bafe3687c48d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) </p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) </p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Contacts/list?search_criteria=<string>&search_value=<string>&addtnl_search_criteria=<string>&addtnl_search_value=<string>","urlObject":{"path":["Contacts","list"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[{"description":{"content":"<p>(Required) Name of field you are searching IN (See help method for field names)</p>\n","type":"text/plain"},"key":"search_criteria","value":"<string>"},{"description":{"content":"<p>(Required) Value your are searching FOR</p>\n","type":"text/plain"},"key":"search_value","value":"<string>"},{"description":{"content":"<p>Additional Name of field you are searching IN (See help method for field names)</p>\n","type":"text/plain"},"key":"addtnl_search_criteria","value":"<string>"},{"description":{"content":"<p>Additional Value your are searching FOR (AND not OR)</p>\n","type":"text/plain"},"key":"addtnl_search_value","value":"<string>"}],"variable":[]}},"response":[{"id":"130da0c9-1e5d-4b80-948d-cac0be521da6","name":"A list of contacts","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) "},{"key":"X-API-Key","value":"apiKey","description":"(Required) "}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Contacts/list?search_criteria=<string>&search_value=<string>&addtnl_search_criteria=<string>&addtnl_search_value=<string>","host":["https://defaultClient.clientdynamics.com/api"],"path":["Contacts","list"],"query":[{"key":"search_criteria","value":"<string>","description":"(Required) Name of field you are searching IN (See help method for field names)"},{"key":"search_value","value":"<string>","description":"(Required) Value your are searching FOR"},{"key":"addtnl_search_criteria","value":"<string>","description":"Additional Name of field you are searching IN (See help method for field names)"},{"key":"addtnl_search_value","value":"<string>","description":"Additional Value your are searching FOR (AND not OR)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f8e6f996-871a-4a16-949b-bafe3687c48d"}],"id":"a90b47d9-0f8c-4763-9b36-e1fba82bf965","_postman_id":"a90b47d9-0f8c-4763-9b36-e1fba82bf965","description":""},{"name":"add","item":[{"name":"Add a Contact","id":"2847105a-be1c-480b-a0b6-dba323bc6d58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) </p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contact_status\": \"New Lead\",\n  \"fname\": \"<string>\",\n  \"lname\": \"<string>\",\n  \"mname\": \"<string>\",\n  \"bname\": \"<string>\",\n  \"address\": \"<string>\",\n  \"address_line2\": \"<string>\",\n  \"city\": \"<string>\",\n  \"state\": \"<string>\",\n  \"zip\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Contacts/add","urlObject":{"path":["Contacts","add"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[],"variable":[]}},"response":[{"id":"504348cc-1804-4717-9d8b-39d0ad09ae57","name":"Contact added","originalRequest":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) "},{"key":"X-API-Key","value":"apiKey","description":"(Required) "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contact_status\": \"New Lead\",\n  \"fname\": \"<string>\",\n  \"lname\": \"<string>\",\n  \"mname\": \"<string>\",\n  \"bname\": \"<string>\",\n  \"address\": \"<string>\",\n  \"address_line2\": \"<string>\",\n  \"city\": \"<string>\",\n  \"state\": \"<string>\",\n  \"zip\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Contacts/add"},"status":"Created","code":201,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"2847105a-be1c-480b-a0b6-dba323bc6d58"}],"id":"e9117859-b32e-4073-a291-1bd92e98361d","_postman_id":"e9117859-b32e-4073-a291-1bd92e98361d","description":""},{"name":"update","item":[{"name":"Update a Contact","id":"0a19cb08-b825-4253-ad00-2caac1428ce5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) </p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"ContactId\": \"<uuid>\",\n  \"fname\": \"<string>\",\n  \"mname\": \"<string>\",\n  \"lname\": \"<string>\",\n  \"bname\": \"<string>\",\n  \"address\": \"<string>\",\n  \"address_line2\": \"<string>\",\n  \"city\": \"<string>\",\n  \"state\": \"<string>\",\n  \"zip\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Contacts/update","urlObject":{"path":["Contacts","update"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[],"variable":[]}},"response":[{"id":"2181059c-3a34-44f6-8a2a-3277c8f63121","name":"Contact updated","originalRequest":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) "},{"key":"X-API-Key","value":"apiKey","description":"(Required) "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"ContactId\": \"<uuid>\",\n  \"fname\": \"<string>\",\n  \"mname\": \"<string>\",\n  \"lname\": \"<string>\",\n  \"bname\": \"<string>\",\n  \"address\": \"<string>\",\n  \"address_line2\": \"<string>\",\n  \"city\": \"<string>\",\n  \"state\": \"<string>\",\n  \"zip\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Contacts/update"},"status":"Created","code":201,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0a19cb08-b825-4253-ad00-2caac1428ce5"}],"id":"fc318273-c585-4cd9-804b-a615ec7ac358","_postman_id":"fc318273-c585-4cd9-804b-a615ec7ac358","description":""}],"id":"0194c1b9-6444-40b8-bd4f-6b5c9a5b915f","_postman_id":"0194c1b9-6444-40b8-bd4f-6b5c9a5b915f","description":""},{"name":"Policies","item":[{"name":"help","item":[{"name":"Get help information for Policies","id":"ed44a383-fdf8-41ce-b59c-6eadfac1ea03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) </p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) </p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Policies/help","urlObject":{"path":["Policies","help"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[],"variable":[]}},"response":[{"id":"423bd04d-0864-4bad-b34b-c3a58362963e","name":"Help information for Policies","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) "},{"key":"X-API-Key","value":"apiKey","description":"(Required) "}],"url":"https://defaultClient.clientdynamics.com/api/Policies/help"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ed44a383-fdf8-41ce-b59c-6eadfac1ea03"}],"id":"02de955e-e807-492b-9392-7b462f3de474","_postman_id":"02de955e-e807-492b-9392-7b462f3de474","description":""},{"name":"list","item":[{"name":"Retrieve a list of Policies","id":"30c8c608-cd18-4a6c-aad7-ad465b94a1d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) </p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) </p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Policies/list?search_criteria=<string>&search_value=<string>&addtnl_search_criteria=<string>&addtnl_search_value=<string>","urlObject":{"path":["Policies","list"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[{"description":{"content":"<p>(Required) Name of field you are searching IN (See help method for field names)</p>\n","type":"text/plain"},"key":"search_criteria","value":"<string>"},{"description":{"content":"<p>(Required) Value your are searching FOR</p>\n","type":"text/plain"},"key":"search_value","value":"<string>"},{"description":{"content":"<p>Additional Name of field you are searching IN (See help method for field names)</p>\n","type":"text/plain"},"key":"addtnl_search_criteria","value":"<string>"},{"description":{"content":"<p>Additional Value your are searching FOR (AND not OR)</p>\n","type":"text/plain"},"key":"addtnl_search_value","value":"<string>"}],"variable":[]}},"response":[{"id":"2ada8072-1e28-4242-ac27-81c31064d2c4","name":"A list of Policies","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) "},{"key":"X-API-Key","value":"apiKey","description":"(Required) "}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Policies/list?search_criteria=<string>&search_value=<string>&addtnl_search_criteria=<string>&addtnl_search_value=<string>","host":["https://defaultClient.clientdynamics.com/api"],"path":["Policies","list"],"query":[{"key":"search_criteria","value":"<string>","description":"(Required) Name of field you are searching IN (See help method for field names)"},{"key":"search_value","value":"<string>","description":"(Required) Value your are searching FOR"},{"key":"addtnl_search_criteria","value":"<string>","description":"Additional Name of field you are searching IN (See help method for field names)"},{"key":"addtnl_search_value","value":"<string>","description":"Additional Value your are searching FOR (AND not OR)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"30c8c608-cd18-4a6c-aad7-ad465b94a1d2"}],"id":"9d169920-460f-4636-afdb-9e8b14c1456e","_postman_id":"9d169920-460f-4636-afdb-9e8b14c1456e","description":""},{"name":"add","item":[{"name":"Add a Policies","id":"466eb980-ce07-440f-ab5e-80d30e2fb608","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) </p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"ContactId\": \"<uuid>\",\n  \"base_premium\": \"<float>\",\n  \"effective_date\": \"<date>\",\n  \"exp_date\": \"<date>\",\n  \"policy_number\": \"<string>\",\n  \"policy_status\": \"Inactive\",\n  \"named_insured\": \"<string>\",\n  \"property_address\": \"<string>\",\n  \"property_address_line2\": \"<string>\",\n  \"property_city\": \"<string>\",\n  \"property_state\": \"<string>\",\n  \"property_zip\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Policies/add","urlObject":{"path":["Policies","add"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[],"variable":[]}},"response":[{"id":"c56c3fdf-9e5c-469b-81c8-0fa7e747135c","name":"Policy added","originalRequest":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) "},{"key":"X-API-Key","value":"apiKey","description":"(Required) "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"ContactId\": \"<uuid>\",\n  \"base_premium\": \"<float>\",\n  \"effective_date\": \"<date>\",\n  \"exp_date\": \"<date>\",\n  \"policy_number\": \"<string>\",\n  \"policy_status\": \"Inactive\",\n  \"named_insured\": \"<string>\",\n  \"property_address\": \"<string>\",\n  \"property_address_line2\": \"<string>\",\n  \"property_city\": \"<string>\",\n  \"property_state\": \"<string>\",\n  \"property_zip\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Policies/add"},"status":"Created","code":201,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"466eb980-ce07-440f-ab5e-80d30e2fb608"}],"id":"958c6b1f-552d-4da7-915f-b8de670b0442","_postman_id":"958c6b1f-552d-4da7-915f-b8de670b0442","description":""},{"name":"update","item":[{"name":"Update a Policy","id":"043bd9ce-d119-4433-802c-17630ca835fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) </p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"PolicyId\": \"<uuid>\",\n  \"named_insured\": \"<string>\",\n  \"property_address\": \"<string>\",\n  \"property_address_line2\": \"<string>\",\n  \"property_city\": \"<string>\",\n  \"property_state\": \"<string>\",\n  \"property_zip\": \"<string>\",\n  \"policy_number\": \"<string>\",\n  \"effective_date\": \"<date>\",\n  \"exp_date\": \"<date>\",\n  \"base_premium\": \"<float>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Policies/update","urlObject":{"path":["Policies","update"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[],"variable":[]}},"response":[{"id":"cc2ebcde-2eb3-447a-9b72-8ed26f0d8f88","name":"Policy updated","originalRequest":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) "},{"key":"X-API-Key","value":"apiKey","description":"(Required) "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"PolicyId\": \"<uuid>\",\n  \"named_insured\": \"<string>\",\n  \"property_address\": \"<string>\",\n  \"property_address_line2\": \"<string>\",\n  \"property_city\": \"<string>\",\n  \"property_state\": \"<string>\",\n  \"property_zip\": \"<string>\",\n  \"policy_number\": \"<string>\",\n  \"effective_date\": \"<date>\",\n  \"exp_date\": \"<date>\",\n  \"base_premium\": \"<float>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Policies/update"},"status":"Created","code":201,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"043bd9ce-d119-4433-802c-17630ca835fa"}],"id":"948653d5-16b3-4e0c-a3ab-8deddd54e80d","_postman_id":"948653d5-16b3-4e0c-a3ab-8deddd54e80d","description":""}],"id":"83389699-124f-4026-88f1-beb03f434fbd","_postman_id":"83389699-124f-4026-88f1-beb03f434fbd","description":""},{"name":"Quotes","item":[{"name":"help","item":[{"name":"Get help information for Quotes","id":"c38a6cd1-2df7-4dfc-a137-3144188ee521","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) </p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) </p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Quotes/help","urlObject":{"path":["Quotes","help"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[],"variable":[]}},"response":[{"id":"c02b4939-1851-4475-a0c8-f4c40031cbf8","name":"Help information for Quotes","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) "},{"key":"X-API-Key","value":"apiKey","description":"(Required) "}],"url":"https://defaultClient.clientdynamics.com/api/Quotes/help"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"fields\": {\n        \"BotSubmission_Id\": {\n            \"type\": \"string\",\n            \"maxLength\": 36,\n            \"null\": \"YES\",\n            \"default\": null,\n            \"name\": \"BotSubmission_Id\",\n            \"readonly\": false\n        },\n        \"status\": {\n            \"type\": \"string\",\n            \"maxLength\": 64,\n            \"null\": \"YES\",\n            \"default\": null,\n            \"name\": \"status\",\n            \"readonly\": false\n        },\n        \"submitted_by\": {\n            \"type\": \"string\",\n            \"maxLength\": 64,\n            \"null\": \"NO\",\n            \"default\": \"email@address.com\",\n            \"name\": \"submitted_by\",\n            \"readonly\": false\n        },\n        \"returned_amt\": {\n            \"type\": \"decimal(19,2)\",\n            \"null\": \"YES\",\n            \"default\": \"0.00\",\n            \"name\": \"returned_amt\",\n            \"readonly\": false\n        },\n        \"ackd\": {\n            \"type\": \"string\",\n            \"maxLength\": 64,\n            \"null\": \"YES\",\n            \"default\": null,\n            \"name\": \"ackd\",\n            \"readonly\": false\n        },\n        \"contact_id\": {\n            \"type\": \"string\",\n            \"maxLength\": 64,\n            \"null\": \"YES\",\n            \"default\": null,\n            \"name\": \"contact_id\",\n            \"readonly\": false\n        },\n        \"site_name\": {\n            \"type\": \"string\",\n            \"maxLength\": 128,\n            \"null\": \"NO\",\n            \"default\": \"email@address.com\",\n            \"name\": \"site_name\",\n            \"readonly\": false\n        },\n        \"submitted_date\": {\n            \"type\": \"timestamp\",\n            \"null\": \"NO\",\n            \"default\": \"current_timestamp()\",\n            \"name\": \"submitted_date\",\n            \"readonly\": false\n        },\n        \"correlation_lead_id\": {\n            \"type\": \"string\",\n            \"maxLength\": 255,\n            \"null\": \"YES\",\n            \"default\": null,\n            \"name\": \"correlation_lead_id\",\n            \"readonly\": false\n        },\n        \"series_id\": {\n            \"type\": \"string\",\n            \"maxLength\": 128,\n            \"null\": \"YES\",\n            \"default\": null,\n            \"name\": \"series_id\",\n            \"readonly\": false\n        },\n        \"ContactId\": {\n            \"type\": \"varchar(36)\",\n            \"null\": \"YES\",\n            \"default\": null,\n            \"name\": \"ContactId\",\n            \"readonly\": true\n        },\n        \"callbackURL\": {\n            \"type\": \"string\",\n            \"maxLength\": 3000,\n            \"null\": \"YES\",\n            \"default\": null,\n            \"name\": \"callbackURL\",\n            \"readonly\": false\n        },\n        \"lob\": {\n            \"type\": \"string\",\n            \"maxLength\": 65,\n            \"null\": \"YES\",\n            \"default\": null,\n            \"name\": \"lob\",\n            \"readonly\": false\n        },\n        \"wf_status\": {\n            \"type\": \"string\",\n            \"maxLength\": 10,\n            \"null\": \"YES\",\n            \"default\": \"0\",\n            \"name\": \"wf_status\",\n            \"readonly\": false\n        },\n        \"callbackResponseRaw\": {\n            \"type\": \"text\",\n            \"null\": \"YES\",\n            \"default\": null,\n            \"name\": \"callbackResponseRaw\",\n            \"readonly\": false\n        },\n        \"callbackSentRaw\": {\n            \"type\": \"text\",\n            \"null\": \"YES\",\n            \"default\": null,\n            \"name\": \"callbackSentRaw\",\n            \"readonly\": false\n        }\n    }\n}"}],"_postman_id":"c38a6cd1-2df7-4dfc-a137-3144188ee521"}],"id":"9897f243-8d67-4d39-87ab-11615639516f","_postman_id":"9897f243-8d67-4d39-87ab-11615639516f","description":""},{"name":"list","item":[{"name":"Retrieve a list of Quotes","id":"e7247bdb-c245-415a-bc53-ef683ecba6ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) </p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) </p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Quotes/list?search_criteria=<string>&search_value=<string>&addtnl_search_criteria=<string>&addtnl_search_value=<string>","urlObject":{"path":["Quotes","list"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[{"description":{"content":"<p>(Required) Name of field you are searching IN (See help method for field names)</p>\n","type":"text/plain"},"key":"search_criteria","value":"<string>"},{"description":{"content":"<p>(Required) Value your are searching FOR</p>\n","type":"text/plain"},"key":"search_value","value":"<string>"},{"description":{"content":"<p>Additional Name of field you are searching IN (See help method for field names)</p>\n","type":"text/plain"},"key":"addtnl_search_criteria","value":"<string>"},{"description":{"content":"<p>Additional Value your are searching FOR (AND not OR)</p>\n","type":"text/plain"},"key":"addtnl_search_value","value":"<string>"}],"variable":[]}},"response":[{"id":"4f14f7eb-7238-4d4c-8438-d44a906e6fe7","name":"A list of Quotes","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) "},{"key":"X-API-Key","value":"apiKey","description":"(Required) "}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Quotes/list?search_criteria=correlation_lead_id&search_value=123355","protocol":"https","host":["defaultClient","clientdynamics","com"],"path":["api","Quotes","list"],"query":[{"key":"search_criteria","value":"correlation_lead_id","description":"(Required) Name of field you are searching IN (See help method for field names)"},{"key":"search_value","value":"123355"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"results\": [\n        {\n            \"BotSubmission_Id\": \"2655bf1a-8a5f-47b1-8691-cec32d57ea3c\",\n            \"status\": \"Complete\",\n            \"submitted_by\": \"email@quoterush.com\",\n            \"returned_amt\": \"2073.23\",\n            \"ackd\": null,\n            \"contact_id\": null,\n            \"site_name\": \"American Integrity\",\n            \"submitted_date\": \"2025-07-13 16:34:30\",\n            \"correlation_lead_id\": \"123355\",\n            \"series_id\": \"091788a6-5aa2-49d6-917d-2f4935f2e337\",\n            \"ContactId\": \"9d949896-d1ec-11ef-ba64-00224853ff9b\",\n            \"callbackURL\": \"\",\n            \"lob\": null,\n            \"wf_status\": \"0\",\n            \"callbackResponseRaw\": null,\n            \"callbackSentRaw\": null\n        },\n        {\n            \"BotSubmission_Id\": \"f52a52e1-9d27-417a-b1d4-e6bdacb740a0\",\n            \"status\": \"Complete\",\n            \"submitted_by\": \"email@quoterush.com\",\n            \"returned_amt\": \"5147.00\",\n            \"ackd\": null,\n            \"contact_id\": null,\n            \"site_name\": \"Slide\",\n            \"submitted_date\": \"2025-07-13 16:34:30\",\n            \"correlation_lead_id\": \"123355\",\n            \"series_id\": \"b6877128-3d32-494b-8331-0cf65b5d24bd\",\n            \"ContactId\": \"9d949896-d1ec-11ef-ba64-00224853ff9b\",\n            \"callbackURL\": \"\",\n            \"lob\": null,\n            \"wf_status\": \"0\",\n            \"callbackResponseRaw\": null,\n            \"callbackSentRaw\": null\n        },\n        {\n            \"BotSubmission_Id\": \"98141452-6c33-4ac8-b151-d55c6097b570\",\n            \"status\": \"Submitted\",\n            \"submitted_by\": \"email@quoterush.com\",\n            \"returned_amt\": \"0.00\",\n            \"ackd\": null,\n            \"contact_id\": null,\n            \"site_name\": \"GeoVera\",\n            \"submitted_date\": \"2025-07-13 16:50:47\",\n            \"correlation_lead_id\": \"123355\",\n            \"series_id\": \"e64ccee4-2808-431d-98b4-38217d4c612f\",\n            \"ContactId\": \"9d949896-d1ec-11ef-ba64-00224853ff9b\",\n            \"callbackURL\": \"\",\n            \"lob\": null,\n            \"wf_status\": \"0\",\n            \"callbackResponseRaw\": null,\n            \"callbackSentRaw\": null\n        },\n        {\n            \"BotSubmission_Id\": \"4a5efbcd-64e6-4b11-aa28-85e74bf6c6ab\",\n            \"status\": \"Submitted\",\n            \"submitted_by\": \"email@quoterush.com\",\n            \"returned_amt\": \"0.00\",\n            \"ackd\": null,\n            \"contact_id\": null,\n            \"site_name\": \"Allstate\",\n            \"submitted_date\": \"2025-07-13 16:50:47\",\n            \"correlation_lead_id\": \"123355\",\n            \"series_id\": \"a1275471-39e7-4058-a68d-eaf2ea006abc\",\n            \"ContactId\": \"9d949896-d1ec-11ef-ba64-00224853ff9b\",\n            \"callbackURL\": \"\",\n            \"lob\": null,\n            \"wf_status\": \"0\",\n            \"callbackResponseRaw\": null,\n            \"callbackSentRaw\": null\n        },\n        {\n            \"BotSubmission_Id\": \"41de07d9-9cb0-44a2-ae09-c3cd700ab43d\",\n            \"status\": \"Submitted\",\n            \"submitted_by\": \"email@quoterush.com\",\n            \"returned_amt\": \"0.00\",\n            \"ackd\": null,\n            \"contact_id\": null,\n            \"site_name\": \"American Traditions\",\n            \"submitted_date\": \"2025-07-13 16:50:47\",\n            \"correlation_lead_id\": \"123355\",\n            \"series_id\": \"6d2a2a54-37f0-449a-b4b5-668188d1ee5e\",\n            \"ContactId\": \"9d949896-d1ec-11ef-ba64-00224853ff9b\",\n            \"callbackURL\": \"\",\n            \"lob\": null,\n            \"wf_status\": \"0\",\n            \"callbackResponseRaw\": null,\n            \"callbackSentRaw\": null\n        }\n    ],\n    \"num_records\": 5\n}"}],"_postman_id":"e7247bdb-c245-415a-bc53-ef683ecba6ed"}],"id":"75c29b60-bccf-453e-8210-c9bf7b897379","_postman_id":"75c29b60-bccf-453e-8210-c9bf7b897379","description":""},{"name":"submitQuoteRequest","id":"e6398c13-a1ba-4bd5-836f-7563bd970159","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","type":"text"},{"key":"X-API-Key","value":"apiKey","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"leadId\": 0,\r\n    \"submitterEmail\": \"email@address.com\",\r\n    \"lineOfBusiness\": \"Home|Auto\",\r\n    \"carriers\": [\r\n        \"American Strategic\",\r\n        \"Frontline\",\r\n        \"Velocity\",\r\n        \"Universal North America\",\r\n        \"United\",\r\n        \"Tower Hill\",\r\n        \"Peoples Trust\",\r\n        \"SageSure\",\r\n        \"Southern Oak\"\r\n    ],\r\n    \"callbackUrl\": \"https://URL/quoteReceiverEndpoint\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Quotes/submitQuoteRequest","urlObject":{"path":["Quotes","submitQuoteRequest"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[],"variable":[]}},"response":[{"id":"c9b31ddf-79ff-4079-adb1-5725ad46bcac","name":"submitQuoteRequest","originalRequest":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","type":"text"},{"key":"X-API-Key","value":"apiKey","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"leadId\": 0,\r\n    \"submitterEmail\": \"email@address.com\",\r\n    \"lineOfBusiness\": \"Home|Auto\",\r\n    \"carriers\": [\r\n        \"American Strategic\",\r\n        \"Frontline\",\r\n        \"Velocity\",\r\n        \"Universal North America\",\r\n        \"United\",\r\n        \"Tower Hill\",\r\n        \"Peoples Trust\",\r\n        \"SageSure\",\r\n        \"Southern Oak\"\r\n    ],\r\n    \"callbackUrl\": \"https://URL/quoteReceiverEndpoint\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Quotes/submitQuoteRequest"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"lineOfBusiness\": 0,\r\n    \"sites\": [\r\n        {\r\n            \"Site\": \"American Strategic\",\r\n            \"Status\": \"Not Quotable For Lead\"\r\n        },\r\n        {\r\n            \"Site\": \"Velocity\",\r\n            \"Status\": \"Not Quotable For Lead\"\r\n        },\r\n        {\r\n            \"Site\": \"United\",\r\n            \"Status\": \"Not Quotable For Lead\"\r\n        },\r\n        {\r\n            \"Site\": \"Frontline\",\r\n            \"Status\": \"Success\",\r\n            \"callback\": \"Queued\"\r\n        },\r\n        {\r\n            \"Site\": \"Universal North America\",\r\n            \"Status\": \"Success\",\r\n            \"callback\": \"Queued\"\r\n        },\r\n        {\r\n            \"Site\": \"Tower Hill\",\r\n            \"Status\": \"Success\",\r\n            \"callback\": \"Queued\"\r\n        },\r\n        {\r\n            \"Site\": \"Peoples Trust\",\r\n            \"Status\": \"Success\",\r\n            \"callback\": \"Queued\"\r\n        },\r\n        {\r\n            \"Site\": \"SageSure\",\r\n            \"Status\": \"Success\",\r\n            \"callback\": \"Queued\"\r\n        },\r\n        {\r\n            \"Site\": \"Southern Oak\",\r\n            \"Status\": \"Success\",\r\n            \"callback\": \"Queued\"\r\n        }\r\n    ],\r\n    \"status\": \"Quotes Submitted\",\r\n    \"series\": \"20250406154327814\",\r\n    \"sitesSubmitted\": 6\r\n}"}],"_postman_id":"e6398c13-a1ba-4bd5-836f-7563bd970159"}],"id":"cca5522d-ddb7-47f8-ba36-a1298e740481","description":"<p>Collection of endpoints to work with Quotes. Requires a QuoteRUSH Integration.</p>\n","_postman_id":"cca5522d-ddb7-47f8-ba36-a1298e740481"},{"name":"Files","item":[{"name":"help","item":[{"name":"Get help information for Files","id":"f8c94aa7-105f-4643-8fa0-e83718958520","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) Your Client Dynamics agency ID</p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) Your Client Dynamics API key</p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Files/help","description":"<p>Returns available file fields and metadata for the Files API.</p>\n","urlObject":{"path":["Files","help"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[],"variable":[]}},"response":[{"id":"d7a6ec0e-ec4f-4346-8930-73d624bb6f22","name":"Help information for Files","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"}],"url":"https://defaultClient.clientdynamics.com/api/Files/help","description":"Returns available file fields and metadata for the Files API."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"fields\": {\n        \"file_name\": {\n            \"type\": \"string\",\n            \"maxLength\": 128,\n            \"null\": \"YES\",\n            \"default\": null,\n            \"name\": \"file_name\",\n            \"readonly\": false\n        },\n        \"ContactId\": {\n            \"type\": \"varchar(36)\",\n            \"null\": \"YES\",\n            \"default\": null,\n            \"name\": \"ContactId\",\n            \"readonly\": false\n        },\n        \"PolicyId\": {\n            \"type\": \"varchar(36)\",\n            \"null\": \"YES\",\n            \"default\": null,\n            \"name\": \"PolicyId\",\n            \"readonly\": false\n        },\n        \"FileId\": {\n            \"type\": \"varchar(36)\",\n            \"null\": \"NO\",\n            \"default\": \"uuid()\",\n            \"name\": \"FileId\",\n            \"readonly\": true\n        },\n        \"deleted\": {\n            \"type\": \"tinyint(4)\",\n            \"null\": \"NO\",\n            \"default\": \"0\",\n            \"name\": \"deleted\",\n            \"readonly\": true\n        }\n    }\n}"}],"_postman_id":"f8c94aa7-105f-4643-8fa0-e83718958520"}],"id":"330e2dfe-54f8-4f2f-a483-649b7edb0452","_postman_id":"330e2dfe-54f8-4f2f-a483-649b7edb0452","description":""},{"name":"list","item":[{"name":"Retrieve a list of Files for a Contact or Policy","id":"104e96c0-2bf8-4dcf-94be-6025fd031a38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) Your Client Dynamics agency ID</p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) Your Client Dynamics API key</p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Files/list?search_criteria=ContactId&search_value=22222222-3333-4444-5555-666666666666&addtnl_search_criteria=&addtnl_search_value=","description":"<p>Retrieves file metadata for a contact, policy, or other supported file search field.</p>\n","urlObject":{"path":["Files","list"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[{"description":{"content":"<p>(Required) Field to search by. Common values include ContactId, PolicyId, FileId, category, file_name.</p>\n","type":"text/plain"},"key":"search_criteria","value":"ContactId"},{"description":{"content":"<p>(Required) Search value.</p>\n","type":"text/plain"},"key":"search_value","value":"22222222-3333-4444-5555-666666666666"},{"description":{"content":"<p>Optional additional field to search by.</p>\n","type":"text/plain"},"key":"addtnl_search_criteria","value":""},{"description":{"content":"<p>Optional additional value. Combined with AND logic.</p>\n","type":"text/plain"},"key":"addtnl_search_value","value":""}],"variable":[]}},"response":[{"id":"0eebf999-89ed-4474-9221-d308f330b981","name":"A list of Files for a Contact","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Files/list?search_criteria=ContactId&search_value=22222222-3333-4444-5555-666666666666&addtnl_search_criteria=&addtnl_search_value=","host":["https://defaultClient.clientdynamics.com/api"],"path":["Files","list"],"query":[{"key":"search_criteria","value":"ContactId","description":"(Required) Field to search by. Common values include ContactId, PolicyId, FileId, category, file_name."},{"key":"search_value","value":"22222222-3333-4444-5555-666666666666","description":"(Required) Search value."},{"key":"addtnl_search_criteria","value":"","description":"Optional additional field to search by."},{"key":"addtnl_search_value","value":"","description":"Optional additional value. Combined with AND logic."}]},"description":"Retrieves file metadata for a contact, policy, or other supported file search field."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"num_records\": 2,\n    \"results\": [\n        {\n            \"file_name\": \"sample-policy-document.pdf\",\n            \"agency_id\": \"agencyId\",\n            \"file_type\": \"application/pdf\",\n            \"file_size\": \"24576\",\n            \"uploaded\": \"2026-01-15 10:25:00\",\n            \"ContactId\": \"22222222-3333-4444-5555-666666666666\",\n            \"category\": \"Policy Documents\",\n            \"description\": \"Mock policy document\",\n            \"last_modified\": \"2026-01-15 10:25:00\",\n            \"FileId\": \"11111111-2222-3333-4444-555555555555\",\n            \"PolicyId\": \"33333333-4444-5555-6666-777777777777\",\n            \"deleted\": \"0\",\n            \"label_id\": \"Policy Documents\"\n        },\n        {\n            \"file_name\": \"sample-id-card.pdf\",\n            \"agency_id\": \"agencyId\",\n            \"file_type\": \"application/pdf\",\n            \"file_size\": \"16384\",\n            \"uploaded\": \"2026-01-16 09:12:00\",\n            \"ContactId\": \"22222222-3333-4444-5555-666666666666\",\n            \"category\": \"ID Cards\",\n            \"description\": \"Mock ID card\",\n            \"last_modified\": \"2026-01-16 09:12:00\",\n            \"FileId\": \"44444444-5555-6666-7777-888888888888\",\n            \"PolicyId\": \"33333333-4444-5555-6666-777777777777\",\n            \"deleted\": \"0\",\n            \"label_id\": \"ID Cards\"\n        }\n    ]\n}"}],"_postman_id":"104e96c0-2bf8-4dcf-94be-6025fd031a38"}],"id":"ffa79e1c-c2d2-41a3-80ae-d69cdebadafa","_postman_id":"ffa79e1c-c2d2-41a3-80ae-d69cdebadafa","description":""},{"name":"get","item":[{"name":"Retrieve a File by fileId","id":"e7e9d9ee-a98c-4612-8326-7fe698879271","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) Your Client Dynamics agency ID</p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) Your Client Dynamics API key</p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Files/get?fileId=11111111-2222-3333-4444-555555555555&returnEncoded=false&includeDeleted=false","description":"<p>Retrieves a file. By default, returns a short-lived signed URL instead of inline base64 content.</p>\n","urlObject":{"path":["Files","get"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[{"description":{"content":"<p>(Required) Client Dynamics FileId.</p>\n","type":"text/plain"},"key":"fileId","value":"11111111-2222-3333-4444-555555555555"},{"description":{"content":"<p>When false, the response returns a short-lived signed download URL.</p>\n","type":"text/plain"},"key":"returnEncoded","value":"false"},{"description":{"content":"<p>Optional. Set true to retrieve deleted files when permitted.</p>\n","type":"text/plain"},"key":"includeDeleted","value":"false"}],"variable":[]}},"response":[{"id":"d750883c-d8d6-4bbf-be12-c1f1794b0a1f","name":"File retrieved as signed download URL","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Files/get?fileId=11111111-2222-3333-4444-555555555555&returnEncoded=false&includeDeleted=false","host":["https://defaultClient.clientdynamics.com/api"],"path":["Files","get"],"query":[{"key":"fileId","value":"11111111-2222-3333-4444-555555555555","description":"(Required) Client Dynamics FileId."},{"key":"returnEncoded","value":"false","description":"When false, the response returns a short-lived signed download URL."},{"key":"includeDeleted","value":"false","description":"Optional. Set true to retrieve deleted files when permitted."}]},"description":"Retrieves a file. By default, returns a short-lived signed URL instead of inline base64 content."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"FileId\": \"11111111-2222-3333-4444-555555555555\",\n    \"fileName\": \"sample-policy-document.pdf\",\n    \"fileType\": \"application/pdf\",\n    \"fileSize\": \"24576\",\n    \"returnEncoded\": false,\n    \"downloadUrl\": \"/api/Files/download?t=eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature\",\n    \"expiresAt\": \"2026-01-15T10:30:00-05:00\"\n}"},{"id":"37fa84ed-cc30-435a-8980-30de8b151515","name":"File is deleted","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Files/get?fileId=11111111-2222-3333-4444-555555555555&returnEncoded=false&includeDeleted=false","host":["https://defaultClient.clientdynamics.com/api"],"path":["Files","get"],"query":[{"key":"fileId","value":"11111111-2222-3333-4444-555555555555","description":"(Required) Client Dynamics FileId."},{"key":"returnEncoded","value":"false","description":"When false, the response returns a short-lived signed download URL."},{"key":"includeDeleted","value":"false","description":"Optional. Set true to retrieve deleted files when permitted."}]},"description":"Retrieves a file. By default, returns a short-lived signed URL instead of inline base64 content."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Error\",\n    \"statusMessage\": \"File is deleted\"\n}"}],"_postman_id":"e7e9d9ee-a98c-4612-8326-7fe698879271"},{"name":"Retrieve a File by fileId as base64","id":"83dd0784-6b50-4787-b1db-f74ded34a5fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) Your Client Dynamics agency ID</p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) Your Client Dynamics API key</p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Files/get?fileId=11111111-2222-3333-4444-555555555555&returnEncoded=true&includeDeleted=false","description":"<p>Retrieves a file and returns the file content as a base64 string.</p>\n","urlObject":{"path":["Files","get"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[{"description":{"content":"<p>(Required) Client Dynamics FileId.</p>\n","type":"text/plain"},"key":"fileId","value":"11111111-2222-3333-4444-555555555555"},{"description":{"content":"<p>When true, the response includes base64 file content.</p>\n","type":"text/plain"},"key":"returnEncoded","value":"true"},{"description":{"content":"<p>Optional. Set true to retrieve deleted files when permitted.</p>\n","type":"text/plain"},"key":"includeDeleted","value":"false"}],"variable":[]}},"response":[{"id":"05fc9b80-9ef2-466a-b8db-23a101eb4494","name":"File retrieved as base64","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Files/get?fileId=11111111-2222-3333-4444-555555555555&returnEncoded=true&includeDeleted=false","host":["https://defaultClient.clientdynamics.com/api"],"path":["Files","get"],"query":[{"key":"fileId","value":"11111111-2222-3333-4444-555555555555","description":"(Required) Client Dynamics FileId."},{"key":"returnEncoded","value":"true","description":"When true, the response includes base64 file content."},{"key":"includeDeleted","value":"false","description":"Optional. Set true to retrieve deleted files when permitted."}]},"description":"Retrieves a file and returns the file content as a base64 string."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"FileId\": \"11111111-2222-3333-4444-555555555555\",\n    \"fileName\": \"sample-policy-document.pdf\",\n    \"fileType\": \"application/pdf\",\n    \"fileSize\": \"24576\",\n    \"returnEncoded\": true,\n    \"fileContent\": \"JVBERi0xLjQKJUZha2UtbW9jay1wZGYtY29udGVudA==\"\n}"}],"_postman_id":"83dd0784-6b50-4787-b1db-f74ded34a5fd"}],"id":"9e2187bb-6042-46b3-8bc4-efc0c07d120c","_postman_id":"9e2187bb-6042-46b3-8bc4-efc0c07d120c","description":""},{"name":"download","item":[{"name":"Download a File using a signed URL","id":"2af85e3d-2b5b-4989-966b-0e38f02bb4e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) Your Client Dynamics agency ID</p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) Your Client Dynamics API key</p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Files/download?t=eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature","description":"<p>Downloads the binary file using the short-lived signed token returned by /Files/get.</p>\n","urlObject":{"path":["Files","download"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[{"description":{"content":"<p>(Required) Signed token returned by /Files/get when returnEncoded=false.</p>\n","type":"text/plain"},"key":"t","value":"eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature"}],"variable":[]}},"response":[{"id":"18ce1021-4bfb-4f61-bf13-425102ec2dd2","name":"Binary file response","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Files/download?t=eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature","host":["https://defaultClient.clientdynamics.com/api"],"path":["Files","download"],"query":[{"key":"t","value":"eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature","description":"(Required) Signed token returned by /Files/get when returnEncoded=false."}]},"description":"Downloads the binary file using the short-lived signed token returned by /Files/get."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"application/pdf","type":"text"}],"cookie":[],"responseTime":null,"body":"<binary file content>"},{"id":"85e118aa-7566-44be-b892-29790cf8aa22","name":"Invalid or expired download link","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Files/download?t=eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature","host":["https://defaultClient.clientdynamics.com/api"],"path":["Files","download"],"query":[{"key":"t","value":"eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature","description":"(Required) Signed token returned by /Files/get when returnEncoded=false."}]},"description":"Downloads the binary file using the short-lived signed token returned by /Files/get."},"status":"OK","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid or expired download link\"\n}"}],"_postman_id":"2af85e3d-2b5b-4989-966b-0e38f02bb4e6"}],"id":"cd2088d0-4e83-4f4f-9ba6-a80c2c8d9774","_postman_id":"cd2088d0-4e83-4f4f-9ba6-a80c2c8d9774","description":""},{"name":"update","item":[{"name":"Update File metadata","id":"9d8871f8-6489-498e-8187-f241e626d7c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) Your Client Dynamics agency ID</p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) Your Client Dynamics API key</p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"FileId\": \"11111111-2222-3333-4444-555555555555\",\n    \"description\": \"Updated mock file description\",\n    \"category\": \"Policy Documents\",\n    \"label_id\": \"Policy Documents\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Files/update","description":"<p>Updates editable metadata for a Client Dynamics file.</p>\n","urlObject":{"path":["Files","update"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[],"variable":[]}},"response":[{"id":"a62c1364-ba4a-420a-8d05-fff9ae1bd859","name":"File metadata updated","originalRequest":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"FileId\": \"11111111-2222-3333-4444-555555555555\",\n    \"description\": \"Updated mock file description\",\n    \"category\": \"Policy Documents\",\n    \"label_id\": \"Policy Documents\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Files/update","description":"Updates editable metadata for a Client Dynamics file."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"FileId\": \"11111111-2222-3333-4444-555555555555\",\n    \"updatedFields\": {\n        \"description\": \"Updated mock file description\",\n        \"category\": \"Policy Documents\"\n    }\n}"}],"_postman_id":"9d8871f8-6489-498e-8187-f241e626d7c1"},{"name":"Delete a File","id":"1600d2bc-384b-40a0-aad0-47f6287a869d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) Your Client Dynamics agency ID</p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) Your Client Dynamics API key</p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"FileId\": \"11111111-2222-3333-4444-555555555555\",\n    \"delete\": true,\n    \"deleted_by\": 1001\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Files/update","description":"<p>Marks a file as deleted without removing the underlying record.</p>\n","urlObject":{"path":["Files","update"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[],"variable":[]}},"response":[{"id":"273bcb70-ad29-4f9f-b20a-1347eb7b642c","name":"File deleted","originalRequest":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"FileId\": \"11111111-2222-3333-4444-555555555555\",\n    \"delete\": true,\n    \"deleted_by\": 1001\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Files/update","description":"Marks a file as deleted without removing the underlying record."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"FileId\": \"11111111-2222-3333-4444-555555555555\",\n    \"updatedFields\": {\n        \"deleted\": \"1\",\n        \"deleted_by\": \"1001\",\n        \"deleted_on\": \"2026-01-15 10:45:00\"\n    }\n}"}],"_postman_id":"1600d2bc-384b-40a0-aad0-47f6287a869d"},{"name":"Undelete a File","id":"06954b42-216a-4868-9e75-31e350b63774","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) Your Client Dynamics agency ID</p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) Your Client Dynamics API key</p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"FileId\": \"11111111-2222-3333-4444-555555555555\",\n    \"undelete\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Files/update","description":"<p>Restores a previously deleted file.</p>\n","urlObject":{"path":["Files","update"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[],"variable":[]}},"response":[{"id":"38fd9d07-da41-4ad7-816f-a49e1659b63a","name":"File undeleted","originalRequest":{"method":"POST","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"FileId\": \"11111111-2222-3333-4444-555555555555\",\n    \"undelete\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://defaultClient.clientdynamics.com/api/Files/update","description":"Restores a previously deleted file."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"FileId\": \"11111111-2222-3333-4444-555555555555\",\n    \"updatedFields\": {\n        \"deleted\": \"0\",\n        \"deleted_by\": null,\n        \"deleted_on\": \"0000-00-00 00:00:00\"\n    }\n}"}],"_postman_id":"06954b42-216a-4868-9e75-31e350b63774"}],"id":"0b9d1ca2-1f8b-47a9-ba47-46621699854d","_postman_id":"0b9d1ca2-1f8b-47a9-ba47-46621699854d","description":""}],"id":"d7e2656f-6ff0-46c0-ac42-f6f14ec8a9eb","description":"<p>Work with files stored in Client Dynamics for contacts, policies, and other agency records.</p>\n<p>All examples use mock data. Replace IDs, filenames, signed tokens, and other values with values returned by your Client Dynamics portal.</p>\n","_postman_id":"d7e2656f-6ff0-46c0-ac42-f6f14ec8a9eb"},{"name":"Downloads","item":[{"name":"list","item":[{"name":"Retrieve a list of vendor Downloads","id":"cb55161c-88dc-4b03-98f4-1bdd224f6245","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) Your Client Dynamics agency ID</p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) Your Client Dynamics API key</p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Downloads/list?limit=25&offset=0&vendor=ivans&fileProcessed=&fileParsed=","description":"<p>Lists vendor download records previously recorded for the authenticated agency. File retrieval is live from the vendor.</p>\n","urlObject":{"path":["Downloads","list"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[{"description":{"content":"<p>Optional. Maximum number of records to return.</p>\n","type":"text/plain"},"key":"limit","value":"25"},{"description":{"content":"<p>Optional. Pagination offset.</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"description":{"content":"<p>Optional. Vendor name. Currently ivans.</p>\n","type":"text/plain"},"key":"vendor","value":"ivans"},{"description":{"content":"<p>Optional. Filter by processed state: 0 or 1.</p>\n","type":"text/plain"},"key":"fileProcessed","value":""},{"description":{"content":"<p>Optional. Filter by parsed state: 0 or 1.</p>\n","type":"text/plain"},"key":"fileParsed","value":""}],"variable":[]}},"response":[{"id":"6cc7c1cd-154b-4d63-8925-dd67d53550fc","name":"A list of vendor Downloads","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Downloads/list?limit=25&offset=0&vendor=ivans&fileProcessed=&fileParsed=","host":["https://defaultClient.clientdynamics.com/api"],"path":["Downloads","list"],"query":[{"key":"limit","value":"25","description":"Optional. Maximum number of records to return."},{"key":"offset","value":"0","description":"Optional. Pagination offset."},{"key":"vendor","value":"ivans","description":"Optional. Vendor name. Currently ivans."},{"key":"fileProcessed","value":"","description":"Optional. Filter by processed state: 0 or 1."},{"key":"fileParsed","value":"","description":"Optional. Filter by parsed state: 0 or 1."}]},"description":"Lists vendor download records previously recorded for the authenticated agency. File retrieval is live from the vendor."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"vendor\": \"ivans\",\n    \"num_records\": 2,\n    \"limit\": 25,\n    \"offset\": 0,\n    \"results\": [\n        {\n            \"downloadId\": 1001,\n            \"vendor\": \"ivans\",\n            \"vendorFileId\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n            \"downloaded\": \"2026-01-15 11:05:00\",\n            \"fileName\": \"mock-policy-download.dat\",\n            \"sender\": \"MOCK.SENDER01\",\n            \"receiver\": \"MOCK.RECEIVER01\",\n            \"fileParsed\": false,\n            \"fileProcessed\": false\n        },\n        {\n            \"downloadId\": 1002,\n            \"vendor\": \"ivans\",\n            \"vendorFileId\": \"bbbbbbbb-cccc-dddd-eeee-ffffffffffff\",\n            \"downloaded\": \"2026-01-15 11:15:00\",\n            \"fileName\": \"mock-claim-download.dat\",\n            \"sender\": \"MOCK.SENDER02\",\n            \"receiver\": \"MOCK.RECEIVER01\",\n            \"fileParsed\": true,\n            \"fileProcessed\": true\n        }\n    ]\n}"}],"_postman_id":"cb55161c-88dc-4b03-98f4-1bdd224f6245"}],"id":"13aec71e-1b7f-4a32-896b-1b2700b620d5","_postman_id":"13aec71e-1b7f-4a32-896b-1b2700b620d5","description":""},{"name":"get","item":[{"name":"Retrieve a vendor Download by downloadId","id":"b0930ad0-1644-433f-887b-878a6a06d42d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) Your Client Dynamics agency ID</p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) Your Client Dynamics API key</p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Downloads/get?downloadId=1001&returnEncoded=false&decompressFile=true","description":"<p>Retrieves a vendor download live from the vendor by download history ID. Returns a signed download URL by default.</p>\n","urlObject":{"path":["Downloads","get"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[{"description":{"content":"<p>(Required when vendorFileId is not supplied) Download history ID.</p>\n","type":"text/plain"},"key":"downloadId","value":"1001"},{"description":{"content":"<p>When false, returns a short-lived signed download URL.</p>\n","type":"text/plain"},"key":"returnEncoded","value":"false"},{"description":{"content":"<p>Optional. Requests decompressed file content from the vendor when supported.</p>\n","type":"text/plain"},"key":"decompressFile","value":"true"}],"variable":[]}},"response":[{"id":"42b66f7b-22a9-47a3-8bdc-379dd775921c","name":"Vendor Download retrieved as signed URL","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Downloads/get?downloadId=1001&returnEncoded=false&decompressFile=true","host":["https://defaultClient.clientdynamics.com/api"],"path":["Downloads","get"],"query":[{"key":"downloadId","value":"1001","description":"(Required when vendorFileId is not supplied) Download history ID."},{"key":"returnEncoded","value":"false","description":"When false, returns a short-lived signed download URL."},{"key":"decompressFile","value":"true","description":"Optional. Requests decompressed file content from the vendor when supported."}]},"description":"Retrieves a vendor download live from the vendor by download history ID. Returns a signed download URL by default."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"vendor\": \"ivans\",\n    \"downloadId\": 1001,\n    \"vendorFileId\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n    \"fileName\": \"mock-policy-download.dat\",\n    \"fileType\": \"application/octet-stream\",\n    \"fileSize\": \"32768\",\n    \"returnEncoded\": false,\n    \"downloadUrl\": \"/api/Downloads/download?t=eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature\",\n    \"expiresAt\": \"2026-01-15T11:10:00-05:00\"\n}"},{"id":"ae671949-b621-4b8a-bd88-044d2ebbbbbe","name":"Vendor file no longer available","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Downloads/get?downloadId=1001&returnEncoded=false&decompressFile=true","host":["https://defaultClient.clientdynamics.com/api"],"path":["Downloads","get"],"query":[{"key":"downloadId","value":"1001","description":"(Required when vendorFileId is not supplied) Download history ID."},{"key":"returnEncoded","value":"false","description":"When false, returns a short-lived signed download URL."},{"key":"decompressFile","value":"true","description":"Optional. Requests decompressed file content from the vendor when supported."}]},"description":"Retrieves a vendor download live from the vendor by download history ID. Returns a signed download URL by default."},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Error\",\n    \"statusMessage\": \"Vendor file is no longer available\"\n}"}],"_postman_id":"b0930ad0-1644-433f-887b-878a6a06d42d"},{"name":"Retrieve a vendor Download as base64","id":"bf868d05-bec4-46ef-8c56-976daec10652","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) Your Client Dynamics agency ID</p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) Your Client Dynamics API key</p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Downloads/get?downloadId=1001&returnEncoded=true&decompressFile=true","description":"<p>Retrieves a vendor download live from the vendor and returns base64 file content.</p>\n","urlObject":{"path":["Downloads","get"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[{"description":{"content":"<p>(Required when vendorFileId is not supplied) Download history ID.</p>\n","type":"text/plain"},"key":"downloadId","value":"1001"},{"description":{"content":"<p>When true, returns base64 file content.</p>\n","type":"text/plain"},"key":"returnEncoded","value":"true"},{"description":{"content":"<p>Optional. Requests decompressed file content from the vendor when supported.</p>\n","type":"text/plain"},"key":"decompressFile","value":"true"}],"variable":[]}},"response":[{"id":"160e47b2-8c0e-42c5-9dc0-2ff233dab572","name":"Vendor Download retrieved as base64","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Downloads/get?downloadId=1001&returnEncoded=true&decompressFile=true","host":["https://defaultClient.clientdynamics.com/api"],"path":["Downloads","get"],"query":[{"key":"downloadId","value":"1001","description":"(Required when vendorFileId is not supplied) Download history ID."},{"key":"returnEncoded","value":"true","description":"When true, returns base64 file content."},{"key":"decompressFile","value":"true","description":"Optional. Requests decompressed file content from the vendor when supported."}]},"description":"Retrieves a vendor download live from the vendor and returns base64 file content."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"vendor\": \"ivans\",\n    \"downloadId\": 1001,\n    \"vendorFileId\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n    \"fileName\": \"mock-policy-download.dat\",\n    \"fileType\": \"application/octet-stream\",\n    \"fileSize\": \"32768\",\n    \"returnEncoded\": true,\n    \"fileContent\": \"TU9DSyBJVkFOUyBET1dOTE9BRCBDT05URU5UCg==\"\n}"}],"_postman_id":"bf868d05-bec4-46ef-8c56-976daec10652"},{"name":"Retrieve a vendor Download by vendorFileId","id":"395f50ca-d7c9-4b57-9376-7456f0e98ad5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) Your Client Dynamics agency ID</p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) Your Client Dynamics API key</p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Downloads/get?vendorFileId=aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee&returnEncoded=false&decompressFile=true","description":"<p>Retrieves a vendor download live from the vendor by vendor file ID.</p>\n","urlObject":{"path":["Downloads","get"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[{"description":{"content":"<p>(Required when downloadId is not supplied) Vendor file ID.</p>\n","type":"text/plain"},"key":"vendorFileId","value":"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"},{"description":{"content":"<p>When false, returns a short-lived signed download URL.</p>\n","type":"text/plain"},"key":"returnEncoded","value":"false"},{"description":{"content":"<p>Optional. Requests decompressed file content from the vendor when supported.</p>\n","type":"text/plain"},"key":"decompressFile","value":"true"}],"variable":[]}},"response":[{"id":"b0353202-424d-4991-8c8a-bd46e23bf242","name":"Vendor Download retrieved by vendorFileId","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Downloads/get?vendorFileId=aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee&returnEncoded=false&decompressFile=true","host":["https://defaultClient.clientdynamics.com/api"],"path":["Downloads","get"],"query":[{"key":"vendorFileId","value":"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee","description":"(Required when downloadId is not supplied) Vendor file ID."},{"key":"returnEncoded","value":"false","description":"When false, returns a short-lived signed download URL."},{"key":"decompressFile","value":"true","description":"Optional. Requests decompressed file content from the vendor when supported."}]},"description":"Retrieves a vendor download live from the vendor by vendor file ID."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"vendor\": \"ivans\",\n    \"downloadId\": 1001,\n    \"vendorFileId\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n    \"fileName\": \"mock-policy-download.dat\",\n    \"fileType\": \"application/octet-stream\",\n    \"fileSize\": \"32768\",\n    \"returnEncoded\": false,\n    \"downloadUrl\": \"/api/Downloads/download?t=eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature\",\n    \"expiresAt\": \"2026-01-15T11:10:00-05:00\"\n}"}],"_postman_id":"395f50ca-d7c9-4b57-9376-7456f0e98ad5"}],"id":"bc44cc03-cc79-4398-8dad-1a5f667dd6b8","_postman_id":"bc44cc03-cc79-4398-8dad-1a5f667dd6b8","description":""},{"name":"download","item":[{"name":"Download a vendor file using a signed URL","id":"0c8b9398-92fd-4c57-8691-55190d693569","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"<p>(Required) Your Client Dynamics agency ID</p>\n"},{"key":"X-API-Key","value":"apiKey","description":"<p>(Required) Your Client Dynamics API key</p>\n"}],"url":"https://defaultClient.clientdynamics.com/api/Downloads/download?t=eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature","description":"<p>Downloads the binary vendor file using the short-lived signed token returned by /Downloads/get.</p>\n","urlObject":{"path":["Downloads","download"],"host":["https://defaultClient.clientdynamics.com/api"],"query":[{"description":{"content":"<p>(Required) Signed token returned by /Downloads/get when returnEncoded=false.</p>\n","type":"text/plain"},"key":"t","value":"eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature"}],"variable":[]}},"response":[{"id":"71b51dab-da1b-4787-bfc7-18af444f7d9a","name":"Binary vendor file response","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Downloads/download?t=eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature","host":["https://defaultClient.clientdynamics.com/api"],"path":["Downloads","download"],"query":[{"key":"t","value":"eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature","description":"(Required) Signed token returned by /Downloads/get when returnEncoded=false."}]},"description":"Downloads the binary vendor file using the short-lived signed token returned by /Downloads/get."},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"application/octet-stream","type":"text"}],"cookie":[],"responseTime":null,"body":"<binary vendor file content>"},{"id":"1048b501-7296-49ae-a2d3-d3383098681e","name":"Invalid or expired download link","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Downloads/download?t=eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature","host":["https://defaultClient.clientdynamics.com/api"],"path":["Downloads","download"],"query":[{"key":"t","value":"eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature","description":"(Required) Signed token returned by /Downloads/get when returnEncoded=false."}]},"description":"Downloads the binary vendor file using the short-lived signed token returned by /Downloads/get."},"status":"OK","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid or expired download link\"\n}"},{"id":"ca3d1818-fa11-4620-9e14-4d0dca94aa0f","name":"Vendor file no longer available","originalRequest":{"method":"GET","header":[{"key":"X-Agency-Id","value":"agencyId","description":"(Required) Your Client Dynamics agency ID"},{"key":"X-API-Key","value":"apiKey","description":"(Required) Your Client Dynamics API key"}],"url":{"raw":"https://defaultClient.clientdynamics.com/api/Downloads/download?t=eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature","host":["https://defaultClient.clientdynamics.com/api"],"path":["Downloads","download"],"query":[{"key":"t","value":"eyJ2IjoxLCJleHAiOjE5MDAwMDAwMDB9.mock-signature","description":"(Required) Signed token returned by /Downloads/get when returnEncoded=false."}]},"description":"Downloads the binary vendor file using the short-lived signed token returned by /Downloads/get."},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Vendor file is no longer available\"\n}"}],"_postman_id":"0c8b9398-92fd-4c57-8691-55190d693569"}],"id":"54374f96-bd69-44cb-83ff-623778249bfe","_postman_id":"54374f96-bd69-44cb-83ff-623778249bfe","description":""}],"id":"9c2fe170-994d-431e-85de-ff8427faf1fc","description":"<p>Live third-party vendor download access.</p>\n<p><code>/Downloads</code> lists vendor files that Client Dynamics has previously recorded in vendor download history, then retrieves the raw file live from the third-party vendor when requested. Raw vendor files are not guaranteed to be retained by Client Dynamics. Availability depends on the vendor.</p>\n<p>All examples use mock data. Replace IDs, filenames, signed tokens, and other values with values returned by your Client Dynamics portal.</p>\n","_postman_id":"9c2fe170-994d-431e-85de-ff8427faf1fc"}],"variable":[{"key":"clientDomain","value":"defaultClient"},{"key":"agencyId","value":"agencyId"},{"key":"apiKey","value":"apiKey"},{"key":"baseUrl","value":"https://defaultClient.clientdynamics.com/api"}]}