API reference

You will need the following inputs for each of the API endpoints:

  • YOUR_API_KEY : Go to My account > Settings > Integrations and fetch API key under Akto API. You should pass it with the header X-API-KEY.

  • URL : This is the url of your Akto dashboard.

POST request for endpoint /api/fetchTestRunResultDetails

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

testingRunResultHexIdstringOptionalExample: 6464783658e3a17b14ddfa67
Responses
200

description

application/json
post
/api/fetchTestRunResultDetails
200

description

POST request for endpoint /api/fetchDataTypes

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body
objectOptional

Sample description

Responses
200

description

application/json
Responseobject

AKTO_ERROR while building schema

post
/api/fetchDataTypes
200

description

POST request for endpoint /api/fetchAffectedEndpoints

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

Responses
200

description

application/json
post
/api/fetchAffectedEndpoints
200

description

POST request for endpoint /api/fetchTagConfigs

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body
objectOptional

Sample description

Responses
200

description

application/json
post
/api/fetchTagConfigs
200

description

POST request for endpoint /api/loadContent

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

apiCollectionIdinteger · int32OptionalExample: 1684477780
Responses
200

description

application/json
Responseobject

Sample description

post
/api/loadContent
200

description

POST request for endpoint /api/retrieveAllCollectionTests

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

fetchCicdbooleanOptionalExample: false
Responses
200

description

application/json
post
/api/retrieveAllCollectionTests
200

description

POST request for endpoint /api/fetchPostmanWorkspaces

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

api_keystringOptionalExample: PMAK-646733223asdasas579bbdd-dca753sdufhgy98erhwui245f12102
Responses
200

description

application/json
post
/api/fetchPostmanWorkspaces
200

description

POST request for endpoint /api/fetchQuickStartPageState

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body
objectOptional

Sample description

Responses
200

description

application/json
post
/api/fetchQuickStartPageState
200

description

POST request for endpoint /api/importDataFromPostmanFile

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

postmanCollectionFilestringOptionalExample: { "info": { "_postman_id": "c144967f-ca7f-4d01-a2a3-b171512d11e7", "name": "test01", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "16638923" }, "item": [ { "name": "req01", "request": { "method": "GET", "header": [], "url": { "raw": "url01?p01=v01&p02&p03", "host": [ "url01" ], "query": [ { "key": "p01", "value": "v01" }, { "key": "p02", "value": null }, { "key": "p03", "value": null } ] } }, "response": [] }, { "name": "re02", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "", "type": "string" }, { "key": "key", "value": "k01", "type": "string" } ] }, "method": "POST", "header": [ { "key": "h01", "value": "", "type": "default" }, { "key": "h02", "value": "", "type": "default" } ], "url": { "raw": "re102?p01&p02&p03&p04", "host": [ "re102" ], "query": [ { "key": "p01", "value": null }, { "key": "p02", "value": null }, { "key": "p03", "value": null }, { "key": "p04", "value": null } ] } }, "response": [] }, { "name": "r03", "request": { "method": "DELETE", "header": [], "url": { "raw": "d01?p01", "host": [ "d01" ], "query": [ { "key": "p01", "value": null } ] } }, "response": [] } ] }
allowReplaybooleanOptionalExample: true
Responses
200

description

application/json
post
/api/importDataFromPostmanFile
200

description

POST request for endpoint /api/fetchAPICollection

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

useHostbooleanOptionalExample: false
apiCollectionIdinteger · int32OptionalExample: 1684477780
Responses
200

description

application/json
post
/api/fetchAPICollection
200

description

POST request for endpoint /api/fetchAllSubCategories

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body
objectOptional

Sample description

Responses
200

description

application/json
Responseobject

AKTO_ERROR while building schema

post
/api/fetchAllSubCategories
200

description

POST request for endpoint /api/fetchNewParametersTrend

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

endTimestampinteger · int32OptionalExample: 1684477941
startTimestampinteger · int32OptionalExample: 1679293941
Responses
200

description

application/json
post
/api/fetchNewParametersTrend
200

description

POST request for endpoint /api/fetchFilters

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body
objectOptional

Sample description

Responses
200

description

application/json
post
/api/fetchFilters
200

description

POST request for endpoint /api/fetchTestRoles

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body
objectOptional

Sample description

Responses
200

description

application/json
post
/api/fetchTestRoles
200

description

POST request for endpoint /api/fetchSubTypeCountMap

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

endTimestampinteger · int32OptionalExample: 1684478055
startTimestampinteger · int32OptionalExample: 0
Responses
200

description

application/json
post
/api/fetchSubTypeCountMap
200

description

POST request for endpoint /api/fetchIssueFromTestRunResultDetails

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

testingRunResultHexIdstringOptionalExample: 6464783658e3a17b14ddfa67
Responses
200

description

application/json
post
/api/fetchIssueFromTestRunResultDetails
200

description

POST request for endpoint /api/fetchSearchTestResults

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

searchTextstringOptional
Responses
200

description

application/json
post
/api/fetchSearchTestResults
200

description

POST request for endpoint /api/fetchSensitiveSampleData

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

methodstringOptionalExample: POST
apiCollectionIdinteger · int32OptionalExample: 1684477780
urlstringOptionalExample: /api/fetchQuickStartPageState
Responses
200

description

application/json
post
/api/fetchSensitiveSampleData
200

description

POST request for endpoint /api/loadParamsOfEndpoint

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

methodstringOptionalExample: POST
apiCollectionIdinteger · int32OptionalExample: 1684477780
urlstringOptionalExample: /api/fetchQuickStartPageState
Responses
200

description

application/json
post
/api/loadParamsOfEndpoint
200

description

POST request for endpoint /api/getAllCollections

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body
objectOptional

Sample description

Responses
200

description

application/json
post
/api/getAllCollections
200

description

POST request for endpoint /api/updateIssueStatus

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

ignoreReasonstringOptionalExample: No time to fix
statusToBeUpdatedstringOptionalExample: IGNORED
Responses
200

description

application/json
post
/api/updateIssueStatus
200

description

POST request for endpoint /api/fetchAktoGptConfig

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

apiCollectionIdinteger · int32OptionalExample: 1684477780
Responses
200

description

application/json
post
/api/fetchAktoGptConfig
200

description

POST request for endpoint /api/fetchDataTypeNames

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body
objectOptional

Sample description

Responses
200

description

application/json
post
/api/fetchDataTypeNames
200

description

POST request for endpoint /api/loadRecentEndpoints

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

endTimestampinteger · int32OptionalExample: 1684477941
startTimestampinteger · int32OptionalExample: 1679293941
Responses
200

description

application/json
post
/api/loadRecentEndpoints
200

description

POST request for endpoint /api/fetchAllIssues

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

limitinteger · int32OptionalExample: 20
filterStatusstring[]OptionalExample: OPEN
skipinteger · int32OptionalExample: 0
startEpochinteger · int32OptionalExample: 0
Responses
200

description

application/json
post
/api/fetchAllIssues
200

description

POST request for endpoint /api/addTestRoles

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

roleNamestringOptionalExample: GUEST
Responses
200

description

application/json
post
/api/addTestRoles
200

description

POST request for endpoint /api/fetchTestingRunResults

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

testingRunResultSummaryHexIdstringOptionalExample: 6464783058e3a17b14ddf64e
Responses
200

description

application/json
post
/api/fetchTestingRunResults
200

description

POST request for endpoint /api/fetchAllMarketplaceSubcategories

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body
objectOptional

Sample description

Responses
200

description

application/json
Responseobject

AKTO_ERROR while building schema

post
/api/fetchAllMarketplaceSubcategories
200

description

POST request for endpoint /api/fetchSensitiveParamsForEndpoints

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

urlsstring[]OptionalExample: http://localhost:8080/api/updateProfile
Responses
200

description

application/json
post
/api/fetchSensitiveParamsForEndpoints
200

description

POST request for endpoint /api/getPostmanCredential

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body
objectOptional

Sample description

Responses
200

description

application/json
post
/api/getPostmanCredential
200

description

POST request for endpoint /api/importPostmanWorkspace

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

workspace_idstringOptionalExample: 48dada0a-f1c4-499d-8d4b-0bcbc2ff016f
api_keystringOptionalExample: PMAK-646733223asdasas579bbdd-dca753sdufhgy98erhwui245f12102
allowReplaybooleanOptionalExample: true
Responses
200

description

application/json
post
/api/importPostmanWorkspace
200

description

POST request for endpoint /api/fetchChanges

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

requestbooleanOptionalExample: false
sortKeystringOptionalExample: timestamp
sortOrderinteger · int32OptionalExample: -1
limitinteger · int32OptionalExample: 100
skipinteger · int32OptionalExample: 0
sensitivebooleanOptionalExample: false
endTimestampinteger · int32OptionalExample: 1684477941
startTimestampinteger · int32OptionalExample: 1679293941
Responses
200

description

application/json
post
/api/fetchChanges
200

description

POST request for endpoint /api/addSensitiveField

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

isUrlParambooleanOptionalExample: false
methodstringOptionalExample: POST
maxValueinteger · int32OptionalExample: 1000000
countinteger · int32OptionalExample: 9
apiCollectionIdinteger · int32OptionalExample: 1684477780
isPrivatebooleanOptionalExample: true
sensitivebooleanOptionalExample: true
urlstringOptionalExample: /api/retrieveAllCollectionTests
responseCodeinteger · int32OptionalExample: -1
durationinteger · int32OptionalExample: 0
minValueinteger · int32OptionalExample: 1000000
lastSeeninteger · int32OptionalExample: 1684477801
publicCountinteger · int32OptionalExample: 0
paramstringOptionalExample: account
isHeaderbooleanOptionalExample: true
subTypeStringstringOptionalExample: INTEGER_32
domainstringOptionalExample: ENUM
timestampinteger · int32OptionalExample: 1684477791
uniqueCountinteger · int32OptionalExample: 0
Responses
200

description

application/json
post
/api/addSensitiveField
200

description

POST request for endpoint /api/fetchWorkflowTests

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body
objectOptional

Sample description

Responses
200

description

application/json
post
/api/fetchWorkflowTests
200

description

POST request for endpoint /api/updateTestRoles

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

roleNamestringOptionalExample: MEMBER
Responses
200

description

application/json
post
/api/updateTestRoles
200

description

POST request for endpoint /api/loadSensitiveParameters

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

apiCollectionIdinteger · int32OptionalExample: 1684477780
Responses
200

description

application/json
post
/api/loadSensitiveParameters
200

description

POST request for endpoint /api/fetchAuthMechanismData

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body
objectOptional

Sample description

Responses
200

description

application/json
post
/api/fetchAuthMechanismData
200

description

POST request for endpoint /api/stopAllTests

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body
objectOptional

Sample description

Responses
200

description

application/json
post
/api/stopAllTests
200

description

POST request for endpoint /api/fetchCustomAuthTypes

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body
objectOptional

Sample description

Responses
200

description

application/json
post
/api/fetchCustomAuthTypes
200

description

POST request for endpoint /api/fetchEndpointTrafficData

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

methodstringOptionalExample: POST
endEpochinteger · int32OptionalExample: 1684477910
apiCollectionIdinteger · int32OptionalExample: 1684477780
startEpochinteger · int32OptionalExample: 1679293910
urlstringOptionalExample: /api/fetchQuickStartPageState
Responses
200

description

application/json
post
/api/fetchEndpointTrafficData
200

description

POST request for endpoint /api/saveAktoDataType

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

sensitiveAlwaysbooleanOptionalExample: false
namestringOptionalExample: EMAIL
sensitivePositionstring[]OptionalExample: RESPONSE_PAYLOAD
Responses
200

description

application/json
post
/api/saveAktoDataType
200

description

POST request for endpoint /api/fetchTestingRunResultSummaries

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

testingRunHexIdstringOptionalExample: 646477d11cf07b51403bf5b1
endTimestampinteger · int32OptionalExample: 1684477795
startTimestampinteger · int32OptionalExample: 1683901795
Responses
200

description

application/json
post
/api/fetchTestingRunResultSummaries
200

description

POST request for endpoint /api/fetchSampleData

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

methodstringOptionalExample: POST
apiCollectionIdinteger · int32OptionalExample: 1684477780
urlstringOptionalExample: /api/fetchQuickStartPageState
Responses
200

description

application/json
post
/api/fetchSampleData
200

description

POST request for endpoint /api/fetchTestingSources

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body

Sample description

defaultCreatorbooleanOptionalExample: true
subcategorystringOptionalExample: BFLA
Responses
200

description

application/json
post
/api/fetchTestingSources
200

description

POST request for endpoint /api/fetchActiveLoaders

post
Header parameters
content-typestringOptionalExample: application/json
X-API-KEYstringOptionalExample: YOUR_API_KEY from Settings > Integrations > Akto APIs
Body
objectOptional

Sample description

Responses
200

description

application/json
post
/api/fetchActiveLoaders
200

description

Last updated

Was this helpful?