{ "opencollection": "1.0.0", "info": { "name": "Accounts Benefits Employers API", "version": "0.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Employers", "type": "folder" }, "items": [ { "info": { "name": "Get all Employers", "type": "http" }, "http": { "method": "GET", "url": "https://integrate.nayya.com/accounts/employers", "headers": [ { "name": "X-API-Version", "value": "" } ], "params": [ { "name": "page", "value": "", "type": "query", "description": "Specifies which page of results to retrieve." }, { "name": "perPage", "value": "", "type": "query", "description": "Number of results per page." }, { "name": "name", "value": "", "type": "query", "description": "Supports like search by name, external ID." }, { "name": "sortBy", "value": "", "type": "query" }, { "name": "sortOrder", "value": "", "type": "query" } ] }, "docs": "Response includes an array with the page and number of results requested. Results are returned in ascending order by `createdAt` date." }, { "info": { "name": "Create an Employer", "type": "http" }, "http": { "method": "POST", "url": "https://integrate.nayya.com/accounts/employers", "headers": [ { "name": "X-API-Version", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create an Employer" }, { "info": { "name": "Check if an Employer is ready", "type": "http" }, "http": { "method": "GET", "url": "https://integrate.nayya.com/accounts/employers/:employerId/is-ready", "headers": [ { "name": "X-API-Version", "value": "" } ], "params": [ { "name": "employerId", "value": "", "type": "path" } ] }, "docs": "Check if an Employer is ready" }, { "info": { "name": "Get an Employer by ID", "type": "http" }, "http": { "method": "GET", "url": "https://integrate.nayya.com/accounts/employers/:employerId", "headers": [ { "name": "X-API-Version", "value": "" } ], "params": [ { "name": "employerId", "value": "", "type": "path", "description": "The unique ID from Nayya or your unique ID prefixed with the `external:` indicator that represents an employer (e.g. `external:3438yht-hg8ht39-h23uh9th-uewht0o`)." } ] }, "docs": "Get an Employer by ID" }, { "info": { "name": "Update an Employer", "type": "http" }, "http": { "method": "PATCH", "url": "https://integrate.nayya.com/accounts/employers/:employerId", "headers": [ { "name": "X-API-Version", "value": "" } ], "params": [ { "name": "employerId", "value": "", "type": "path", "description": "The unique ID from Nayya or your unique ID prefixed with the `external:` indicator that represents an employer (e.g. `external:3438yht-hg8ht39-h23uh9th-uewht0o`)." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an Employer" }, { "info": { "name": "Delete an Employer", "type": "http" }, "http": { "method": "DELETE", "url": "https://integrate.nayya.com/accounts/employers/:employerId", "headers": [ { "name": "X-API-Version", "value": "" } ], "params": [ { "name": "employerId", "value": "", "type": "path", "description": "The unique ID from Nayya or your unique ID prefixed with the `external:` indicator that represents an employer (e.g. `external:3438yht-hg8ht39-h23uh9th-uewht0o`)." } ] }, "docs": "Delete an Employer" } ] } ], "bundled": true }