/v1). New endpoints, new optional request fields, and
new response fields are added to /v1 and listed here. See Versioning & deprecation.
First release
Secfix Public API v1.0
The first release of the Secfix Public API.Authentication and access- Get a short-lived bearer token from
POST /oauth/tokenwith the OAuth 2.0 client credentials grant. Each API key has one active token: requesting a new one makes the previous one stop working (401 token_superseded). See Authentication. - Create API keys in Settings β API in the Secfix app, with Read (
all:read), Write (all:write) or Full access. See Scopes.
GET /v1/inventory/assetsandGET /v1/inventory/assets/{id}: assets from every category, with category fields such asaccountIdandregionforCLOUD,serialNumberandosVersionforCOMPUTER, andemailforEMPLOYEE.- Filter the list by
categoryKey,subKey,hasOwner,hasDescription,classification,ownerStatus,auditStatus,externalSourceandexternalAssetId. - Create, update and delete
CUSTOMandINFORMATIONassets, one at a time or up to 100 per request withbatch-create,batch-updateandbatch-delete. Each record in a batch gets its own result. - Send
externalSourceandexternalAssetIdto link an asset to a record in your own system. Creating it again with the same pair updates the existing asset instead of adding a new one. GET /v1/inventory/categorieslists the inventory categories.
GET /v1/computersandGET /v1/computers/{id}: computers, their security settings and whether Secfix monitors them. Filter by owner withownerId. See Working with computers.GET /v1/employeesandGET /v1/employees/{id}: the people in your workspace, with employment status, group and onboarding progress. See Working with employees.GET /v1/groupsandGET /v1/groups/{id}: employee groups, member counts, onboarding tasks and group settings. See Working with groups.
GET /v1/healthreports whether the API is up. It doesnβt need an access token.
- Cursor pagination on every list, with
pageInfofor the next and previous page and the total count. See Pagination. - An
Idempotency-Keyheader makesPOSTandPATCHrequests to/v1safe to retry. See Idempotency. - Errors are JSON objects with a stable
codeand therequestId. See Errors. - Separate rate limits for token, read and write requests. See Rate limits.