{ "opencollection": "1.0.0", "info": { "name": "Wodify Classes Leads API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "x-api-key", "value": "{{x-api-key}}", "placement": "header" } }, "items": [ { "info": { "name": "Leads", "type": "folder" }, "items": [ { "info": { "name": "Get leads", "type": "http" }, "http": { "method": "GET", "url": "https://api.wodify.com/v1/leads", "params": [ { "name": "sort", "value": "", "type": "query", "description": "Specifies the order in which the list will be returned." }, { "name": "page", "value": "", "type": "query", "description": "Specifies the page of records to be returned. Defaults to 1." }, { "name": "page_size", "value": "", "type": "query", "description": "Number of records to return per page. Maximum and default are 100." } ] }, "docs": "Returns a paged list of leads (prospective members)." }, { "info": { "name": "Create lead", "type": "http" }, "http": { "method": "POST", "url": "https://api.wodify.com/v1/leads", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new lead." }, { "info": { "name": "Get lead", "type": "http" }, "http": { "method": "GET", "url": "https://api.wodify.com/v1/leads/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Retrieves a single lead by ID." }, { "info": { "name": "Update lead", "type": "http" }, "http": { "method": "PUT", "url": "https://api.wodify.com/v1/leads/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing lead." }, { "info": { "name": "Delete lead", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.wodify.com/v1/leads/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Deletes a lead." }, { "info": { "name": "Convert lead to client", "type": "http" }, "http": { "method": "POST", "url": "https://api.wodify.com/v1/leads/:id/convert-to-client", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Converts a lead into a client." } ] } ], "bundled": true }