/1/ Users includeAuthorizations - GET

Overview

The /1/users endpoint provides all users and their authorizations

Beta API

NOTE: This API is currently in beta and applies only to the 'iFrame' API customers.

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  1231232131

Code Example

curl --location 'https://api-sandbox.vbmappapp.com/1/users?includeAuthorizations=true' \
--header 'User-Agent: dmtd-rest-api' \
--header 'Authorization: Bearer YOUR TOKEN ' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'

Example Response

  {
      "success": true,
      "users": [
          {
              "userId": 2977,
              "code": null,
              "firstName": "Test",
              "lastName": "test",
              "email": "[email protected]",
              "createdAt": "2025-08-15 17:05:32.000000",
              "learnerAccess": [
                  {
                      "learnerId": 19309,
                      "code": "L001",
                      "firstName": "John",
                      "lastName": "Doe",
                      "authorizationType": "LearnerPost",
                      "role": "Owner"
                  },
                  {
                      "learnerId": 19310,
                      "code": "L002",
                      "firstName": "Jane",
                      "lastName": "Smith",
                      "authorizationType": "ExplicitAuthorization",
                      "role": "Teacher"
                  }
              ]
          }
      ]
  }

Did this page help you?