{ "opencollection": "1.0.0", "info": { "name": "CharlieHR Company API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://charliehr.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Company", "type": "folder" }, "items": [ { "info": { "name": "Get company", "type": "http" }, "http": { "method": "GET", "url": "https://charliehr.com/api/v1/company" }, "docs": "Returns the record for the authenticated company." }, { "info": { "name": "List offices", "type": "http" }, "http": { "method": "GET", "url": "https://charliehr.com/api/v1/offices", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number for paginated results." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of records to return per page." } ] }, "docs": "Returns the offices defined for the authenticated company." }, { "info": { "name": "Get an office", "type": "http" }, "http": { "method": "GET", "url": "https://charliehr.com/api/v1/offices/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the office." } ] }, "docs": "Returns a single office belonging to the authenticated company." }, { "info": { "name": "List teams", "type": "http" }, "http": { "method": "GET", "url": "https://charliehr.com/api/v1/teams", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number for paginated results." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of records to return per page." } ] }, "docs": "Returns the teams defined for the authenticated company." }, { "info": { "name": "Get a team", "type": "http" }, "http": { "method": "GET", "url": "https://charliehr.com/api/v1/teams/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the team." } ] }, "docs": "Returns a single team belonging to the authenticated company." } ] } ], "bundled": true }