AppSecEngineer Enterprise API (1.0.0)

Download OpenAPI specification:Download

This is AppsecEngineer Enterprise API server console.

Generating API Token and Customer ID

As an admin, follow these steps to generate an API token and retrieve your customer ID:

  1. Navigate to "My Profile" in the "My Account" section of the app
  2. Look for the API token generation option in your profile
  3. Generate a new token or copy your existing token and customer ID

Get completed courses and assignments by user ID

header Parameters
X-ASE-API-Token
required
string <uuid>
X-ASE-Customer-ID
required
string <uuid>
Request Body schema: application/json
required

email of the user for which completed courses should be listed

user_id
string

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "success": true,
  • "error": true,
  • "data": [
    ],
  • "assignments": [
    ]
}

Get active courses and assignments by user ID

header Parameters
X-ASE-API-Token
required
string <uuid>
X-ASE-Customer-ID
required
string <uuid>
Request Body schema: application/json
required

email of the user for which completed courses should be listed

user_id
string

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "success": true,
  • "error": true,
  • "data": [
    ],
  • "assignments": [
    ]
}

Get company user statistics by user ID

header Parameters
X-ASE-API-Token
required
string <uuid>
X-ASE-Customer-ID
required
string <uuid>
Request Body schema: application/json
required

Company stats request body

user_id
string

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "success": true,
  • "data": [
    ]
}

Get team statistics

header Parameters
X-ASE-API-Token
required
string <uuid>
X-ASE-Customer-ID
required
string <uuid>
Request Body schema: application/json
required

Team stats request body

team_id
string
select
string
Enum: "overall" "monthly"

Responses

Request samples

Content type
application/json
{
  • "team_id": "team_062c0918-e7eb-40e0-af3b-ecdca8b91f9f",
  • "select": "overall"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Get proficiency report

header Parameters
X-ASE-API-Token
required
string <uuid>
X-ASE-Customer-ID
required
string <uuid>

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "success": true,
  • "data": [
    ]
}

Get learning path report

header Parameters
X-ASE-API-Token
required
string <uuid>
X-ASE-Customer-ID
required
string <uuid>

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "success": true,
  • "error": true,
  • "data": {
    }
}

Get learning path completed report

header Parameters
X-ASE-API-Token
required
string <uuid>
X-ASE-Customer-ID
required
string <uuid>

Responses

Response samples

Content type
application/json
{
  • "message": "string",
  • "success": true,
  • "data": [
    ]
}

Get journey report

header Parameters
X-ASE-API-Token
required
string <uuid>
X-ASE-Customer-ID
required
string <uuid>
Request Body schema: application/json
required

Journey report request body

skip
integer

Number of records to skip.

limit
integer

Maximum number of records to return.

Responses

Request samples

Content type
application/json
{
  • "skip": 0,
  • "limit": 0
}

Response samples

Content type
application/json
{
  • "success": true,
  • "data": [
    ]
}

Get user activity

header Parameters
X-ASE-API-Token
required
string <uuid>
X-ASE-Customer-ID
required
string <uuid>
Request Body schema: application/json
required

User activity request body

user_id
string

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "success": true,
  • "data": [
    ]
}

Get user report

header Parameters
X-ASE-API-Token
required
string <uuid>
X-ASE-Customer-ID
required
string <uuid>
Request Body schema: application/json
required

User report request body

user_id
string

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "success": true,
  • "error": true,
  • "data": {
    }
}

Get individual journey report

header Parameters
X-ASE-API-Token
required
string <uuid>
X-ASE-Customer-ID
required
string <uuid>
Request Body schema: application/json
required

Individual journey report request body

id
string

Journey ID

skip
integer

Number of records to skip

limit
integer

Maximum number of records to return

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "skip": 0,
  • "limit": 0
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "error": true
}

Get top users (overall or monthly)

header Parameters
X-ASE-API-Token
required
string <uuid>
X-ASE-Customer-ID
required
string <uuid>
Request Body schema: application/json
required

Top users report request body

user_id
string

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

List all teams for a customer

header Parameters
X-ASE-API-Token
required
string <uuid>
X-ASE-Customer-ID
required
string <uuid>
Request Body schema: application/json

Optional pagination model for listing teams

pagination
string

Responses

Request samples

Content type
application/json
{
  • "pagination": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "error": false,
  • "data": {
    }
}