Knowledge Base
Browse Docs
  • Introduction
    1. DefensX
    2. DNS & Web Filtering
    3. Zero Trust Files
    4. Zero Trust Credentials
    5. ADWare Protection
    6. Remote Browser Isolation
    7. Secure Browser Extension
    8. Secure Mobile Browser
  • Management
    1. Role-Based Access Control
  • Deployment
    1. Deployment via RMM
    2. Operating System Agent
    3. Deployment via GPO
    4. Deployment via Intune
    5. VDI and Terminal Servers
    6. Windows Manual Deployment
    7. Mac MDM Deployment
    8. Mac Manual Deployment
    9. Network Deployment
    10. Secure Mobile Browser
    11. Bypass Option
    12. AI Protections
    13. SaaS Restrictions
    14. Bookmark Manager
  • Secure Access (ZTNA)
    1. Configuration
  • Integrations
    1. Azure AD
    2. Identity Providers
    3. SIEM
  • Policy Management
    1. Configuring Policies
    2. Configuring Consents
  • Questions & Answers
    1. Licensing
    2. Incognito Mode
    3. Onboarding
    4. Active Directory
    5. Group Synchronization
    6. Agent
    7. Conflicting Softwares
    8. Reporting
    9. Virtual Desktops
    10. Using the Backend
    11. DNS & Web Filtering
  • Training Videos
    1. Onboarding Videos
    2. Attack Scenarios
    3. MSP Admin Training Series
  • MSP Automation
    1. Overview
    2. External Notifications
    3. Integrations
    4. Partner API
ONLINE DOCUMENTATION

Configuring API Callback Notifications

In this document
  • Overview
  • Request Format
    • Event Types

Overview

API callback notifications require an API endpoint implementation on your side.

The supported events described below are serialized as JSON and sent to API endpoint that is implemented on your environment via HTTP POST request.

Request Format

The request content-type will be application/json and only a single endpoint was used to make the integration process on the partner’s system easy.

Every request body contains the following object members:

Member Description

event

Type of the event

time

Event creation time in Unix timestamp format

payload

Related object based on the event type

Event Types

Following event types are supported:

Event Type Description

Agent.Create

It is fired when a new Desktop agent created on the system

Agent.Uninstall

It is fired when the agent uninstalled

Agent.Reinstall

It is fired if the agent reinstalled on the same computer

Agent.Delete

It is fired after the agent destroys

UserRequest.Create

It is fired after a user request is submitted through the DefensX extension

A sample request body for the Agent.Create event:

{
    "event": "Agent.Create",
    "time": 1677237885,
    "payload": {
        "type": "Agent",
        "id": "fdceb72a-c274-4844-8b74-a0c74a8018e5",
        "deployment_id": "bef7a5bd-a653-46b8-b95c-a59dcedcbafe",
        "customer_id": "c062a202-e090-4e57-ba88-d74dfd2e3455",
        "platform": "Windows",
        "product": "Windows 10 Pro",
        "hostname": "WIN10-4",
        "version": "1.8.78"
    }
}

A sample request body for the UserRequest.Create event:

{
    "event": "UserRequest.Create",
    "time": 1677241081,
    "payload": {
        "type": "UserRequest",
        "id": 1650,
        "user_id": "ab02c0d0-f02f-4e9f-8fd6-dc82ea142c63",
        "customer_id": "c062a202-e090-4e57-ba88-d74dfd2e3455",
        "report_type": "url_block",
        "hostname": "monster.com",
        "url": "https:\/\/monster.com\/",
        "reason": "Incorrect Risk Rating"
    }
}
www.defensx.com
Secure Industries, Inc 101 Avenue of The Americas, Floor 9 New York, NY 10013