{ "opencollection": "1.0.0", "info": { "name": "API Endpoints subpackage_activities subpackage_leadStatuses API", "version": "1.0.0" }, "items": [ { "info": { "name": "subpackage_leadStatuses", "type": "folder" }, "items": [ { "info": { "name": "List lead statuses for your organization", "type": "http" }, "http": { "method": "GET", "url": "https://api.close.com/api/v1/status/lead/", "headers": [ { "name": "Authorization", "value": "" } ] }, "docs": "List lead statuses for your organization" }, { "info": { "name": "Create a new status that can be applied to leads", "type": "http" }, "http": { "method": "POST", "url": "https://api.close.com/api/v1/status/lead/", "headers": [ { "name": "Authorization", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new status that can be applied to leads" }, { "info": { "name": "Rename a lead status", "type": "http" }, "http": { "method": "PUT", "url": "https://api.close.com/api/v1/status/lead/:id/", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a lead status. The `label` and `color` can be changed. To update the status of a particular lead, see PUT `/lead/{lead_id}/`." }, { "info": { "name": "Delete a lead status", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.close.com/api/v1/status/lead/:id/", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "You should make sure no leads are assigned this status, first." } ] } ], "bundled": true }