Overview

This is the API documentation for My OPSWAT Public API.

Server
https://apiv1.my.opswat.com

My OPSWAT Portal Server

Server Variables

A token can be generated from a secret key that is managed on My OPSWAT Portal.

This token is used as an API Key for protected APIs.

Format: Authorization: Bearer

Important Notes

  • Token has expiration time
  • Must regenerate when expired

Auth

API for generating access token

Get access token

Generate access token using client credentials.

Rate Limit Note: The API rate limit is set to 5 requests per minute per user account.

Auth
Headers
Content-Typestring

application/json

Request Body
objectobject
client_idstring

Identifier for your application

client_secretstring

Secret key used to authenticate your application

grant_typestring

OAuth 2.0 grant type

Enum: client_credentials

POST /portal/oauth2/token
Copy
Responses
200

Access token generated successfully

objectobject

Response returned when an access token is successfully generated.

dataobject

Contains access token information.

access_tokenstring

Token used to authenticate requests to protected APIs.

token_typestring

Token type (typically Bearer).

expires_ininteger

Lifetime of the access token in seconds.

400

Validation error

401

Authentication failed due to invalid credentials

429

Rate limit exceeded. Retry after the specified time.

500

Internal server error occurred

Response
Copy

Product

APIs related to products and licenses management.

Get active license deployment

Retrieve deployment information for an active license key.

Note: The license data is synchronized from a third-party system and may be delayed by up to 24 hours.

Product Mapping

Licensed Product Id Product Name Platform
1 MetaDefender Core Linux
2 MetaDefender Core Windows
3 MetaDefender ICAP Server
4 MetaDefender Storage Security
5 MetaDefender Endpoint, OPSWAT Central Management
6 MetaDefender Email Gateway Security
7 MetaDefender Managed File Transfer
8 MetaDefender Drive Toolkit
9 MetaDefender Kiosk, MetaDefender Kiosk Windows
11 MetaDefender NetWall
13 MetaDefender Kiosk, MetaDefender Kiosk Linux
15 MetaDefender Industrial Firewall & IPS
16 MetaDefender Aether
17 My OPSWAT Central Management
18 MetaDefender OT Security
19 MetaDefender Software Supply Chain
20 MetaDefender Industrial Firewall
21 My OPSWAT On-premises
22 MetaDefender OT Access On-premises

Rate Limit Note: The API rate limit is set to 10 requests per minute per user account.

Auth
Query String
activation_keystring

The activation key string

product_idinteger

Licensed Product Id

GET /portal/product/license/active-deployments
Copy
Responses
200

Successfully retrieved deployment information

objectobject

Response containing deployment information for an active license key.

successboolean

Indicates whether the request was successful.

dataobject

License and deployment details.

license_keystring

License key string.

notestring

Optional note associated with the license.

typestring

Type of the license key.

Enum: PURCHASED,EVALUATED

expirydate

Expiration date of the license.

productstring

Product associated with the license.

platformstring

Supported platforms of the license.

generated_atdate-time

Timestamp when this data was generated.

deploymentsarray[object]

List of deployments associated with the license.

deployment_idstring

Unique deployment identifier.

descriptionstring

Deployment note.

expirationdate

Deployment expiration date.

activated_atdate-time

Activation timestamp.

quantityinteger

Number of activations.

400

Validation Error

401

Unauthorized - invalid or missing token

403

Forbidden - insufficient permissions

404

License key not found

429

Rate limit exceeded. Retry after the specified time.

500

Internal server error occurred

Response
Copy