/1/ Learner - GET

Overview

The /1/learner endpoint provides to fetch your resellers learners.


KeyValueExample
User-Agent<company identifier>The exact value here is not important, but it should include something to identify your company
Acceptapplication/json
AuthorizationBearer <your token>Bearer wV1MLkss5+sFzioJw/3M5r9A==

Code Example

curl --location 'https://api-sandbox.vbmappapp.com/1/learner' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer Your Token'

OR

curl --location 'https://api-sandbox.vbmappapp.com/1/learner?page=2' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer Your Token'

Example response


{
    "data": [
        {
        "id": 19353,
        "code": "subsdsads",
        "color": null,
        "dateOfBirth": "2014-02-01",
        "firstName": "subadasd",
        "lastName": "learner",
        "gender": 1,
        "isActive": 1,
        "createdAt": "2025-06-02 11:29:20",
        "updatedAt": "2025-06-02 04:54:35",
        "organizationId": 259,
        "parent": null,
        "userId": null,
        "reportsGenerated": 0,
        "v2id": null
    },
    {
        "id": 19354,
        "code": "new",
        "color": null,
        "dateOfBirth": "2014-02-01",
        "firstName": "larner",
        "lastName": "one",
        "gender": 1,
        "isActive": 1,
        "createdAt": "2025-06-02 11:51:22",
        "updatedAt": "2025-06-02 05:37:10",
        "organizationId": 259,
        "parent": null,
        "userId": null,
        "reportsGenerated": 0,
        "v2id": null
        }
    ],
    "pagination": {
        "total": XXXX,
        "per_page": 100,
        "current_page": "3",
        "last_page": 277,
        "from": 201,
        "to": 300
    }
}

Did this page help you?