{
  "info": {
    "_postman_id": "423ea044-2dc5-402d-ac6a-41f8cfb01fcd",
    "name": "Thought Industries REST Content Enrollments API",
    "description": "The Thought Industries REST API v1 provides programmatic access to the Thought Industries B2B learning platform. Enables management of users, courses, enrollments, groups, content, categories, bundles, and reporting. Authentication uses API key via X-API-Key header or apiKey query parameter. Base URL is tenant-scoped per subdomain.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:13:20.000Z",
    "updatedAt": "2026-07-28T03:13:20.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-423ea044-2dc5-402d-ac6a-41f8cfb01fcd"
  },
  "item": [
    {
      "name": "users",
      "item": [
        {
          "name": "{id}",
          "item": [
            {
              "name": "enrollments",
              "item": [
                {
                  "name": "Get User Enrollments",
                  "id": "7b8d52ef-affc-412d-9fa9-1aff42c5a5ca",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/users/:id/enrollments?page=1&per_page=25",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "users",
                        ":id",
                        "enrollments"
                      ],
                      "query": [
                        {
                          "key": "page",
                          "value": "1"
                        },
                        {
                          "key": "per_page",
                          "value": "25"
                        }
                      ],
                      "variable": [
                        {
                          "id": "b1dc5a19-26c1-440c-80e4-3a7103e6f656",
                          "key": "id",
                          "value": "<string>",
                          "description": "(Required) User ID."
                        }
                      ]
                    },
                    "description": "Returns course enrollment data for a specific user."
                  },
                  "response": [
                    {
                      "id": "d431f94a-de70-4660-a9cb-b8888f91cf14",
                      "name": "User enrollments",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "X-API-Key",
                            "value": "<API Key>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/users/:id/enrollments?page=1&per_page=25",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "users",
                            ":id",
                            "enrollments"
                          ],
                          "query": [
                            {
                              "key": "page",
                              "value": "1"
                            },
                            {
                              "key": "per_page",
                              "value": "25"
                            }
                          ],
                          "variable": [
                            {
                              "key": "id"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"data\": [\n    {\n      \"id\": \"<string>\",\n      \"user_id\": \"<string>\",\n      \"course_id\": \"<string>\",\n      \"status\": \"in_progress\",\n      \"progress\": \"<float>\",\n      \"enrolled_at\": \"<dateTime>\",\n      \"completed_at\": \"<dateTime>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"user_id\": \"<string>\",\n      \"course_id\": \"<string>\",\n      \"status\": \"completed\",\n      \"progress\": \"<float>\",\n      \"enrolled_at\": \"<dateTime>\",\n      \"completed_at\": \"<dateTime>\"\n    }\n  ],\n  \"meta\": {\n    \"total\": \"<integer>\",\n    \"page\": \"<integer>\",\n    \"per_page\": \"<integer>\",\n    \"total_pages\": \"<integer>\"\n  }\n}",
                      "createdAt": "2026-07-28T03:13:21.000Z",
                      "updatedAt": "2026-07-28T03:13:21.000Z",
                      "uid": "35240-d431f94a-de70-4660-a9cb-b8888f91cf14"
                    }
                  ],
                  "createdAt": "2026-07-28T03:13:21.000Z",
                  "updatedAt": "2026-07-28T03:13:21.000Z",
                  "uid": "35240-7b8d52ef-affc-412d-9fa9-1aff42c5a5ca"
                }
              ],
              "id": "8bcb790b-cce9-461d-973a-00e99e2305ac",
              "createdAt": "2026-07-28T03:13:21.000Z",
              "updatedAt": "2026-07-28T03:13:21.000Z",
              "uid": "35240-8bcb790b-cce9-461d-973a-00e99e2305ac"
            }
          ],
          "id": "ffdffe82-a81d-4167-a88f-858e1bcf9ab8",
          "createdAt": "2026-07-28T03:13:21.000Z",
          "updatedAt": "2026-07-28T03:13:21.000Z",
          "uid": "35240-ffdffe82-a81d-4167-a88f-858e1bcf9ab8"
        }
      ],
      "id": "0ae24872-33bf-48a4-a5fc-721b3826f947",
      "createdAt": "2026-07-28T03:13:21.000Z",
      "updatedAt": "2026-07-28T03:13:21.000Z",
      "uid": "35240-0ae24872-33bf-48a4-a5fc-721b3826f947"
    },
    {
      "name": "courses",
      "item": [
        {
          "name": "{courseId}",
          "item": [
            {
              "name": "enrollments",
              "item": [
                {
                  "name": "bulk-remove",
                  "item": [
                    {
                      "name": "Bulk Remove User Access",
                      "id": "b53b52cf-95b7-4e11-97ac-64c9374664e9",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"user_ids\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/courses/:courseId/enrollments/bulk-remove",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "courses",
                            ":courseId",
                            "enrollments",
                            "bulk-remove"
                          ],
                          "variable": [
                            {
                              "id": "3098f27c-2c3b-4aef-a657-9a057ee11bd7",
                              "key": "courseId",
                              "value": "<string>",
                              "description": "(Required) Course ID."
                            }
                          ]
                        },
                        "description": "Removes access for multiple learners from a course or learning path without affecting their existing access elsewhere."
                      },
                      "response": [
                        {
                          "id": "f4ca09e2-c39d-4100-a22a-ca03918a9003",
                          "name": "Bulk removal completed",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "X-API-Key",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"user_ids\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/courses/:courseId/enrollments/bulk-remove",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "courses",
                                ":courseId",
                                "enrollments",
                                "bulk-remove"
                              ],
                              "variable": [
                                {
                                  "key": "courseId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"removed\": \"<integer>\",\n  \"failed\": \"<integer>\",\n  \"errors\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                          "createdAt": "2026-07-28T03:13:21.000Z",
                          "updatedAt": "2026-07-28T03:13:21.000Z",
                          "uid": "35240-f4ca09e2-c39d-4100-a22a-ca03918a9003"
                        }
                      ],
                      "createdAt": "2026-07-28T03:13:21.000Z",
                      "updatedAt": "2026-07-28T03:13:21.000Z",
                      "uid": "35240-b53b52cf-95b7-4e11-97ac-64c9374664e9"
                    }
                  ],
                  "id": "3cf3c80a-bc6e-4a01-ad4f-460d40bc234d",
                  "createdAt": "2026-07-28T03:13:21.000Z",
                  "updatedAt": "2026-07-28T03:13:21.000Z",
                  "uid": "35240-3cf3c80a-bc6e-4a01-ad4f-460d40bc234d"
                },
                {
                  "name": "Enroll User in Course",
                  "id": "a6918f24-57b5-4900-83eb-8e801d879f88",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"user_id\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/courses/:courseId/enrollments",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "courses",
                        ":courseId",
                        "enrollments"
                      ],
                      "variable": [
                        {
                          "id": "04b99bf9-6dc9-49d5-83bf-e80601fae329",
                          "key": "courseId",
                          "value": "<string>",
                          "description": "(Required) Course ID."
                        }
                      ]
                    },
                    "description": "Enrolls a user in a course. The course must be published and the user must be active before calling this endpoint."
                  },
                  "response": [
                    {
                      "id": "fda005e4-9336-4a7b-980b-1d1d399ae4bb",
                      "name": "Enrollment created",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "X-API-Key",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"user_id\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/courses/:courseId/enrollments",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "courses",
                            ":courseId",
                            "enrollments"
                          ],
                          "variable": [
                            {
                              "key": "courseId"
                            }
                          ]
                        }
                      },
                      "status": "Created",
                      "code": 201,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"data\": {\n    \"id\": \"<string>\",\n    \"user_id\": \"<string>\",\n    \"course_id\": \"<string>\",\n    \"status\": \"in_progress\",\n    \"progress\": \"<float>\",\n    \"enrolled_at\": \"<dateTime>\",\n    \"completed_at\": \"<dateTime>\"\n  }\n}",
                      "createdAt": "2026-07-28T03:13:21.000Z",
                      "updatedAt": "2026-07-28T03:13:21.000Z",
                      "uid": "35240-fda005e4-9336-4a7b-980b-1d1d399ae4bb"
                    },
                    {
                      "id": "3a8a325f-4f21-4a13-b110-9829d6911fb0",
                      "name": "Course not published or user not active",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "X-API-Key",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"user_id\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/courses/:courseId/enrollments",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "courses",
                            ":courseId",
                            "enrollments"
                          ],
                          "variable": [
                            {
                              "key": "courseId"
                            }
                          ]
                        }
                      },
                      "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                      "code": 422,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T03:13:21.000Z",
                      "updatedAt": "2026-07-28T03:13:21.000Z",
                      "uid": "35240-3a8a325f-4f21-4a13-b110-9829d6911fb0"
                    }
                  ],
                  "createdAt": "2026-07-28T03:13:21.000Z",
                  "updatedAt": "2026-07-28T03:13:21.000Z",
                  "uid": "35240-a6918f24-57b5-4900-83eb-8e801d879f88"
                }
              ],
              "id": "8b4bd210-97f7-42f2-8d62-a4db0763b2f5",
              "createdAt": "2026-07-28T03:13:21.000Z",
              "updatedAt": "2026-07-28T03:13:21.000Z",
              "uid": "35240-8b4bd210-97f7-42f2-8d62-a4db0763b2f5"
            }
          ],
          "id": "11189c04-3227-43d5-82a8-45273036d3a2",
          "createdAt": "2026-07-28T03:13:21.000Z",
          "updatedAt": "2026-07-28T03:13:21.000Z",
          "uid": "35240-11189c04-3227-43d5-82a8-45273036d3a2"
        }
      ],
      "id": "91a523e5-e86b-441e-bea0-2395f07aeee0",
      "createdAt": "2026-07-28T03:13:21.000Z",
      "updatedAt": "2026-07-28T03:13:21.000Z",
      "uid": "35240-91a523e5-e86b-441e-bea0-2395f07aeee0"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "X-API-Key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "subdomain",
      "value": "yourtenant"
    },
    {
      "key": "baseUrl",
      "value": "https://{{subdomain}}.thoughtindustries.com/incoming/api/v1"
    }
  ]
}