{ "opencollection": "1.0.0", "info": { "name": "Trelica REST Application Users People API", "version": "1.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://app.trelica.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "People", "type": "folder" }, "items": [ { "info": { "name": "List People", "type": "http" }, "http": { "method": "GET", "url": "https://app.trelica.com/api/people/v1", "params": [ { "name": "q", "value": "", "type": "query", "description": "Free-text search across name and email" }, { "name": "since", "value": "", "type": "query", "description": "Filter people modified after this date/time" }, { "name": "after", "value": "", "type": "query", "description": "Pagination cursor" }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of results (default 100)" }, { "name": "filter", "value": "", "type": "query", "description": "SCIM-style filter expression" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://app.trelica.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns a paginated list of people (employees) in the organization." }, { "info": { "name": "Create Person", "type": "http" }, "http": { "method": "POST", "url": "https://app.trelica.com/api/people/v1", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://app.trelica.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Creates a new person record in Trelica." }, { "info": { "name": "Get Person", "type": "http" }, "http": { "method": "GET", "url": "https://app.trelica.com/api/people/v1/:personId", "params": [ { "name": "personId", "value": "", "type": "path", "description": "Unique identifier for the person" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://app.trelica.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns details for a specific person by their ID." }, { "info": { "name": "Update Person", "type": "http" }, "http": { "method": "PATCH", "url": "https://app.trelica.com/api/people/v1/:personId", "params": [ { "name": "personId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://app.trelica.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Updates specific fields on a person record." } ] } ], "bundled": true }