Default
Endpoint for getting all workspaces for the authenticated user with summary statistics
Workspaces fetched successfully
Unauthorized
Forbidden
Internal server error
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
}
}
]
Endpoint for deleting all data associated with an array of FileId
The workspace id
Comma-separated list of file IDs to be deleted
Successfully deleted!!
No content
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"
]
Successfully deleted!!
No content
Endpoint for deleting all data associated with a domain in a workspace
The workspace id
Successfully deleted!!
No content
DELETE /api/v2/deleteByDomain?wkspId=123e4567-e89b-12d3-a456-426614174000&fileId=[object+Object] HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
Successfully deleted!!
No content
Endpoint for building queries based on fields and domains with pagination support.
The workspace ID
The query string to be processed
Successfully retrieved query results
Bad Request - Query or field parameters are missing or invalid
Unauthorized - User not authenticated
Forbidden - User does not have access to the workspace
Internal Server Error - An error occurred while processing the query
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": [
{},
{}
]
}
Fetch recent queries made by the user within a specific workspace.
The workspace ID to fetch the recent queries from.
Successfully retrieved recent queries.
Unauthorized - User is not authenticated.
Forbidden - User does not have access to the workspace or it doesn't exist.
Internal Server Error - An error occurred while processing the request.
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"
}
]
}
Endpoint for deleting all data associated with a workspace
The workspace id
Successfully deleted!!
No content
DELETE /api/v2/deleteBywkspId?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
Successfully deleted!!
No content
Endpoint for updating last opened at time of workspace
The workspace id
No content
PUT /api/v2/updateWkspLastOpenedAt?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
No content
Endpoint for creating a workspace
Workspace created successfully
No content
POST /api/v2/createWorkspace HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"name": "text"
}
Workspace created successfully
No content
Endpoint for updating a workspace
The workspace id
No content
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"
}
No content
Fetch custom words associated with the user and workspace.
The workspace ID to fetch custom words for.
Successfully retrieved custom words.
Bad Request - Invalid input (missing userId or workspaceId).
Forbidden - User does not have access to the workspace or it doesn't exist.
Not Found - User not found.
Internal Server Error - An error occurred while processing the request.
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"
]
}
Endpoint for uploading single URL
The workspace id to upload the URL
URL successfully uploaded
No content
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"
}
URL successfully uploaded
No content
Endpoint for fetching scans with filtering, pagination and sorting capabilities
The workspace id to fetch scans from
Filter by scan categories
Filter by scan status
Minimum threat score filter
Maximum threat score filter
Filter scans from this date
Filter scans up to this date
Page number for pagination
1
Number of items per page
20
Field to sort by
lastScannedOn
Sort order
desc
Possible values: Search term for filtering scans
Scans fetched successfully
Invalid parameters
Unauthorized
Forbidden
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
}
Endpoint for getting scan summary overview
The workspace id
The run id of the scan
Scan summary fetched successfully
Missing required parameters or invalid category
Unauthorized
Forbidden
Scan not found
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": {}
}
Endpoint for getting scan summary keys and secrets information
The workspace id
The run id of the scan
Scan keys and secrets summary fetched successfully
Missing required parameters or invalid category
Unauthorized
Forbidden
Scan not found
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": {}
}
Endpoint for getting scan summary JavaScript intelligence information
The workspace id
The run id of the scan
Scan JavaScript intelligence summary fetched successfully
Missing required parameters or invalid category
Unauthorized
Forbidden
Scan not found
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": {}
}
Compare two jsmon ids
The workspace id to upload the URL
The first jsmon id to compare
The second jsmon id to compare
successfully compared the jsmonIds
No content
POST /api/v2/compareJsmonIds?wkspId=123e4567-e89b-12d3-a456-426614174000&jsmonId1=text&jsmonId2=text HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
successfully compared the jsmonIds
No content
Endpoint for creating a report for the given domainNames
The workspace id to upload the URL
Array of domain names for the report (cannot be empty)
Name of the report
Report generated successfully
No content
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"
}
Report generated successfully
No content
Endpoint for fetching all urls of a user/org
The workspace id to upload the URL
urls fetched successfully
No content
GET /api/v2/searchAllUrls/?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
urls fetched successfully
No content
Endpoint for fetching dashboard data of a user/org
The workspace id to upload the URL
dashboard data fetched successfully
No content
GET /api/v2/dashboard/?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
dashboard data fetched successfully
No content
Endpoint for getting workspace summary with statistics and severe issues
The workspace id to get summary for
Workspace summary fetched successfully
wkspId query parameter is required
Unauthorized
Forbidden
Workspace not found
Internal server error
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": [
{}
]
}
]
}
Endpoint for fetching severity issues of a user/org
The workspace id to upload the URL
severity issues fetched successfully
No content
GET /api/v2/severityIssues/?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
severity issues fetched successfully
No content
Endpoint for deleting a url associated with a user/org with jsmonId
for deleting single jsmon
url deleted
No content
DELETE /api/v2/deleteUrl/{ID} HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
url deleted
No content
Endpoint viewing a report
Report found
No content
POST /api/v2/viewReport/ HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"fileId": "text"
}
Report found
No content
Endpoint for deleting the report
file deleted
No content
DELETE /api/v2/deleteReport/ HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"fileId": "text"
}
file deleted
No content
Upload file containing URLs (one URL per line)
The workspace id to upload the URL
File with URLs
File ID
No content
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"
}
File ID
No content
Scan specific file
File ID
The workspace id to upload the URL
Success
No content
GET /api/v2/scanFIle/{id}?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
Success
No content
Returns content of specific File
File ID
The workspace id to upload the URL
File content
No content
GET /api/v2/viewFile/{ID}?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
File content
No content
Returns unminified version of code fetched from provided URL
Unminified code
No content
POST /api/v2/unminify HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 14
{
"url": "text"
}
Unminified code
No content
Returns unminified version of provided code (plaintext)
Unminified code
No content
POST /api/v2/unminifycode HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"code": "text"
}
Unminified code
No content
Compare two different URLs
The workspace id to upload the URL
Comparison result
No content
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"
}
Comparison result
No content
Delete specific file
File ID
Success
No content
DELETE /api/v2/deleteFIle/{ID} HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
Success
No content
Rescans specific URL
URL ID
Success
No content
GET /api/v2/rescanURL/{ID} HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
Success
No content
For bulk deleting files
The workspace id to upload the URL
Success
No content
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"
]
Success
No content
Endpoint to scan file
Sucess
No content
POST /api/v2/moduleScannerForFile HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"moduleIds": [
"text"
],
"fileId": "text"
}
Sucess
No content
Endpoint to scan URL
Sucess
No content
POST /api/v2/moduleScannerForUrl HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"moduleIds": [
"text"
],
"jsmonId": "text"
}
Sucess
No content
Endpoint to automate scan domain
The workspace id to upload the URL
The domain to be scanned
Array of words for scanning
Array of header strings for scanning
Sucess
No content
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"
]
}
Sucess
No content
Endpoint to automate scan data collection for given domain names via file upload
The file containing domain names
Success
No content
Bad Request - Invalid or missing file
Internal Server Error
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
Endpoint to search URLs by domain
The workspace id to upload the URL
Sucess
No content
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"
}
Sucess
No content
Endpoint to search automation
The workspace id to upload the URL
Sucess
No content
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"
}
Sucess
No content
Endpoint for starting cron job
Notification channel options
Types of vulnerabilities
Time in hours (0 to 24)
Array of domains
CronJob scheduled successfully
No content
Bad request, check input data
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
Endpoint for getting cron job data
Send the cronData for the userId or the orgId
No content
GET /api/v2/getCronJob HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
Send the cronData for the userId or the orgId
No content
Endpoint for stopping cron job
CronJob stopped successfully
No content
PUT /api/v2/stopCron HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
CronJob stopped successfully
No content
Endpoint for starting cron job
Notification channel options
Types of vulnerabilities
Time in hours (0 to 24)
Array of domains
CronJob scheduled successfully
No content
Bad request, check input data
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
Endpoint to fetch recent scans
The workspace id to upload the URL
The word to search
Success
No content
GET /getRecentScans?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
Success
No content
Endpoint to fetch all the workspaces
Workspaces Retrieved Successfully
No content
GET /getWorkspaces HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
Workspaces Retrieved Successfully
No content
Endpoint to upload logo for workspace
The workspace id to upload the logo
The logo to upload
Logo uploaded successfully
No content
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'"
Logo uploaded successfully
No content
Endpoint to view files
The workspace id to view the files
The search query to filter the files
Files viewed successfully
No content
GET /api/v2/viewFiles?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
Files viewed successfully
No content
Endpoint to add custom words
The workspace id to add the custom words
Default response
No content
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 response
No content
Endpoint to fetch all the reports
The workspace id to upload the URL
Sucess
No content
GET /api/v2/reports?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
Sucess
No content
Endpoint to fetch all the domains
The workspace id to upload the URL
Sucess
No content
GET /api/v2/getDomains?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
Sucess
No content
Endpoint to fetch all the emails
The workspace id to upload the URL
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": []
}
Endpoint to fetch all the ips
The workspace id to upload the URL
Sucess
No content
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": []
}
Sucess
No content
Endpoint to fetch all the s3 domains
The workspace id to upload the URL
Sucess
No content
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"
]
}
Sucess
No content
Endpoint to fetch all the GQL Query
The workspace id to upload the URL
Sucess
No content
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"
]
}
Sucess
No content
Endpoint to fetch all the domains urls
The workspace id to upload the URL
Sucess
No content
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"
]
}
Sucess
No content
Endpoint to fetch all the data count
The workspace id to upload the URL
Sucess
No content
GET /api/v2/getData?wkspId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
Sucess
No content
Endpoint to fetch all the jsmon ids of a URL
The workspace id to upload the URL
Sucess
No content
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"
}
Sucess
No content
Endpoint to send Otp for Verification
Verification OTP sent successfully, please check your spam as well.
No content
POST /api/v2/sendOtp HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"email": "text"
}
Verification OTP sent successfully, please check your spam as well.
No content
Endpoint to check whether the user exist already or not
Default response
No content
POST /api/v2/isUserExist HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"email": "text"
}
Default response
No content
Endpoint for inviting user to organization
JWT token for users(individual) and session token for org users
No content
POST /api/v2/login HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 34
{
"email": "text",
"password": "text"
}
JWT token for users(individual) and session token for org users
No content
Endpoint for registering a user
User created successfully
No content
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"
}
User created successfully
No content
Endpoint for sending mail to reset password
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 HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"email": "text"
}
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
Endpoint for viewing user profile
User Profile
No content
GET /api/v2/viewProfile HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
User Profile
No content
Endpoint for resetting password for login user
Profile selected successfully
No content
POST /api/v2/resetPassword HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 43
{
"oldPassword": "text",
"newPassword": "text"
}
Profile selected successfully
No content
Endpoint for getting all the logs used during apicall using API_KEY
API usage logs retrieved successfully
No content
GET /api/v2/apiusageLogs HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
API usage logs retrieved successfully
No content
Endpoint for selecting profile
Profile selected successfully
No content
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"
}
Profile selected successfully
No content
Endpoint for inviting user to organization
Invite sent successfully
No content
POST /api/v2/addOrgUser HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 30
{
"email": "text",
"role": "text"
}
Invite sent successfully
No content
Endpoint for updating already created invite
URL successfully uploaded
No content
POST /api/v2/updateOrgInvite HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"role": "text"
}
URL successfully uploaded
No content
Endpoint for getting all users in an organization
Users retrieved successfully
No content
GET /api/v2/getOrgUsers HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
Users retrieved successfully
No content
Endpoint for getting all invites in an organization
Invites retrieved successfully
No content
GET /api/v2/getOrgInvites HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
Invites retrieved successfully
No content
Endpoint for updating already created user
User updated successfully
No content
POST /api/v2/updateOrgUser HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"userId": "text",
"role": "text"
}
User updated successfully
No content
Endpoint for deleting multiple users from an organization
Comma separated list of user IDs to be deleted
Users deleted successfully
No content
DELETE /api/v2/deleteOrgUsers?userIds=text HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
Users deleted successfully
No content
Endpoint for creating hooks for an organization
URL for the Discord webhook
URL for the Slack webhook
Hooks created successfully
No content
POST /api/v2/createHooks HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"discordWebhookUrl": "text",
"slackWebhookUrl": "text"
}
Hooks created successfully
No content
Endpoint for generating API keys for an organization with expiration day
Expiration period for the API key in days
API key generated successfully
No content
POST /api/v2/generateApiKey HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 12
{
"expire": 1
}
API key generated successfully
No content
Endpoint for getting API keys for an user or org
API key generated successfully
No content
GET /api/v2/getApiKey HTTP/1.1
Host: api-dev.jsmon.sh
Accept: */*
API key generated successfully
No content