{ "opencollection": "1.0.0", "info": { "name": "Freshdesk REST Agents Companies API", "version": "2.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Companies", "type": "folder" }, "items": [ { "info": { "name": "List all companies", "type": "http" }, "http": { "method": "GET", "url": "https://{domain}.freshdesk.com/api/v2/companies", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number for paginated results." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of results per page (max 100)." } ] }, "docs": "Retrieves a paginated list of companies." }, { "info": { "name": "Create a company", "type": "http" }, "http": { "method": "POST", "url": "https://{domain}.freshdesk.com/api/v2/companies", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new company in the helpdesk." }, { "info": { "name": "View a company", "type": "http" }, "http": { "method": "GET", "url": "https://{domain}.freshdesk.com/api/v2/companies/:company_id", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "Unique identifier of the company." } ] }, "docs": "Retrieves the details of a specific company by ID." }, { "info": { "name": "Update a company", "type": "http" }, "http": { "method": "PUT", "url": "https://{domain}.freshdesk.com/api/v2/companies/:company_id", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "Unique identifier of the company." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the properties of an existing company." }, { "info": { "name": "Delete a company", "type": "http" }, "http": { "method": "DELETE", "url": "https://{domain}.freshdesk.com/api/v2/companies/:company_id", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "Unique identifier of the company." } ] }, "docs": "Deletes a company from the helpdesk." }, { "info": { "name": "List all company fields", "type": "http" }, "http": { "method": "GET", "url": "https://{domain}.freshdesk.com/api/v2/company_fields" }, "docs": "Retrieves all default and custom company fields." } ] } ], "bundled": true }