/1/authorize - GET

Overview

This API is used to create an authorization for learner for specific user.This endpoint allows users to assess learners that are owned by other users.

Headers

KeyvalueDescription
X-LearnerId<LearnerId value>The learner for which you want to create the authorization for

Body

Code

curl --location 'https://api-sandbox.vbmappapp.com/1/authorize' \
--header 'Accept: application/json' \	
--header 'Content-Type: application/json' \
--header 'X-LearnerId: 123' \
--header 'Authorization: Bearer ***************'

Response Example

{
    "success": true,
    "learnerId": "12344",
    "learnerName": Jimmy",
    "groupName": "Reseller Access - Name",
    "authorizations": [
        {
            "userId": 1234,
            "email": "email",
            "name": "Name Of User",
            "role": "Teacher",
            "authorizedAt": "2025-06-17 22:27:24",
            "authorizedById": 123
        }
    ],
    "count": 1
}