{ "opencollection": "1.0.0", "info": { "name": "Freshworks Freshcaller Accounts Companies API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-Api-Auth", "value": "{{X-Api-Auth}}", "placement": "header" } }, "items": [ { "info": { "name": "Companies", "type": "folder" }, "items": [ { "info": { "name": "List all companies", "type": "http" }, "http": { "method": "GET", "url": "https://{domain}.freshcaller.com/api/v1/companies", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number for pagination." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of results per page (max 100)." } ] }, "docs": "Retrieves a paginated list of all companies in the helpdesk." }, { "info": { "name": "Create a company", "type": "http" }, "http": { "method": "POST", "url": "https://{domain}.freshcaller.com/api/v1/companies", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new company record in the helpdesk." }, { "info": { "name": "View a company", "type": "http" }, "http": { "method": "GET", "url": "https://{domain}.freshcaller.com/api/v1/companies/:company_id", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "The ID of the company." } ] }, "docs": "Retrieves the details of a specific company by its ID." }, { "info": { "name": "Update a company", "type": "http" }, "http": { "method": "PUT", "url": "https://{domain}.freshcaller.com/api/v1/companies/:company_id", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "The ID of the company." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the properties of an existing company record." }, { "info": { "name": "Delete a company", "type": "http" }, "http": { "method": "DELETE", "url": "https://{domain}.freshcaller.com/api/v1/companies/:company_id", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "The ID of the company." } ] }, "docs": "Deletes a company record from the helpdesk." } ] } ], "bundled": true }