Default

get
/api/v2/workspaces

Endpoint for getting all workspaces for the authenticated user with summary statistics

Authorizations
Responses
200

Workspaces fetched successfully

application/json
get
/api/v2/workspaces
GET /api/v2/workspaces HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
[
  {
    "wkspId": "123e4567-e89b-12d3-a456-426614174000",
    "name": "Production Environment",
    "userId": "user123",
    "createdAt": "2024-01-15T10:30:00.000Z",
    "lastOpenedAt": "2024-01-20T14:45:00.000Z",
    "summary": {
      "jsUrls": 150,
      "domains": 25,
      "keysAndSecrets": 12,
      "jsIntelligenceResults": 75
    }
  },
  {
    "wkspId": "456e7890-e89b-12d3-a456-426614174001",
    "name": "Development Environment",
    "userId": "user123",
    "createdAt": "2024-01-10T09:15:00.000Z",
    "lastOpenedAt": "2024-01-19T16:20:00.000Z",
    "summary": {
      "jsUrls": 89,
      "domains": 15,
      "keysAndSecrets": 5,
      "jsIntelligenceResults": 45
    }
  }
]
delete
/api/v2/deleteByFileId

Endpoint for deleting all data associated with an array of FileId

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id

Bodystring · uuid[]
string · uuid[]Optional

Comma-separated list of file IDs to be deleted

Responses
200

Successfully deleted!!

No content

delete
/api/v2/deleteByFileId
DELETE /api/v2/deleteByFileId?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 40

[
  "123e4567-e89b-12d3-a456-426614174000"
]
200

Successfully deleted!!

No content

delete
/api/v2/deleteByDomain

Endpoint for deleting all data associated with a domain in a workspace

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id

Responses
200

Successfully deleted!!

No content

delete
/api/v2/deleteByDomain
DELETE /api/v2/deleteByDomain?wkspId=123e4567-e89b-12d3-a456-426614174000&fileId=[object+Object] HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

Successfully deleted!!

No content

post
/api/v2/queryBuilder

Endpoint for building queries based on fields and domains with pagination support.

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace ID

Body
querystringOptional

The query string to be processed

Responses
200

Successfully retrieved query results

application/json
post
/api/v2/queryBuilder
POST /api/v2/queryBuilder?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 59

{
  "query": "field=jsUrls domain=example.com sub=true page=1"
}
{
  "urls": [
    "https://example.com",
    "https://sub.example.com"
  ],
  "paginatedResults": [
    {},
    {}
  ]
}
get
/api/v2/recentQueries

Fetch recent queries made by the user within a specific workspace.

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace ID to fetch the recent queries from.

Responses
200

Successfully retrieved recent queries.

application/json
get
/api/v2/recentQueries
GET /api/v2/recentQueries?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
{
  "data": [
    {
      "query": "field=jsUrls domain=example.com",
      "createdAt": "2025-03-20T12:34:56.789Z"
    }
  ]
}
delete
/api/v2/deleteBywkspId

Endpoint for deleting all data associated with a workspace

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id

Responses
200

Successfully deleted!!

No content

delete
/api/v2/deleteBywkspId
DELETE /api/v2/deleteBywkspId?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

Successfully deleted!!

No content

put
/api/v2/updateWkspLastOpenedAt

Endpoint for updating last opened at time of workspace

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id

Responses
204Success

No content

put
/api/v2/updateWkspLastOpenedAt
PUT /api/v2/updateWkspLastOpenedAt?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
204Success

No content

post
/api/v2/createWorkspace

Endpoint for creating a workspace

Authorizations
Body
namestringOptional
Responses
201

Workspace created successfully

No content

post
/api/v2/createWorkspace
POST /api/v2/createWorkspace HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}
201

Workspace created successfully

No content

put
/api/v2/updateWorkspace

Endpoint for updating a workspace

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id

Body
namestringOptional
Responses
204Success

No content

put
/api/v2/updateWorkspace
PUT /api/v2/updateWorkspace?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}
204Success

No content

get
/api/v2/getCustomWords

Fetch custom words associated with the user and workspace.

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace ID to fetch custom words for.

Responses
200

Successfully retrieved custom words.

application/json
get
/api/v2/getCustomWords
GET /api/v2/getCustomWords?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
{
  "workspaceId": "d5b32cd7-5e60-4f87-bd5c-d4319f1c8edb",
  "customWords": [
    "word1",
    "word2"
  ]
}
post
/api/v2/uploadUrl

Endpoint for uploading single URL

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Body
urlstringOptional
Responses
200

URL successfully uploaded

No content

post
/api/v2/uploadUrl
POST /api/v2/uploadUrl?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 14

{
  "url": "text"
}
200

URL successfully uploaded

No content

get
/api/v2/fetchScans

Endpoint for fetching scans with filtering, pagination and sorting capabilities

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to fetch scans from

categorystringOptional

Filter by scan categories

statusstringOptional

Filter by scan status

scoreMinstring · max: 10Optional

Minimum threat score filter

scoreMaxstring · max: 10Optional

Maximum threat score filter

dateFromstring · dateOptional

Filter scans from this date

dateTostring · dateOptional

Filter scans up to this date

pagestringOptional

Page number for pagination

Default: 1
limitstringOptional

Number of items per page

Default: 20
sortBystringOptional

Field to sort by

Default: lastScannedOn
sortOrderstring · enumOptional

Sort order

Default: descPossible values:
searchstringOptional

Search term for filtering scans

Responses
200

Scans fetched successfully

application/json
get
/api/v2/fetchScans
GET /api/v2/fetchScans?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
{
  "scans": [
    {}
  ],
  "totalCount": 1,
  "currentPage": 1,
  "totalPages": 1
}
get
/api/v2/scanSummary

Endpoint for getting scan summary overview

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id

runIdstringRequired

The run id of the scan

Responses
200

Scan summary fetched successfully

application/json
get
/api/v2/scanSummary
GET /api/v2/scanSummary?wkspId=123e4567-e89b-12d3-a456-426614174000&runId=text HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
{
  "runId": "text",
  "category": "urlScan",
  "asset": "text",
  "status": "success",
  "summary": {}
}
get
/api/v2/scanSummaryKeysandSecrets

Endpoint for getting scan summary keys and secrets information

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id

runIdstringRequired

The run id of the scan

Responses
200

Scan keys and secrets summary fetched successfully

application/json
get
/api/v2/scanSummaryKeysandSecrets
GET /api/v2/scanSummaryKeysandSecrets?wkspId=123e4567-e89b-12d3-a456-426614174000&runId=text HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
{
  "runId": "text",
  "category": "urlScan",
  "asset": "text",
  "status": "success",
  "keysAndSecrets": {}
}
get
/api/v2/scanSummaryJsIntelligence

Endpoint for getting scan summary JavaScript intelligence information

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id

runIdstringRequired

The run id of the scan

Responses
200

Scan JavaScript intelligence summary fetched successfully

application/json
get
/api/v2/scanSummaryJsIntelligence
GET /api/v2/scanSummaryJsIntelligence?wkspId=123e4567-e89b-12d3-a456-426614174000&runId=text HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
{
  "runId": "text",
  "category": "urlScan",
  "asset": "text",
  "status": "success",
  "jsIntelligence": {}
}
post
/api/v2/compareJsmonIds

Compare two jsmon ids

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

jsmonId1stringRequired

The first jsmon id to compare

jsmonId2stringRequired

The second jsmon id to compare

Responses
200

successfully compared the jsmonIds

No content

post
/api/v2/compareJsmonIds
POST /api/v2/compareJsmonIds?wkspId=123e4567-e89b-12d3-a456-426614174000&jsmonId1=text&jsmonId2=text HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

successfully compared the jsmonIds

No content

post
/api/v2/generateReport/

Endpoint for creating a report for the given domainNames

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Body
domainNamestring[]Required

Array of domain names for the report (cannot be empty)

namestringRequired

Name of the report

Responses
200

Report generated successfully

No content

post
/api/v2/generateReport/
POST /api/v2/generateReport/?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 37

{
  "domainName": [
    "text"
  ],
  "name": "text"
}
200

Report generated successfully

No content

get
/api/v2/searchAllUrls/

Endpoint for fetching all urls of a user/org

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Responses
200

urls fetched successfully

No content

get
/api/v2/searchAllUrls/
GET /api/v2/searchAllUrls/?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

urls fetched successfully

No content

get
/api/v2/dashboard/

Endpoint for fetching dashboard data of a user/org

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Responses
200

dashboard data fetched successfully

No content

get
/api/v2/dashboard/
GET /api/v2/dashboard/?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

dashboard data fetched successfully

No content

get
/api/v2/getWorkspaceSummary

Endpoint for getting workspace summary with statistics and severe issues

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to get summary for

Responses
200

Workspace summary fetched successfully

application/json
get
/api/v2/getWorkspaceSummary
GET /api/v2/getWorkspaceSummary?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
{
  "data": [
    {
      "workspaceName": "text",
      "wkspId": "text",
      "createdAt": "2025-10-19T12:42:55.213Z",
      "lastOpenedAt": "2025-10-19T12:42:55.213Z",
      "summary": {
        "jsUrls": 1,
        "keysAndSecrets": 1,
        "jsIntelligenceResults": 1
      },
      "severeIssues": [
        {}
      ]
    }
  ]
}
get
/api/v2/severityIssues/

Endpoint for fetching severity issues of a user/org

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Responses
200

severity issues fetched successfully

No content

get
/api/v2/severityIssues/
GET /api/v2/severityIssues/?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

severity issues fetched successfully

No content

delete
/api/v2/deleteUrl/{ID}

Endpoint for deleting a url associated with a user/org with jsmonId

Authorizations
Path parameters
IDstringRequired

for deleting single jsmon

Responses
200

url deleted

No content

delete
/api/v2/deleteUrl/{ID}
DELETE /api/v2/deleteUrl/{ID} HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

url deleted

No content

post
/api/v2/viewReport/

Endpoint viewing a report

Authorizations
Body
fileIdstringOptional
Responses
200

Report found

No content

post
/api/v2/viewReport/
POST /api/v2/viewReport/ HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "fileId": "text"
}
200

Report found

No content

delete
/api/v2/deleteReport/

Endpoint for deleting the report

Authorizations
Body
fileIdstringOptional
Responses
200

file deleted

No content

delete
/api/v2/deleteReport/
DELETE /api/v2/deleteReport/ HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "fileId": "text"
}
200

file deleted

No content

post
/api/v2/uploadFile

Upload file containing URLs (one URL per line)

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Body
filestring · binaryOptional

File with URLs

Responses
200

File ID

No content

post
/api/v2/uploadFile
POST /api/v2/uploadFile?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17

{
  "file": "binary"
}
200

File ID

No content

get
/api/v2/scanFIle/{id}

Scan specific file

Authorizations
Path parameters
idstringRequired

File ID

Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Responses
200

Success

No content

get
/api/v2/scanFIle/{id}
GET /api/v2/scanFIle/{id}?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

Success

No content

get
/api/v2/viewFile/{ID}

Returns content of specific File

Authorizations
Path parameters
IDstringRequired

File ID

Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Responses
200

File content

No content

get
/api/v2/viewFile/{ID}
GET /api/v2/viewFile/{ID}?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

File content

No content

post
/api/v2/unminify

Returns unminified version of code fetched from provided URL

Authorizations
Body
urlstringOptional
Responses
200

Unminified code

No content

post
/api/v2/unminify
POST /api/v2/unminify HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 14

{
  "url": "text"
}
200

Unminified code

No content

post
/api/v2/unminifycode

Returns unminified version of provided code (plaintext)

Authorizations
Body
codestringOptional
Responses
200

Unminified code

No content

post
/api/v2/unminifycode
POST /api/v2/unminifycode HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "code": "text"
}
200

Unminified code

No content

post
/api/v2/compare

Compare two different URLs

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Body
id1stringOptional
id2stringOptional
Responses
200

Comparison result

No content

post
/api/v2/compare
POST /api/v2/compare?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 27

{
  "id1": "text",
  "id2": "text"
}
200

Comparison result

No content

delete
/api/v2/deleteFIle/{ID}

Delete specific file

Authorizations
Path parameters
IDstringRequired

File ID

Responses
200

Success

No content

delete
/api/v2/deleteFIle/{ID}
DELETE /api/v2/deleteFIle/{ID} HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

Success

No content

get
/api/v2/rescanURL/{ID}

Rescans specific URL

Authorizations
Path parameters
IDstringRequired

URL ID

Responses
200

Success

No content

get
/api/v2/rescanURL/{ID}
GET /api/v2/rescanURL/{ID} HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

Success

No content

post
/api/v2/bulkDeleteFiles

For bulk deleting files

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Bodystring[]
string[]Optional
Responses
200

Success

No content

post
/api/v2/bulkDeleteFiles
POST /api/v2/bulkDeleteFiles?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 8

[
  "text"
]
200

Success

No content

post
/api/v2/moduleScannerForFile

Endpoint to scan file

Authorizations
Body
moduleIdsstring[]Optional
fileIdstringOptional
Responses
200

Sucess

No content

post
/api/v2/moduleScannerForFile
POST /api/v2/moduleScannerForFile HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 38

{
  "moduleIds": [
    "text"
  ],
  "fileId": "text"
}
200

Sucess

No content

post
/api/v2/moduleScannerForUrl

Endpoint to scan URL

Authorizations
Body
moduleIdsstring[]Optional
jsmonIdstringOptional
Responses
200

Sucess

No content

post
/api/v2/moduleScannerForUrl
POST /api/v2/moduleScannerForUrl HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 39

{
  "moduleIds": [
    "text"
  ],
  "jsmonId": "text"
}
200

Sucess

No content

post
/api/v2/automateScanDomain

Endpoint to automate scan domain

Authorizations
wkspId
wkspIdstring · uuidRequired

The workspace id to upload the URL

Body
domainstringOptional

The domain to be scanned

wordsstring[]Optional

Array of words for scanning

headersstring[]Optional

Array of header strings for scanning

Responses
200

Sucess

No content

post
/api/v2/automateScanDomain
POST /api/v2/automateScanDomain HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 53

{
  "domain": "text",
  "words": [
    "text"
  ],
  "headers": [
    "text"
  ]
}
200

Sucess

No content

post
/api/v2/automateScanFile

Endpoint to automate scan data collection for given domain names via file upload

Authorizations
Body
filestring · binaryRequired

The file containing domain names

Responses
200

Success

No content

post
/api/v2/automateScanFile
POST /api/v2/automateScanFile HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17

{
  "file": "binary"
}

No content

post
/api/v2/searchUrlbyDomain/

Endpoint to search URLs by domain

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Body
domainstringOptional
showOnlystringOptional
Responses
200

Sucess

No content

post
/api/v2/searchUrlbyDomain/
POST /api/v2/searchUrlbyDomain/?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 35

{
  "domain": "text",
  "showOnly": "text"
}
200

Sucess

No content

post
/api/v2/searchAutomation

Endpoint to search automation

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Body
domainstringOptional
showOnlystringOptional
Responses
200

Sucess

No content

post
/api/v2/searchAutomation
POST /api/v2/searchAutomation?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 35

{
  "domain": "text",
  "showOnly": "text"
}
200

Sucess

No content

put
/api/v2/startCron

Endpoint for starting cron job

Authorizations
Body
urlstringOptional
notificationChannelstring · enumOptional

Notification channel options

Possible values:
vulnerabilitiesTypestring · enumOptional

Types of vulnerabilities

Possible values:
timeinteger · max: 24Optional

Time in hours (0 to 24)

domainsstring[]Optional

Array of domains

Responses
200

CronJob scheduled successfully

No content

put
/api/v2/startCron
PUT /api/v2/startCron HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 101

{
  "url": "text",
  "notificationChannel": "Slack",
  "vulnerabilitiesType": "URLs",
  "time": 1,
  "domains": [
    "text"
  ]
}

No content

get
/api/v2/getCronJob

Endpoint for getting cron job data

Authorizations
NA
stringOptional
Responses
200

Send the cronData for the userId or the orgId

No content

get
/api/v2/getCronJob
GET /api/v2/getCronJob HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

Send the cronData for the userId or the orgId

No content

put
/api/v2/stopCron

Endpoint for stopping cron job

Authorizations
Responses
200

CronJob stopped successfully

No content

put
/api/v2/stopCron
PUT /api/v2/stopCron HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

CronJob stopped successfully

No content

put
/api/v2/updateCron

Endpoint for starting cron job

Authorizations
Body
urlstringOptional
notificationChannelstring · enumOptional

Notification channel options

Possible values:
vulnerabilitiesTypestring · enumOptional

Types of vulnerabilities

Possible values:
timeinteger · max: 24Optional

Time in hours (0 to 24)

domainsstring[]Optional

Array of domains

Responses
200

CronJob scheduled successfully

No content

put
/api/v2/updateCron
PUT /api/v2/updateCron HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 101

{
  "url": "text",
  "notificationChannel": "Slack",
  "vulnerabilitiesType": "URLs",
  "time": 1,
  "domains": [
    "text"
  ]
}

No content

get
/getRecentScans

Endpoint to fetch recent scans

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

wordstringOptional

The word to search

Responses
200

Success

No content

get
/getRecentScans
GET /getRecentScans?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

Success

No content

get
/getWorkspaces

Endpoint to fetch all the workspaces

Authorizations
Responses
200

Workspaces Retrieved Successfully

No content

get
/getWorkspaces
GET /getWorkspaces HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

Workspaces Retrieved Successfully

No content

post
/uploadLogoWorkspace

Endpoint to upload logo for workspace

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the logo

Body
filestring · binaryRequired

The logo to upload

Responses
200

Logo uploaded successfully

No content

post
/uploadLogoWorkspace
POST /uploadLogoWorkspace?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 17

"file='binary'"
200

Logo uploaded successfully

No content

get
/api/v2/viewFiles

Endpoint to view files

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to view the files

searchstringOptional

The search query to filter the files

Responses
200

Files viewed successfully

No content

get
/api/v2/viewFiles
GET /api/v2/viewFiles?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

Files viewed successfully

No content

post
/api/v2/addCustomWords

Endpoint to add custom words

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to add the custom words

Bodystring[]
string[]Optional
Responses
default

Default response

No content

post
/api/v2/addCustomWords
POST /api/v2/addCustomWords?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 8

[
  "text"
]
default

Default response

No content

get
/api/v2/reports

Endpoint to fetch all the reports

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Responses
200

Sucess

No content

get
/api/v2/reports
GET /api/v2/reports?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

Sucess

No content

get
/api/v2/getDomains

Endpoint to fetch all the domains

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Responses
200

Sucess

No content

get
/api/v2/getDomains
GET /api/v2/getDomains?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

Sucess

No content

post
/api/v2/getEmails

Endpoint to fetch all the emails

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Body
Responses
post
/api/v2/getEmails
POST /api/v2/getEmails?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 14

{
  "domains": []
}
post
/api/v2/getIps

Endpoint to fetch all the ips

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Body
Responses
200

Sucess

No content

post
/api/v2/getIps
POST /api/v2/getIps?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 14

{
  "domains": []
}
200

Sucess

No content

post
/api/v2/getS3Domains

Endpoint to fetch all the s3 domains

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Body
domainsstring[]Required
Responses
200

Sucess

No content

post
/api/v2/getS3Domains
POST /api/v2/getS3Domains?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 20

{
  "domains": [
    "text"
  ]
}
200

Sucess

No content

post
/api/v2/getGqlOps

Endpoint to fetch all the GQL Query

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Body
domainsstring[]Required
Responses
200

Sucess

No content

post
/api/v2/getGqlOps
POST /api/v2/getGqlOps?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 20

{
  "domains": [
    "text"
  ]
}
200

Sucess

No content

post
/api/v2/getDomainsUrls

Endpoint to fetch all the domains urls

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Body
domainsstring[]Required
Responses
200

Sucess

No content

post
/api/v2/getDomainsUrls
POST /api/v2/getDomainsUrls?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 20

{
  "domains": [
    "text"
  ]
}
200

Sucess

No content

get
/api/v2/getData

Endpoint to fetch all the data count

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Responses
200

Sucess

No content

get
/api/v2/getData
GET /api/v2/getData?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

Sucess

No content

post
/api/v2/getJsmonId

Endpoint to fetch all the jsmon ids of a URL

Authorizations
Query parameters
wkspIdstring · uuidRequired

The workspace id to upload the URL

Body
urlstringRequired
Responses
200

Sucess

No content

post
/api/v2/getJsmonId
POST /api/v2/getJsmonId?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 14

{
  "url": "text"
}
200

Sucess

No content

post
/api/v2/sendOtp

Endpoint to send Otp for Verification

Body
emailstringOptional
Responses
200

Verification OTP sent successfully, please check your spam as well.

No content

post
/api/v2/sendOtp
POST /api/v2/sendOtp HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "email": "text"
}
200

Verification OTP sent successfully, please check your spam as well.

No content

post
/api/v2/isUserExist

Endpoint to check whether the user exist already or not

Body
emailstringOptional
Responses
default

Default response

No content

post
/api/v2/isUserExist
POST /api/v2/isUserExist HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "email": "text"
}
default

Default response

No content

post
/api/v2/login

Endpoint for inviting user to organization

Body
emailstringOptional
passwordstringOptional
Responses
200

JWT token for users(individual) and session token for org users

No content

post
/api/v2/login
POST /api/v2/login HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 34

{
  "email": "text",
  "password": "text"
}
200

JWT token for users(individual) and session token for org users

No content

post
/api/v2/createUser

Endpoint for registering a user

Body
namestringOptional
emailstringOptional
passwordstringOptional
userOTPstringOptional
Responses
200

User created successfully

No content

post
/api/v2/createUser
POST /api/v2/createUser HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 65

{
  "name": "text",
  "email": "text",
  "password": "text",
  "userOTP": "text"
}
200

User created successfully

No content

post
/api/v2/forgotPassword

Endpoint for sending mail to reset password

Body
emailstringOptional
Responses
200

If an account exists for entered email, you will get an email with instructions on resetting your password. If it doesn't arrive, be sure to check your spam folder.

No content

post
/api/v2/forgotPassword
POST /api/v2/forgotPassword HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "email": "text"
}
200

If an account exists for entered email, you will get an email with instructions on resetting your password. If it doesn't arrive, be sure to check your spam folder.

No content

get
/api/v2/viewProfile

Endpoint for viewing user profile

Authorizations
Responses
200

User Profile

No content

get
/api/v2/viewProfile
GET /api/v2/viewProfile HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

User Profile

No content

post
/api/v2/resetPassword

Endpoint for resetting password for login user

Authorizations
Body
oldPasswordstringRequired
newPasswordstringRequired
Responses
200

Profile selected successfully

No content

post
/api/v2/resetPassword
POST /api/v2/resetPassword HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 43

{
  "oldPassword": "text",
  "newPassword": "text"
}
200

Profile selected successfully

No content

get
/api/v2/apiusageLogs

Endpoint for getting all the logs used during apicall using API_KEY

Authorizations
Responses
200

API usage logs retrieved successfully

No content

get
/api/v2/apiusageLogs
GET /api/v2/apiusageLogs HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

API usage logs retrieved successfully

No content

post
/api/v2/selectProfile

Endpoint for selecting profile

Body
sessionTokenstringRequired
userIdstringRequired
orgIdstringOptional
Responses
200

Profile selected successfully

No content

post
/api/v2/selectProfile
POST /api/v2/selectProfile HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 54

{
  "sessionToken": "text",
  "userId": "text",
  "orgId": "text"
}
200

Profile selected successfully

No content

post
/api/v2/addOrgUser

Endpoint for inviting user to organization

Authorizations
Body
emailstringOptional
rolestringOptional
Responses
200

Invite sent successfully

No content

post
/api/v2/addOrgUser
POST /api/v2/addOrgUser HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 30

{
  "email": "text",
  "role": "text"
}
200

Invite sent successfully

No content

post
/api/v2/updateOrgInvite

Endpoint for updating already created invite

Authorizations
Body
rolestringOptional
Responses
200

URL successfully uploaded

No content

post
/api/v2/updateOrgInvite
POST /api/v2/updateOrgInvite HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "role": "text"
}
200

URL successfully uploaded

No content

get
/api/v2/getOrgUsers

Endpoint for getting all users in an organization

Authorizations
Responses
200

Users retrieved successfully

No content

get
/api/v2/getOrgUsers
GET /api/v2/getOrgUsers HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

Users retrieved successfully

No content

get
/api/v2/getOrgInvites

Endpoint for getting all invites in an organization

Authorizations
Responses
200

Invites retrieved successfully

No content

get
/api/v2/getOrgInvites
GET /api/v2/getOrgInvites HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

Invites retrieved successfully

No content

post
/api/v2/updateOrgUser

Endpoint for updating already created user

Authorizations
Body
userIdstringRequired
rolestringRequired
Responses
200

User updated successfully

No content

post
/api/v2/updateOrgUser
POST /api/v2/updateOrgUser HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 31

{
  "userId": "text",
  "role": "text"
}
200

User updated successfully

No content

delete
/api/v2/deleteOrgUsers

Endpoint for deleting multiple users from an organization

Authorizations
Query parameters
userIdsstringRequired

Comma separated list of user IDs to be deleted

Responses
200

Users deleted successfully

No content

delete
/api/v2/deleteOrgUsers
DELETE /api/v2/deleteOrgUsers?userIds=text HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

Users deleted successfully

No content

post
/api/v2/createHooks

Endpoint for creating hooks for an organization

Authorizations
Body
discordWebhookUrlstringOptional

URL for the Discord webhook

slackWebhookUrlstringOptional

URL for the Slack webhook

Responses
200

Hooks created successfully

No content

post
/api/v2/createHooks
POST /api/v2/createHooks HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 53

{
  "discordWebhookUrl": "text",
  "slackWebhookUrl": "text"
}
200

Hooks created successfully

No content

post
/api/v2/generateApiKey

Endpoint for generating API keys for an organization with expiration day

Authorizations
Body
expireintegerOptional

Expiration period for the API key in days

Responses
200

API key generated successfully

No content

post
/api/v2/generateApiKey
POST /api/v2/generateApiKey HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 12

{
  "expire": 1
}
200

API key generated successfully

No content

get
/api/v2/getApiKey

Endpoint for getting API keys for an user or org

Authorizations
Responses
200

API key generated successfully

No content

get
/api/v2/getApiKey
GET /api/v2/getApiKey HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
200

API key generated successfully

No content