{"info":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","description":"<html><head></head><body><p>TalentLMS offers a range of API endpoints and resources designed to integrate TalentLMS with your internal systems seamlessly. It is organized around Representational State Transfer (REST) and is built to leverage standard HTTP features such as HTTP authentication and HTTP response codes, ensuring seamless integration. All API responses, including error messages, are consistently formatted in JSON for easy parsing and handling.</p>\n<p>If your TalentLMS domain is called “samples”, then the API endpoint for your domain is <a href=\"https://samples.talentlms.com/api\"><code>https://samples.talentlms.com/api/v2</code></a>.</p>\n<p>The current version of the API consumes data – information about users, courses, categories, groups, branches, and general details about your domain. Apart from that, via the API you can log in / sign up a user in your domain, enroll a user in a course, and much more. Please make sure, that you are accessing the URLs below, under HTTPs connections, otherwise, you will receive an error.</p>\n<h2 id=\"🚀-getting-started-guide\">🚀 <strong>Getting Started Guide</strong></h2>\n<p>To start using the TalentLMS API, you must first <a href=\"https://help.talentlms.com/hc/en-us/articles/9651527213468-Can-I-integrate-my-site-with-TalentLMS-Do-you-offer-an-API\">enable the API and generate a valid API</a> key from the portal's settings (Account &amp; Settings &gt; Integrations &gt; API).</p>\n<p><strong>Keep in mind:</strong></p>\n<ul>\n<li><p>The pagination limit of each request is 100.</p>\n</li>\n<li><p>The API has rate and usage limits (e.g. 2000 requests per hour).</p>\n</li>\n<li><p>The API returns request responses in JSON format. When an API request returns an error, it is sent in the JSON response as an error key (All calls must have an Accept: application/json header value).</p>\n</li>\n</ul>\n<h2 id=\"🔐-authentication\">🔐 Authentication</h2>\n<p>All of the requests require authentication. Our API uses the <code>API Key</code> authorization method, with key <code>X-API-Key</code> and value <code>your_api_key</code>. You can always fill these fields in the global variables or create an environment and insert them there.</p>\n<h3 id=\"⛔️-authentication-error-response\">⛔️ Authentication error response</h3>\n<p>You will receive an HTTP 401 Unauthorized response code if the API key is missing, incorrectly formatted, or invalid.</p>\n<h3 id=\"✅-api-responses\">✅ API Responses</h3>\n<p>TalentLMS API uses HTTP response codes to indicate the success or failure of requests. Specifically, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that resulted from the provided arguments (e.g. instead of an integer a string is supplied), and the 500 error code indicates an internal TalentLMS error. Please be aware that you will receive an error too, in case you try to access an endpoint via non HTTPs connection.</p>\n<p>All errors return JSON consisting of a type (invalid_request_error or api_error) and a message describing the error.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>The request was executed properly and a JSON response is returned.</td>\n</tr>\n<tr>\n<td>204</td>\n<td>No content, and the operation was executed successfully.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>A required parameter is missing or an invalid type (e.g. a string) was supplied instead of an integer.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Invalid API key provided.</td>\n</tr>\n<tr>\n<td>403</td>\n<td>API is not enabled for the specified domain or the domain is currently inactive.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>The requested resource (e.g. user) does not exist.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Malformed response.</td>\n</tr>\n<tr>\n<td>429</td>\n<td>The API request rate limit has been exceeded.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal server error.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"🛑-rate-limits\">🛑 Rate Limits</h3>\n<p>Rate limits represent the maximum number of API requests that are permitted to be made\nper hour. These limits depend on your subscription plan and are as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Plan</strong></th>\n<th><strong>Limit</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Core</td>\n<td>2.000</td>\n</tr>\n<tr>\n<td>Grow</td>\n<td>10.000</td>\n</tr>\n<tr>\n<td>Pro</td>\n<td>10.000</td>\n</tr>\n<tr>\n<td>Small</td>\n<td>2.000</td>\n</tr>\n<tr>\n<td>Basic</td>\n<td>2.000</td>\n</tr>\n<tr>\n<td>Plus</td>\n<td>10.000</td>\n</tr>\n<tr>\n<td>Premium</td>\n<td>10.000</td>\n</tr>\n<tr>\n<td>Custom</td>\n<td>Contact us so we can create a plan that fits your needs</td>\n</tr>\n</tbody>\n</table>\n</div><p>Regardless of the total API requests per hour provisioned per customer, each customer's API requests should not exceed the rate of 200 API calls per 5 seconds. The following headers are included in API responses to help manage rate limits:</p>\n<ul>\n<li><p><strong><code>X-RateLimit-Limit</code></strong>: The maximum number of requests allowed in the current time window</p>\n</li>\n<li><p><strong><code>X-RateLimit-Remaining</code></strong>: The number of requests left in the current window before hitting the limit</p>\n</li>\n</ul>\n<h3 id=\"📄-pagination\">📄 Pagination</h3>\n<p>Our API supports pagination, splitting responses into size-customizable chunks of up to 100 items per request. You can navigate to the first, last, previous, or next page. The endpoints that support pagination return a list formatted as shown below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n        \"self\": \"https://example.talentlms.com/api/v2/users?page[number]=1&amp;page[size]=10\",\n        \"first\": \"https://example.talentlms.com/api/v2/users?page[number]=1&amp;page[size]=10\",\n        \"last\": \"https://example.talentlms.com/api/v2/users?page[number]=4&amp;page[size]=10\",\n        \"prev\": \"https://example.talentlms.com/api/v2/users?page[number]=1&amp;page[size]=10\",\n        \"next\": \"https://example.talentlms.com/api/v2/users?page[number]=2&amp;page[size]=10\"\n}\n\n</code></pre>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"31867199","collectionId":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","publishedId":"2sAY548Kou","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EC7F00"},"publishDate":"2025-12-12T14:23:08.000Z"},"item":[{"name":"User","item":[{"name":"Get users","id":"cd96d284-b935-47de-81d0-6f4910c0c0ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/users?filter[status][eq]=inactive&filter[login][eq]=<string>&filter[email][eq]=<string>&filter[keyword][like]=<string>&filter[last_updated][gte]=<dateTime>&filter[last_updated][lte]=<dateTime>&filter[branch_id][eq]=<integer>&filter[group_id][eq]=<integer>&filter[integration][eq]=<string>&filter[custom_field_value][eq]=<string>&page[number]=<integer>&page[size]=<integer>&sort=<string>","description":"<p>Returns a paginated list of users. Supports filtering by keyword, status, login, email, last_updated, branch_id, group_id, integration, and custom_field_value.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users"],"host":["https://your-domain.talentlms.com"],"query":[{"description":{"content":"<p>Filter by user status</p>\n","type":"text/plain"},"key":"filter[status][eq]","value":"inactive"},{"description":{"content":"<p>Filter by exact login match</p>\n","type":"text/plain"},"key":"filter[login][eq]","value":"<string>"},{"description":{"content":"<p>Filter by exact email match</p>\n","type":"text/plain"},"key":"filter[email][eq]","value":"<string>"},{"description":{"content":"<p>Search across name, surname, login, and email</p>\n","type":"text/plain"},"key":"filter[keyword][like]","value":"<string>"},{"description":{"content":"<p>Filter users updated on or after this date (ISO 8601)</p>\n","type":"text/plain"},"key":"filter[last_updated][gte]","value":"<dateTime>"},{"description":{"content":"<p>Filter users updated on or before this date (ISO 8601)</p>\n","type":"text/plain"},"key":"filter[last_updated][lte]","value":"<dateTime>"},{"description":{"content":"<p>Filter users belonging to a specific branch</p>\n","type":"text/plain"},"key":"filter[branch_id][eq]","value":"<integer>"},{"description":{"content":"<p>Filter users belonging to a specific group</p>\n","type":"text/plain"},"key":"filter[group_id][eq]","value":"<integer>"},{"description":{"content":"<p>Filter users linked to a specific integration</p>\n","type":"text/plain"},"key":"filter[integration][eq]","value":"<string>"},{"description":{"content":"<p>Filter users by a custom field value</p>\n","type":"text/plain"},"key":"filter[custom_field_value][eq]","value":"<string>"},{"description":{"content":"<p>Page number (1-based)</p>\n","type":"text/plain"},"key":"page[number]","value":"<integer>"},{"description":{"content":"<p>Page size (maximum 100)</p>\n","type":"text/plain"},"key":"page[size]","value":"<integer>"},{"description":{"content":"<p>Sort field. Allowed: name, surname, login, email, type, registration, last_login, status, last_updated. Prefix with - for descending.</p>\n","type":"text/plain"},"key":"sort","value":"<string>"}],"variable":[]}},"response":[{"id":"2df7a7e9-7e45-42fc-a01b-52bd36b91f8c","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/users?filter[status][eq]=inactive&filter[login][eq]=<string>&filter[email][eq]=<string>&filter[keyword][like]=<string>&filter[last_updated][gte]=<dateTime>&filter[last_updated][lte]=<dateTime>&filter[branch_id][eq]=<integer>&filter[group_id][eq]=<integer>&filter[integration][eq]=<string>&filter[custom_field_value][eq]=<string>&page[number]=<integer>&page[size]=<integer>&sort=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","users"],"query":[{"description":"Filter by user status","key":"filter[status][eq]","value":"inactive"},{"description":"Filter by exact login match","key":"filter[login][eq]","value":"<string>"},{"description":"Filter by exact email match","key":"filter[email][eq]","value":"<string>"},{"description":"Search across name, surname, login, and email","key":"filter[keyword][like]","value":"<string>"},{"description":"Filter users updated on or after this date (ISO 8601)","key":"filter[last_updated][gte]","value":"<dateTime>"},{"description":"Filter users updated on or before this date (ISO 8601)","key":"filter[last_updated][lte]","value":"<dateTime>"},{"description":"Filter users belonging to a specific branch","key":"filter[branch_id][eq]","value":"<integer>"},{"description":"Filter users belonging to a specific group","key":"filter[group_id][eq]","value":"<integer>"},{"description":"Filter users linked to a specific integration","key":"filter[integration][eq]","value":"<string>"},{"description":"Filter users by a custom field value","key":"filter[custom_field_value][eq]","value":"<string>"},{"description":"Page number (1-based)","key":"page[number]","value":"<integer>"},{"description":"Page size (maximum 100)","key":"page[size]","value":"<integer>"},{"description":"Sort field. Allowed: name, surname, login, email, type, registration, last_login, status, last_updated. Prefix with - for descending.","key":"sort","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": [\n    {\n      \"id\": \"<integer>\",\n      \"login\": \"<string>\",\n      \"name\": \"<string>\",\n      \"surname\": \"<string>\",\n      \"email\": \"<string>\",\n      \"avatar\": {\n        \"default\": \"<string>\",\n        \"sm\": \"<string>\",\n        \"md\": \"<string>\",\n        \"lg\": \"<string>\",\n        \"xl\": \"<string>\"\n      },\n      \"timezone\": \"<string>\",\n      \"language\": \"<string>\",\n      \"type\": \"<string>\",\n      \"registration\": \"<dateTime>\",\n      \"last_login\": \"<dateTime>\",\n      \"status\": \"<string>\",\n      \"last_updated\": \"<dateTime>\",\n      \"integration_user_id\": \"<string>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"login\": \"<string>\",\n      \"name\": \"<string>\",\n      \"surname\": \"<string>\",\n      \"email\": \"<string>\",\n      \"avatar\": {\n        \"default\": \"<string>\",\n        \"sm\": \"<string>\",\n        \"md\": \"<string>\",\n        \"lg\": \"<string>\",\n        \"xl\": \"<string>\"\n      },\n      \"timezone\": \"<string>\",\n      \"language\": \"<string>\",\n      \"type\": \"<string>\",\n      \"registration\": \"<dateTime>\",\n      \"last_login\": \"<dateTime>\",\n      \"status\": \"<string>\",\n      \"last_updated\": \"<dateTime>\",\n      \"integration_user_id\": \"<string>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"349d7186-ba83-4282-a542-5e79b8b88257","name":"Invalid filter, sort, or pagination value","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users?filter[status][eq]=inactive&filter[login][eq]=<string>&filter[email][eq]=<string>&filter[keyword][like]=<string>&filter[last_updated][gte]=<dateTime>&filter[last_updated][lte]=<dateTime>&filter[branch_id][eq]=<integer>&filter[group_id][eq]=<integer>&filter[integration][eq]=<string>&filter[custom_field_value][eq]=<string>&page[number]=<integer>&page[size]=<integer>&sort=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","users"],"query":[{"description":"Filter by user status","key":"filter[status][eq]","value":"inactive"},{"description":"Filter by exact login match","key":"filter[login][eq]","value":"<string>"},{"description":"Filter by exact email match","key":"filter[email][eq]","value":"<string>"},{"description":"Search across name, surname, login, and email","key":"filter[keyword][like]","value":"<string>"},{"description":"Filter users updated on or after this date (ISO 8601)","key":"filter[last_updated][gte]","value":"<dateTime>"},{"description":"Filter users updated on or before this date (ISO 8601)","key":"filter[last_updated][lte]","value":"<dateTime>"},{"description":"Filter users belonging to a specific branch","key":"filter[branch_id][eq]","value":"<integer>"},{"description":"Filter users belonging to a specific group","key":"filter[group_id][eq]","value":"<integer>"},{"description":"Filter users linked to a specific integration","key":"filter[integration][eq]","value":"<string>"},{"description":"Filter users by a custom field value","key":"filter[custom_field_value][eq]","value":"<string>"},{"description":"Page number (1-based)","key":"page[number]","value":"<integer>"},{"description":"Page size (maximum 100)","key":"page[size]","value":"<integer>"},{"description":"Sort field. Allowed: name, surname, login, email, type, registration, last_login, status, last_updated. Prefix with - for descending.","key":"sort","value":"<string>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"cd96d284-b935-47de-81d0-6f4910c0c0ed"},{"name":"Create a user","id":"3a9a51b7-d931-4dd8-b8f4-32cff3539be3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"surname\": \"<string>\",\n  \"login\": \"<string>\",\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"status\": \"active\",\n  \"user_type_id\": \"<integer>\",\n  \"email_notifications\": true,\n  \"timezone\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"description\": \"<string>\",\n  \"credits\": \"<float>\",\n  \"deactivation_date\": \"<date>\",\n  \"branch_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/users","description":"<h3 id=\"create-a-user\">Create a user</h3>\n<p>This endpoint accepts a JSON body containing the properties of the user to be created (e.g., <code>name</code>, <code>email</code>, <code>password</code>, etc.). Validates all required fields and returns the newly created user object upon success.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"f461a158-49c9-41de-8d46-e6f11e3e702e","name":"User 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  \"name\": \"<string>\",\n  \"surname\": \"<string>\",\n  \"login\": \"<string>\",\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"status\": \"active\",\n  \"user_type_id\": \"<integer>\",\n  \"email_notifications\": true,\n  \"timezone\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"description\": \"<string>\",\n  \"credits\": \"<float>\",\n  \"deactivation_date\": \"<date>\",\n  \"branch_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\"\n  }\n}"},{"id":"8d3d5e92-c6aa-434a-9200-0c43f9903de8","name":"Invalid request body or field validation failed","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  \"name\": \"<string>\",\n  \"surname\": \"<string>\",\n  \"login\": \"<string>\",\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"status\": \"active\",\n  \"user_type_id\": \"<integer>\",\n  \"email_notifications\": true,\n  \"timezone\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"description\": \"<string>\",\n  \"credits\": \"<float>\",\n  \"deactivation_date\": \"<date>\",\n  \"branch_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/users"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"544a8159-a438-469a-84b0-f1e5d6d5fbd2","name":"Insufficient permissions or plan/branch user limit reached","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  \"name\": \"<string>\",\n  \"surname\": \"<string>\",\n  \"login\": \"<string>\",\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"status\": \"active\",\n  \"user_type_id\": \"<integer>\",\n  \"email_notifications\": true,\n  \"timezone\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"description\": \"<string>\",\n  \"credits\": \"<float>\",\n  \"deactivation_date\": \"<date>\",\n  \"branch_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/users"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"244caa7e-c052-4e4e-9789-ff41c034a282","name":"Branch not found","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  \"name\": \"<string>\",\n  \"surname\": \"<string>\",\n  \"login\": \"<string>\",\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"status\": \"active\",\n  \"user_type_id\": \"<integer>\",\n  \"email_notifications\": true,\n  \"timezone\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"description\": \"<string>\",\n  \"credits\": \"<float>\",\n  \"deactivation_date\": \"<date>\",\n  \"branch_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/users"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"01f817b0-c13f-4c5e-8854-c8f14b64fa29","name":"User could not be created","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  \"name\": \"<string>\",\n  \"surname\": \"<string>\",\n  \"login\": \"<string>\",\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"status\": \"active\",\n  \"user_type_id\": \"<integer>\",\n  \"email_notifications\": true,\n  \"timezone\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"description\": \"<string>\",\n  \"credits\": \"<float>\",\n  \"deactivation_date\": \"<date>\",\n  \"branch_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/users"},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"7f4eb998-56e3-4c2f-9f1f-46d25aad6eba","name":"Too many create attempts","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  \"name\": \"<string>\",\n  \"surname\": \"<string>\",\n  \"login\": \"<string>\",\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"status\": \"active\",\n  \"user_type_id\": \"<integer>\",\n  \"email_notifications\": true,\n  \"timezone\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"description\": \"<string>\",\n  \"credits\": \"<float>\",\n  \"deactivation_date\": \"<date>\",\n  \"branch_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/users"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"3a9a51b7-d931-4dd8-b8f4-32cff3539be3"},{"name":"Get a user","id":"727e4582-7b85-4930-960a-6ac13e714289","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/users/:id?resources=<string>","description":"<p>Retrieves the complete profile details of a specific user. To successfully fetch a user, include the user's unique ID as a path parameter in the request URL. If the request is valid and the user exists, the API returns the full set of user details in the response. Optionally include related resources via the resources query parameter.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users",":id"],"host":["https://your-domain.talentlms.com"],"query":[{"description":{"content":"<p>Optional related resources to include in the response. Accepts a single value or a comma-separated list. Allowed values: branches, groups, courses, certificates, all (expands to all four).</p>\n","type":"text/plain"},"key":"resources","value":"<string>"}],"variable":[{"id":"a947e36a-b0a6-4989-9387-3170a25992cb","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"8014a072-9e70-4980-bb2c-144b92e89e9e","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/users/:id?resources=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id"],"query":[{"description":"Optional related resources to include in the response. Accepts a single value or a comma-separated list. Allowed values: branches, groups, courses, certificates, all (expands to all four).","key":"resources","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\",\n    \"login\": \"<string>\",\n    \"name\": \"<string>\",\n    \"surname\": \"<string>\",\n    \"email\": \"<email>\",\n    \"credits\": \"<float>\",\n    \"description\": {\n      \"html\": \"<string>\",\n      \"text\": \"<string>\"\n    },\n    \"avatar\": {\n      \"default\": \"<uri>\",\n      \"sm\": \"<uri>\",\n      \"md\": \"<uri>\",\n      \"lg\": \"<uri>\",\n      \"xl\": \"<uri>\"\n    },\n    \"custom_fields\": [\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"value\": \"<string>\",\n        \"type\": \"date\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"value\": \"<string>\",\n        \"type\": \"text\"\n      }\n    ],\n    \"email_notifications\": \"<boolean>\",\n    \"timezone\": \"<string>\",\n    \"locale\": \"<string>\",\n    \"user_type\": {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"is_default\": \"<boolean>\"\n    },\n    \"status\": \"inactive\",\n    \"deactivation_date\": \"<dateTime>\",\n    \"available_types\": [\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"is_default\": \"<boolean>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"is_default\": \"<boolean>\"\n      }\n    ],\n    \"registration\": \"<dateTime>\",\n    \"last_login\": \"<dateTime>\",\n    \"last_updated\": \"<dateTime>\",\n    \"branches\": [\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      }\n    ],\n    \"groups\": [\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      }\n    ],\n    \"courses\": [\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"role\": \"instructor\",\n        \"completion_status\": \"<string>\",\n        \"completion_percentage\": \"<float>\",\n        \"total_time\": \"<integer>\",\n        \"enrolled_on\": \"<dateTime>\",\n        \"completed_on\": \"<dateTime>\",\n        \"expired_on\": \"<dateTime>\",\n        \"score\": \"<float>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"role\": \"instructor\",\n        \"completion_status\": \"<string>\",\n        \"completion_percentage\": \"<float>\",\n        \"total_time\": \"<integer>\",\n        \"enrolled_on\": \"<dateTime>\",\n        \"completed_on\": \"<dateTime>\",\n        \"expired_on\": \"<dateTime>\",\n        \"score\": \"<float>\"\n      }\n    ],\n    \"certificates\": [\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      }\n    ]\n  }\n}"},{"id":"382eb7e9-1d36-42d8-967d-ae07ae4f97dd","name":"Invalid user ID or invalid resources value","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id?resources=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id"],"query":[{"description":"Optional related resources to include in the response. Accepts a single value or a comma-separated list. Allowed values: branches, groups, courses, certificates, all (expands to all four).","key":"resources","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"3bb2575a-10ac-41c4-9309-3a8a35654418","name":"Insufficient permissions to view the user","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id?resources=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id"],"query":[{"description":"Optional related resources to include in the response. Accepts a single value or a comma-separated list. Allowed values: branches, groups, courses, certificates, all (expands to all four).","key":"resources","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"e8bb879c-719e-4284-924b-6fcd9e228dbc","name":"User not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id?resources=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id"],"query":[{"description":"Optional related resources to include in the response. Accepts a single value or a comma-separated list. Allowed values: branches, groups, courses, certificates, all (expands to all four).","key":"resources","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"727e4582-7b85-4930-960a-6ac13e714289"},{"name":"Update a user","id":"ad2b861c-8ce4-4e12-a0f5-7dbedca983af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"surname\": \"<string>\",\n  \"login\": \"<string>\",\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"description\": \"<string>\",\n  \"timezone\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"email_notifications\": \"<boolean>\",\n  \"user_type_id\": \"<integer>\",\n  \"status\": \"active\",\n  \"deactivation_date\": \"\",\n  \"credits\": \"<float>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/users/:id","description":"<p>Partially updates a specific user. Include the user's unique ID as a path parameter and send only the fields you want to change; omitted fields keep their current values. Custom registration fields can be updated by sending their custom field key (e.g. custom_field_1) with the new value. The portal owner cannot be modified.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users",":id"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"951fd4a2-39f6-456b-bd61-55c1502e2d5f","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"74d8ded4-6288-40da-a686-f4af75d4a39c","name":"User successfully updated","originalRequest":{"method":"PATCH","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  \"name\": \"<string>\",\n  \"surname\": \"<string>\",\n  \"login\": \"<string>\",\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"description\": \"<string>\",\n  \"timezone\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"email_notifications\": \"<boolean>\",\n  \"user_type_id\": \"<integer>\",\n  \"status\": \"active\",\n  \"deactivation_date\": \"\",\n  \"credits\": \"<float>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id"],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"28b49204-6aae-4ff0-9fea-1725ab17c012","name":"Empty request body, invalid field value, or non-unique login or email","originalRequest":{"method":"PATCH","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  \"name\": \"<string>\",\n  \"surname\": \"<string>\",\n  \"login\": \"<string>\",\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"description\": \"<string>\",\n  \"timezone\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"email_notifications\": \"<boolean>\",\n  \"user_type_id\": \"<integer>\",\n  \"status\": \"active\",\n  \"deactivation_date\": \"\",\n  \"credits\": \"<float>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"1e1b0768-5747-4d99-a121-70c7212e30c6","name":"Cannot modify portal owner","originalRequest":{"method":"PATCH","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  \"name\": \"<string>\",\n  \"surname\": \"<string>\",\n  \"login\": \"<string>\",\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"description\": \"<string>\",\n  \"timezone\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"email_notifications\": \"<boolean>\",\n  \"user_type_id\": \"<integer>\",\n  \"status\": \"active\",\n  \"deactivation_date\": \"\",\n  \"credits\": \"<float>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"e938b3a2-fb97-41e8-af0c-54645b3f6bb8","name":"User not found","originalRequest":{"method":"PATCH","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  \"name\": \"<string>\",\n  \"surname\": \"<string>\",\n  \"login\": \"<string>\",\n  \"email\": \"<email>\",\n  \"password\": \"<string>\",\n  \"description\": \"<string>\",\n  \"timezone\": \"<string>\",\n  \"locale\": \"<string>\",\n  \"email_notifications\": \"<boolean>\",\n  \"user_type_id\": \"<integer>\",\n  \"status\": \"active\",\n  \"deactivation_date\": \"\",\n  \"credits\": \"<float>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"ad2b861c-8ce4-4e12-a0f5-7dbedca983af"},{"name":"Delete a user","id":"96661106-77b2-4172-8605-71cdae2cecf9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://your-domain.talentlms.com/api/v2/users/:id?permanent=false","description":"<p>Deletes a specific user from your TalentLMS account. To successfully remove a user, include the user's unique ID as a path parameter in the request URL. By default the user is archived, which keeps their training data and allows the deletion to be undone. Pass permanent=true to irreversibly delete the user instead, along with their training data. Accepted values for permanent are true and false.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users",":id"],"host":["https://your-domain.talentlms.com"],"query":[{"description":{"content":"<p>Whether to permanently delete the user instead of archiving them</p>\n","type":"text/plain"},"key":"permanent","value":"false"}],"variable":[{"id":"29575b4c-9234-4d3d-90af-927c44d01b7f","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"3a813b95-08fb-4b3b-a2cb-7bd48451b9ca","name":"User successfully archived or permanently deleted","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id?permanent=false","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id"],"query":[{"description":"Whether to permanently delete the user instead of archiving them","key":"permanent","value":"false"}],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"8d0924ab-951a-4a7c-9030-dc2481c70b6d","name":"Invalid user ID or permanent value","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id?permanent=false","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id"],"query":[{"description":"Whether to permanently delete the user instead of archiving them","key":"permanent","value":"false"}],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"f5f8c130-bccb-476b-a649-311ac71614c9","name":"User not found","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id?permanent=false","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id"],"query":[{"description":"Whether to permanently delete the user instead of archiving them","key":"permanent","value":"false"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"08ae91c2-9d3c-430d-bfd5-2c4b04677edb","name":"Daily user deletion limit exceeded","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id?permanent=false","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id"],"query":[{"description":"Whether to permanently delete the user instead of archiving them","key":"permanent","value":"false"}],"variable":[{"key":"id"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"96661106-77b2-4172-8605-71cdae2cecf9"},{"name":"Get user's course progress","id":"25f4e8b8-df64-4823-92fd-a3d33b9a3bff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/course-progress?user_id=<integer>&course_id=<integer>","description":"<p>Retrieve a user's progress in a specific course by providing both user_id and course_id as query parameters. Does not include per-unit progress; use GET /api/v2/course-progress/course/{courseId}/user/{userId}/units to get the user's progress in each unit of the course.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","course-progress"],"host":["https://your-domain.talentlms.com"],"query":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"key":"user_id","value":"<integer>"},{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"key":"course_id","value":"<integer>"}],"variable":[]}},"response":[{"id":"f84e697c-b10c-453d-b482-582eebe2fdde","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/course-progress?user_id=<integer>&course_id=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","course-progress"],"query":[{"description":"(Required) ","key":"user_id","value":"<integer>"},{"description":"(Required) ","key":"course_id","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"category\": {\n      \"id\": \"<integer>\",\n      \"parent_id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"price\": {\n        \"amount\": \"<float>\",\n        \"currency\": \"<string>\"\n      }\n    },\n    \"status\": \"<string>\",\n    \"creation_date\": \"<dateTime>\",\n    \"last_updated_on\": \"<dateTime>\",\n    \"progress\": {\n      \"total_time\": \"<integer>\",\n      \"score\": \"<float>\",\n      \"completion_status\": \"<string>\",\n      \"completion_date\": \"<dateTime>\",\n      \"completion_percentage\": \"<float>\",\n      \"last_viewed_unit_id\": \"<integer>\",\n      \"certificate\": {\n        \"certificate_id\": \"<integer>\",\n        \"certificate_name\": \"<string>\",\n        \"issued_at\": \"<dateTime>\",\n        \"expires_at\": \"<dateTime>\",\n        \"archived\": \"<boolean>\",\n        \"url\": \"<string>\"\n      },\n      \"next_course_id\": \"<integer>\"\n    },\n    \"enrolled\": \"<boolean>\",\n    \"role_in_course\": \"<string>\",\n    \"enrolled_on\": \"<dateTime>\",\n    \"expired_on\": \"<dateTime>\"\n  }\n}"},{"id":"25860034-08b6-4e1d-a9c0-28bb59c25284","name":"Invalid or missing user_id or course_id","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/course-progress?user_id=<integer>&course_id=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","course-progress"],"query":[{"description":"(Required) ","key":"user_id","value":"<integer>"},{"description":"(Required) ","key":"course_id","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"f253b83f-e416-4aee-a7c0-431851492e14","name":"Course or user not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/course-progress?user_id=<integer>&course_id=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","course-progress"],"query":[{"description":"(Required) ","key":"user_id","value":"<integer>"},{"description":"(Required) ","key":"course_id","value":"<integer>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"25f4e8b8-df64-4823-92fd-a3d33b9a3bff"},{"name":"Reset user's course progress","id":"a0d32d47-9af9-49db-9dc7-b70ae0787217","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://your-domain.talentlms.com/api/v2/course-progress?user_id=<integer>&course_id=<integer>&remove-certificate=<boolean>","description":"<h3 id=\"reset-users-course-progress\">Reset user's course progress</h3>\n<p>Provide user ID and course ID to reset the user's progress for a course, with a success (no content) or error response.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","course-progress"],"host":["https://your-domain.talentlms.com"],"query":[{"description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"key":"user_id","value":"<integer>"},{"description":{"content":"<p>(Required) The ID of the course</p>\n","type":"text/plain"},"key":"course_id","value":"<integer>"},{"description":{"content":"<p>Whether to also remove the course certificate</p>\n","type":"text/plain"},"key":"remove-certificate","value":"<boolean>"}],"variable":[]}},"response":[{"id":"8046a92b-f225-4312-8742-45bbe155f51c","name":"Course progress reset successfully","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/course-progress?user_id=<integer>&course_id=<integer>&remove-certificate=<boolean>","host":["https://your-domain.talentlms.com"],"path":["api","v2","course-progress"],"query":[{"description":"(Required) The ID of the user","key":"user_id","value":"<integer>"},{"description":"(Required) The ID of the course","key":"course_id","value":"<integer>"},{"description":"Whether to also remove the course certificate","key":"remove-certificate","value":"<boolean>"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"c181da42-8e4d-4f13-b393-20c6ed2c999b","name":"Invalid or missing user_id or course_id","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/course-progress?user_id=<integer>&course_id=<integer>&remove-certificate=<boolean>","host":["https://your-domain.talentlms.com"],"path":["api","v2","course-progress"],"query":[{"description":"(Required) The ID of the user","key":"user_id","value":"<integer>"},{"description":"(Required) The ID of the course","key":"course_id","value":"<integer>"},{"description":"Whether to also remove the course certificate","key":"remove-certificate","value":"<boolean>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"b4eca1b4-fa2d-4dda-bb0a-7f92b715f857","name":"Insufficient permissions to reset progress","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/course-progress?user_id=<integer>&course_id=<integer>&remove-certificate=<boolean>","host":["https://your-domain.talentlms.com"],"path":["api","v2","course-progress"],"query":[{"description":"(Required) The ID of the user","key":"user_id","value":"<integer>"},{"description":"(Required) The ID of the course","key":"course_id","value":"<integer>"},{"description":"Whether to also remove the course certificate","key":"remove-certificate","value":"<boolean>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"66e23464-4a7b-489a-986f-3b2ae33371b3","name":"Course or user not found","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/course-progress?user_id=<integer>&course_id=<integer>&remove-certificate=<boolean>","host":["https://your-domain.talentlms.com"],"path":["api","v2","course-progress"],"query":[{"description":"(Required) The ID of the user","key":"user_id","value":"<integer>"},{"description":"(Required) The ID of the course","key":"course_id","value":"<integer>"},{"description":"Whether to also remove the course certificate","key":"remove-certificate","value":"<boolean>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a0d32d47-9af9-49db-9dc7-b70ae0787217"},{"name":"Get user custom fields","id":"c5a0d0cc-5f44-4bb3-96af-709657c844a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/user-fields?page[number]=<integer>&page[size]=<integer>","description":"<h3 id=\"get-user-custom-fields\">Get user custom fields</h3>\n<p>Get all custom fields defined for users by making a simple authenticated GET request, and receive their definitions as a JSON array.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","user-fields"],"host":["https://your-domain.talentlms.com"],"query":[{"key":"page[number]","value":"<integer>"},{"key":"page[size]","value":"<integer>"}],"variable":[]}},"response":[{"id":"b28d8bea-81d5-4f62-b386-2b11fc5f8f63","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/user-fields?page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","user-fields"],"query":[{"key":"page[number]","value":"<integer>"},{"key":"page[size]","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": [\n    {\n      \"key\": \"<string>\",\n      \"type\": \"<string>\",\n      \"name\": \"<string>\",\n      \"mandatory\": \"<boolean>\",\n      \"visible_on_reports\": \"<boolean>\",\n      \"dropdown_values\": [\n        {\n          \"item\": \"<string>\",\n          \"default\": \"<boolean>\"\n        },\n        {\n          \"item\": \"<string>\",\n          \"default\": \"<boolean>\"\n        }\n      ],\n      \"checkbox_status\": \"on\",\n      \"selective_availability\": \"<boolean>\",\n      \"branches_map\": {\n        \"in_4\": \"<string>\",\n        \"cillum2\": \"<string>\"\n      },\n      \"main_domain_availability\": \"<boolean>\",\n      \"previous_key\": \"<string>\",\n      \"order\": \"<integer>\"\n    },\n    {\n      \"key\": \"<string>\",\n      \"type\": \"<string>\",\n      \"name\": \"<string>\",\n      \"mandatory\": \"<boolean>\",\n      \"visible_on_reports\": \"<boolean>\",\n      \"dropdown_values\": [\n        {\n          \"item\": \"<string>\",\n          \"default\": \"<boolean>\"\n        },\n        {\n          \"item\": \"<string>\",\n          \"default\": \"<boolean>\"\n        }\n      ],\n      \"checkbox_status\": \"on\",\n      \"selective_availability\": \"<boolean>\",\n      \"branches_map\": {\n        \"incididuntda0\": \"<string>\"\n      },\n      \"main_domain_availability\": \"<boolean>\",\n      \"previous_key\": \"<string>\",\n      \"order\": \"<integer>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"0a9b3a98-f8f3-4632-8c01-0aebdf189ea2","name":"Invalid pagination value","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/user-fields?page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","user-fields"],"query":[{"key":"page[number]","value":"<integer>"},{"key":"page[size]","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c5a0d0cc-5f44-4bb3-96af-709657c844a3"},{"name":"Get user's unit progress","id":"d7c2690f-f94e-4f36-83d3-84d1fdb8f4c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/unit-progress?user_id=<integer>&unit_id=<integer>","description":"<h3 id=\"get-users-unit-progress\">Get user's unit progress</h3>\n<p>Retrieve a user's progress in a specific unit by supplying <code>user_id</code> and <code>unit_id</code> as query parameters, and receive JSON data about the unit's progress, such as status, score, and timestamps.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","unit-progress"],"host":["https://your-domain.talentlms.com"],"query":[{"description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"key":"user_id","value":"<integer>"},{"description":{"content":"<p>(Required) The ID of the unit</p>\n","type":"text/plain"},"key":"unit_id","value":"<integer>"}],"variable":[]}},"response":[{"id":"c4cce877-595b-4095-9f68-1d4c0f9cf1f7","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/unit-progress?user_id=<integer>&unit_id=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","unit-progress"],"query":[{"description":"(Required) The ID of the user","key":"user_id","value":"<integer>"},{"description":"(Required) The ID of the unit","key":"unit_id","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"total_time\": \"<integer>\",\n    \"status\": \"<string>\",\n    \"score\": \"<number>\",\n    \"completion_date\": \"<dateTime>\",\n    \"completion_reason\": \"<string>\",\n    \"first_access_time\": \"<dateTime>\",\n    \"last_accessed_time\": \"<dateTime>\",\n    \"submission\": {\n      \"id_25a\": true,\n      \"Ut_46e\": -17858254,\n      \"fugiatb07\": 628166,\n      \"non93\": 79515471\n    },\n    \"ilt_attendance\": {\n      \"adipisicing_a\": -29202924.310747743,\n      \"et69b\": 69643696\n    },\n    \"repetitions\": {\n      \"mollit0\": \"officia ad adipisicing qui\"\n    },\n    \"remaining_time\": \"<integer>\",\n    \"grade_date\": \"<dateTime>\"\n  }\n}"},{"id":"fa60fcdb-0eae-48b4-bf53-22c9950ddc5c","name":"Invalid or missing user_id or unit_id","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/unit-progress?user_id=<integer>&unit_id=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","unit-progress"],"query":[{"description":"(Required) The ID of the user","key":"user_id","value":"<integer>"},{"description":"(Required) The ID of the unit","key":"unit_id","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"6288cfe6-225c-4b24-8d99-4dddcf51a085","name":"Unit, user, or course progress not found; or user not enrolled","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/unit-progress?user_id=<integer>&unit_id=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","unit-progress"],"query":[{"description":"(Required) The ID of the user","key":"user_id","value":"<integer>"},{"description":"(Required) The ID of the unit","key":"unit_id","value":"<integer>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"e1604608-b335-480b-b1cb-41a86afcc515","name":"Unit course is missing or unavailable","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/unit-progress?user_id=<integer>&unit_id=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","unit-progress"],"query":[{"description":"(Required) The ID of the user","key":"user_id","value":"<integer>"},{"description":"(Required) The ID of the unit","key":"unit_id","value":"<integer>"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d7c2690f-f94e-4f36-83d3-84d1fdb8f4c0"},{"name":"Login user","id":"c4b88ec9-cbcf-4ed6-8d83-7ded0ebb5f36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/users/:id/login?logout_redirect=<string>","description":"<h3 id=\"login-user\">Login user</h3>\n<p>Logs in a specific user to the portal. To successfully log in a user, provide the user's unique ID in the request. If the request is valid and the user exists, the system initiates a new session and logs the user into the portal.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users",":id","login"],"host":["https://your-domain.talentlms.com"],"query":[{"description":{"content":"<p>Base64url-encoded URL used after logout from the autologin session</p>\n","type":"text/plain"},"key":"logout_redirect","value":"<string>"}],"variable":[{"id":"2487f4ed-40aa-4e03-93e5-2d9c09a00659","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"975295e3-5457-49de-9e70-65c7fb0f2926","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/users/:id/login?logout_redirect=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","login"],"query":[{"description":"Base64url-encoded URL used after logout from the autologin session","key":"logout_redirect","value":"<string>"}],"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      \"name\": \"<string>\",\n      \"url\": \"<uri>\",\n      \"is_branch\": \"<boolean>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"url\": \"<uri>\",\n      \"is_branch\": \"<boolean>\"\n    }\n  ]\n}"},{"id":"2786e8e0-df12-459e-be30-fee47de46a01","name":"Invalid user ID or logout_redirect","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/login?logout_redirect=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","login"],"query":[{"description":"Base64url-encoded URL used after logout from the autologin session","key":"logout_redirect","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"78c069a7-4a0c-4653-a1ee-26e737358b55","name":"User is archived or not allowed","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/login?logout_redirect=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","login"],"query":[{"description":"Base64url-encoded URL used after logout from the autologin session","key":"logout_redirect","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"6a54329c-6fe5-495f-a4d1-48a35d6b8689","name":"User not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/login?logout_redirect=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","login"],"query":[{"description":"Base64url-encoded URL used after logout from the autologin session","key":"logout_redirect","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"d33b6292-6db3-49a5-b5dc-36ccb50c79a6","name":"User is inactive or has no accessible autologin URLs","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/login?logout_redirect=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","login"],"query":[{"description":"Base64url-encoded URL used after logout from the autologin session","key":"logout_redirect","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c4b88ec9-cbcf-4ed6-8d83-7ded0ebb5f36"},{"name":"Logout user","id":"656f365e-195e-4a76-b67e-7bd39fbf1484","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"next\": \"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/users/:id/logout","description":"<h3 id=\"logout-user\">Logout user</h3>\n<p>Logs out a specific user from the portal by terminating their active session. To successfully log out a user, provide the user’s unique ID in the request. If the request is valid and the user exists, the system immediately invalidates the user’s current session and logs them out of the portal.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users",":id","logout"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"35090c5e-28f6-4752-b664-e2f6033db186","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"5fd6755b-1b5e-4248-8a7a-65013fa84681","name":"Successful response","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  \"next\": \"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/logout","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","logout"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"redirect_url\": \"<string>\"\n  }\n}"},{"id":"f3eb5473-1ba4-4e73-bf55-65c974b0cd21","name":"Invalid user ID","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  \"next\": \"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/logout","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","logout"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"e8f35a51-1832-4b7a-a69e-b6823d2bffa0","name":"User not found","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  \"next\": \"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/logout","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","logout"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"656f365e-195e-4a76-b67e-7bd39fbf1484"},{"name":"Get user online status","id":"70b0c5fc-3eca-4930-8be0-7b41ac9e2f01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/users/:id/online-status","description":"<h3 id=\"get-user-online-status\">Get user online status</h3>\n<p>Retrieves the current online status of a specific user. To check whether a user is currently online, provide the user’s unique ID in the request. If the request is valid and the user exists, the API returns the user’s online status.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users",":id","online-status"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"4ae6ec10-1247-4558-a27d-115372a735dd","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"dded5406-7f28-48e2-9254-5d9954fbb763","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/users/:id/online-status","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","online-status"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"online\": \"<boolean>\"\n  }\n}"},{"id":"b6c0af2b-3c93-42eb-b32d-9e7c1c8200d9","name":"Invalid user ID","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/online-status","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","online-status"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"61ddcaaa-004a-45dc-aa19-63225987a98f","name":"User not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/online-status","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","online-status"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"70b0c5fc-3eca-4930-8be0-7b41ac9e2f01"},{"name":"Reset user's password","id":"19b186b4-f772-45b3-af94-20e96d913d5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"login\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/password-reset?redirect_url=<string>","description":"<h3 id=\"reset-users-password\">Reset user's password</h3>\n<p>Reset a user's password by providing the user's login in the path and a base64-encoded redirect URL as a query parameter, returning a 204 No Content response upon successful password reset request.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","password-reset"],"host":["https://your-domain.talentlms.com"],"query":[{"description":{"content":"<p>Base64-encoded http(s) URL used after the password reset</p>\n","type":"text/plain"},"key":"redirect_url","value":"<string>"}],"variable":[]}},"response":[{"id":"0939a2ee-5700-4c52-9384-c0fd466b95aa","name":"Password reset email sent when the user exists (always empty success)","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  \"login\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/password-reset?redirect_url=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","password-reset"],"query":[{"description":"Base64-encoded http(s) URL used after the password reset","key":"redirect_url","value":"<string>"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"73d41ff0-86a9-4872-9186-5107bc7f60d1","name":"Missing login or invalid redirect_url","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  \"login\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/password-reset?redirect_url=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","password-reset"],"query":[{"description":"Base64-encoded http(s) URL used after the password reset","key":"redirect_url","value":"<string>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"19b186b4-f772-45b3-af94-20e96d913d5f"},{"name":"Recover username","id":"d3c1371e-fb1f-460c-9380-907ee50d65ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/users/:email/username-recovery?domain_url=<string>","description":"<h3 id=\"recover-username\">Recover username</h3>\n<p>The system sends an email to the user (using the specified attribute, such as their login or email), which includes their username; the user can provide a custom portal URL (<code>domain_url</code>), and if not provided, the system will use the default portal URL.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users",":email","username-recovery"],"host":["https://your-domain.talentlms.com"],"query":[{"description":{"content":"<p>Optional non-empty portal URL included in the recovery email</p>\n","type":"text/plain"},"key":"domain_url","value":"<string>"}],"variable":[{"id":"d5057089-dbb4-40d7-bfc0-44967e5f1405","description":{"content":"<p>(Required) The email of the user</p>\n","type":"text/plain"},"type":"any","value":"<email>","key":"email"}]}},"response":[{"id":"a19cd617-00b7-4a24-8978-64fb010f4bcf","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:email/username-recovery?domain_url=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":email","username-recovery"],"query":[{"description":"Optional non-empty portal URL included in the recovery email","key":"domain_url","value":"<string>"}],"variable":[{"key":"email"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"user_id\": \"<integer>\"\n  }\n}"},{"id":"cb70d7ee-dfd5-47f9-9b18-43811b2c6085","name":"Invalid email","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:email/username-recovery?domain_url=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":email","username-recovery"],"query":[{"description":"Optional non-empty portal URL included in the recovery email","key":"domain_url","value":"<string>"}],"variable":[{"key":"email"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"cf6108af-02fc-4185-8e5d-a5cf0b4e498e","name":"User not found","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:email/username-recovery?domain_url=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":email","username-recovery"],"query":[{"description":"Optional non-empty portal URL included in the recovery email","key":"domain_url","value":"<string>"}],"variable":[{"key":"email"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d3c1371e-fb1f-460c-9380-907ee50d65ab"},{"name":"Get user groups","id":"f177086d-4021-4f54-b2a1-ce85b2e12408","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/users/:id/groups","description":"<p>Retrieves the groups assigned to a specific user. Include the user's unique ID as a path parameter. Returns a list of groups with their ID and name.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users",":id","groups"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"20268ac6-9ca1-4937-a898-e79fde53812e","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"884bfeed-af3a-4520-8ec8-aea33cbdb376","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/users/:id/groups","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","groups"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"groups\": [\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      }\n    ]\n  }\n}"},{"id":"f5a1070c-2609-4969-8b09-ce39cc6b7805","name":"Invalid user ID","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/groups","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","groups"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"bb9832e8-ed6f-413a-8825-befb1b1e7ad2","name":"Insufficient permissions to view the user","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/groups","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","groups"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"7b6c69b8-e28b-4348-88fb-6b4f7d09c1e6","name":"User not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/groups","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","groups"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f177086d-4021-4f54-b2a1-ce85b2e12408"},{"name":"Get user branches","id":"5e5d0f97-991d-4327-9123-9fbd32978d89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/users/:id/branches","description":"<p>Retrieves the branches assigned to a specific user. Include the user's unique ID as a path parameter. Returns a list of branches with their ID and name.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users",":id","branches"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"3d3d7596-75f3-4cb8-9686-fec32402f4ec","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"7d02bcea-a44a-4285-ae3b-75870386da38","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/users/:id/branches","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","branches"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"branches\": [\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      }\n    ]\n  }\n}"},{"id":"aa283ae5-97e5-4868-b83f-8ee30555326b","name":"Invalid user ID","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/branches","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","branches"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"b6c4c0d9-d55e-4894-881d-dbf8aa263b8f","name":"Insufficient permissions to view the user","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/branches","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","branches"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"532fbdac-f63e-4945-9649-6e66e25041ec","name":"User not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/branches","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","branches"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5e5d0f97-991d-4327-9123-9fbd32978d89"},{"name":"Get user courses","id":"c15eabc6-b75b-4f54-9864-b1760a113783","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/users/:id/courses","description":"<p>Retrieves the courses assigned to a specific user. Include the user's unique ID as a path parameter. Returns course enrollment and progress details.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users",":id","courses"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"64b176ad-1b36-4623-8d4d-87edf9336bda","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"6556ee38-682c-4b6a-8916-c027041f1539","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/users/:id/courses","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","courses"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"courses\": [\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"role\": \"instructor\",\n        \"completion_status\": \"<string>\",\n        \"completion_percentage\": \"<float>\",\n        \"total_time\": \"<integer>\",\n        \"enrolled_on\": \"<dateTime>\",\n        \"completed_on\": \"<dateTime>\",\n        \"expired_on\": \"<dateTime>\",\n        \"score\": \"<float>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"role\": \"learner\",\n        \"completion_status\": \"<string>\",\n        \"completion_percentage\": \"<float>\",\n        \"total_time\": \"<integer>\",\n        \"enrolled_on\": \"<dateTime>\",\n        \"completed_on\": \"<dateTime>\",\n        \"expired_on\": \"<dateTime>\",\n        \"score\": \"<float>\"\n      }\n    ]\n  }\n}"},{"id":"c97d3b33-98c0-48af-9ee4-c15ea19a2297","name":"Invalid user ID","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/courses","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","courses"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"06f2116a-5278-4fad-973e-22cf65d98e07","name":"Insufficient permissions to view the user","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/courses","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","courses"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"bfdbd56a-eea7-4323-a205-248c03d0aa46","name":"User not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/courses","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","courses"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c15eabc6-b75b-4f54-9864-b1760a113783"},{"name":"Get user resources","id":"e26c8ca5-96a3-4bfd-a990-15d1f8076c25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/users/:id/resources","description":"<p>Retrieves all resources assigned to a specific user: branches, groups, courses, and certificates.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users",":id","resources"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"919f0b24-4a90-4772-a045-55104c104867","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"b4e972eb-b544-4ddf-abca-04f42719818c","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/users/:id/resources","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","resources"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"branches\": [\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      }\n    ],\n    \"groups\": [\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      }\n    ],\n    \"courses\": [\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"role\": \"instructor\",\n        \"completion_status\": \"<string>\",\n        \"completion_percentage\": \"<float>\",\n        \"total_time\": \"<integer>\",\n        \"enrolled_on\": \"<dateTime>\",\n        \"completed_on\": \"<dateTime>\",\n        \"expired_on\": \"<dateTime>\",\n        \"score\": \"<float>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"role\": \"instructor\",\n        \"completion_status\": \"<string>\",\n        \"completion_percentage\": \"<float>\",\n        \"total_time\": \"<integer>\",\n        \"enrolled_on\": \"<dateTime>\",\n        \"completed_on\": \"<dateTime>\",\n        \"expired_on\": \"<dateTime>\",\n        \"score\": \"<float>\"\n      }\n    ],\n    \"certificates\": [\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\"\n      }\n    ]\n  }\n}"},{"id":"65ac2f6e-9da2-4e91-bffd-99e8a61eb340","name":"Invalid user ID","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/resources","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","resources"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"9b90995f-f9f0-4f0b-8da1-2d69b2ba020f","name":"Insufficient permissions to view the user","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/resources","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","resources"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"eacc04b9-4ba5-4621-994d-185a4b83f034","name":"User not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/resources","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","resources"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"e26c8ca5-96a3-4bfd-a990-15d1f8076c25"},{"name":"Get a user's gamification data","id":"1cab7253-f4c7-4965-a8a3-7f5d89d5b767","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/users/:id/gamification","description":"<h3 id=\"returns-a-users-gamification-sub-resource-points-level-and-badges\">Returns a user's gamification sub-resource (points, level, and badges).</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> *     Returns 404 when gamification is disabled for the portal, or when the user does not exist.\n *     Each badge contains: name, type, image_url, criteria, issued_on (unix timestamp) and badge_set_id.\n</code></pre>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users",":id","gamification"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"03897b22-15ef-4778-be0e-df78b0775bf4","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"0191324e-48f3-40f9-a696-c82dbe05c647","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/users/:id/gamification","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","gamification"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"points\": \"<integer>\",\n    \"level\": \"<integer>\",\n    \"badges\": [\n      {\n        \"name\": \"<string>\",\n        \"type\": \"<string>\",\n        \"image_url\": \"<string>\",\n        \"criteria\": \"<string>\",\n        \"issued_on\": \"<integer>\",\n        \"badge_set_id\": \"<integer>\"\n      },\n      {\n        \"name\": \"<string>\",\n        \"type\": \"<string>\",\n        \"image_url\": \"<string>\",\n        \"criteria\": \"<string>\",\n        \"issued_on\": \"<integer>\",\n        \"badge_set_id\": \"<integer>\"\n      }\n    ]\n  }\n}"},{"id":"3887b0d5-7428-46fc-98a1-95a128eefe65","name":"Gamification is not enabled or user not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/gamification","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","gamification"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"1cab7253-f4c7-4965-a8a3-7f5d89d5b767"},{"name":"Get user certificates","id":"5be91b44-ce10-4502-9c57-892789d0b1f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/users/:id/certificates","description":"<p>Retrieves the certificates earned by a specific user. Include the user's unique ID as a path parameter. Returns a paginated list of certificates with detailed metadata including course information, dates, and download URLs.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users",":id","certificates"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"890c6dec-5eab-45ea-a6c1-b1fd18d5dc9c","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"41615897-0ded-4971-a9a9-66ba92121093","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/users/:id/certificates","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","certificates"],"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\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"course_id\": \"<integer>\",\n      \"course_name\": \"<string>\",\n      \"unique_id\": \"<string>\",\n      \"issued_date\": \"<string>\",\n      \"issued_date_timestamp\": \"<integer>\",\n      \"expiration_date\": \"<string>\",\n      \"expiration_date_timestamp\": \"<integer>\",\n      \"download_url\": \"<string>\",\n      \"public_url\": \"<string>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"course_id\": \"<integer>\",\n      \"course_name\": \"<string>\",\n      \"unique_id\": \"<string>\",\n      \"issued_date\": \"<string>\",\n      \"issued_date_timestamp\": \"<integer>\",\n      \"expiration_date\": \"<string>\",\n      \"expiration_date_timestamp\": \"<integer>\",\n      \"download_url\": \"<string>\",\n      \"public_url\": \"<string>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"1dbc9311-3288-43e7-ae38-0f9fa7ded9cc","name":"User not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/certificates","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","certificates"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5be91b44-ce10-4502-9c57-892789d0b1f4"},{"name":"Get user skills","id":"f3b88a97-c3b0-47ad-914d-23aeb6d4a11e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/users/:id/skills","description":"<p>Retrieves the skills assigned to a specific user. Include the user's unique ID as a path parameter. Returns a paginated list of skills with their current level.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users",":id","skills"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"c9465f81-9bb6-4fca-a342-2caa640015cb","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"650a5954-4ec6-406c-acc7-5ab839ff72e1","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/users/:id/skills","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","skills"],"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\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"status\": \"<string>\",\n      \"level_id\": \"<integer>\",\n      \"level_name\": \"<string>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"status\": \"<string>\",\n      \"level_id\": \"<integer>\",\n      \"level_name\": \"<string>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"c3b21738-696f-47b0-adeb-929006ebeeed","name":"Invalid input","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/skills","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","skills"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"576d20d7-f53c-41dd-abd4-d19fe9c69e06","name":"Insufficient permissions, or skills not available on the current plan / disabled in settings","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/skills","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","skills"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"efddbf1d-e12d-4e2e-bddb-980a2e5cc936","name":"User not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/skills","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","skills"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f3b88a97-c3b0-47ad-914d-23aeb6d4a11e"},{"name":"Get skill assigned to a user","id":"1deeaa50-9923-498b-ba8c-f69ec8e1d9c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/users/:id/skills/:skill_id","description":"<p>Retrieves a single skill assigned to a specific user. Include the user's unique ID and the skill's unique ID as path parameters.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","users",":id","skills",":skill_id"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"cd7bda65-288c-45f9-a68e-ca353a32abcd","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"},{"id":"8d679734-9390-4fbd-a074-1ae5eeb8fb05","description":{"content":"<p>(Required) The ID of the skill</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"skill_id"}]}},"response":[{"id":"6aa57c1a-daae-4827-adc6-4cbfa66b261a","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/users/:id/skills/:skill_id","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","skills",":skill_id"],"variable":[{"key":"id"},{"key":"skill_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"status\": \"<string>\",\n    \"level_id\": \"<integer>\",\n    \"level_name\": \"<string>\"\n  }\n}"},{"id":"190ad87b-843b-4d04-9f0e-f8bcb51a71fd","name":"Invalid input","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/skills/:skill_id","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","skills",":skill_id"],"variable":[{"key":"id"},{"key":"skill_id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"473a8078-2729-48e6-a787-f1fd5947714c","name":"Insufficient permissions, or skills not available on the current plan / disabled in settings","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/skills/:skill_id","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","skills",":skill_id"],"variable":[{"key":"id"},{"key":"skill_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"382f56e9-0b40-4d63-9244-c059e25539f6","name":"User not found, or skill not assigned to the user","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/users/:id/skills/:skill_id","host":["https://your-domain.talentlms.com"],"path":["api","v2","users",":id","skills",":skill_id"],"variable":[{"key":"id"},{"key":"skill_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"1deeaa50-9923-498b-ba8c-f69ec8e1d9c7"},{"name":"Get user's progress in each unit of a course","id":"465c106e-f55a-44c8-aca4-a9659ed4e89d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/course-progress/course/:courseId/user/:userId/units?page[number]=<integer>&page[size]=<integer>","description":"<p>Returns a paginated list of the course's active units, ordered by unit ID, with the user's progress in each. Units the user has not attempted are included with completion_status not_attempted. Section units are excluded.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","course-progress","course",":courseId","user",":userId","units"],"host":["https://your-domain.talentlms.com"],"query":[{"key":"page[number]","value":"<integer>"},{"key":"page[size]","value":"<integer>"}],"variable":[{"id":"8ce8531a-c2ef-4f60-8906-1a22733ab3c0","description":{"content":"<p>(Required) The ID of the course</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"courseId"},{"id":"2eff737b-51aa-4f7b-ab36-455f8d60d72d","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"userId"}]}},"response":[{"id":"ca96698c-5237-4bd0-bb2c-cfd0513b0f7e","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/course-progress/course/:courseId/user/:userId/units?page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","course-progress","course",":courseId","user",":userId","units"],"query":[{"key":"page[number]","value":"<integer>"},{"key":"page[size]","value":"<integer>"}],"variable":[{"key":"courseId"},{"key":"userId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": [\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"type\": \"<string>\",\n      \"completion_status\": \"unknown\",\n      \"completion_date\": \"<dateTime>\",\n      \"score\": \"<float>\",\n      \"total_time\": \"<integer>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"type\": \"<string>\",\n      \"completion_status\": \"not_attempted\",\n      \"completion_date\": \"<dateTime>\",\n      \"score\": \"<float>\",\n      \"total_time\": \"<integer>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"7ded20b8-e193-48d0-80e9-3b7253c8fc35","name":"Invalid course or user id","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/course-progress/course/:courseId/user/:userId/units?page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","course-progress","course",":courseId","user",":userId","units"],"query":[{"key":"page[number]","value":"<integer>"},{"key":"page[size]","value":"<integer>"}],"variable":[{"key":"courseId"},{"key":"userId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"f54142c3-4aed-4e19-8063-8ffe290d6521","name":"User not found or unavailable, course not found or unavailable, or user not enrolled in the course","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/course-progress/course/:courseId/user/:userId/units?page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","course-progress","course",":courseId","user",":userId","units"],"query":[{"key":"page[number]","value":"<integer>"},{"key":"page[size]","value":"<integer>"}],"variable":[{"key":"courseId"},{"key":"userId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"465c106e-f55a-44c8-aca4-a9659ed4e89d"}],"id":"28464536-ddd5-461a-b3ba-1a3e00baa8f5","_postman_id":"28464536-ddd5-461a-b3ba-1a3e00baa8f5","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}}},{"name":"Course","item":[{"name":"List all courses","id":"4cd237a5-b945-474b-b101-ae79c7e44f36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/courses","description":"<h3 id=\"list-all-courses\">List all courses</h3>\n<p>Retrieves a paginated list of all courses in your TalentLMS account. Upon a successful request, the API returns a JSON response containing course objects, including their associated metadata and configuration details. Results are delivered in a paginated format to ensure efficient handling of large datasets. You can optionally filter the response using course custom fields.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","courses"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"86f6e5fd-6b53-4a67-a0d1-97a5744905a7","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/courses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": [\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"category\": {\n        \"exercitation_0ca\": -71063855.07394212,\n        \"ex_f\": -77698939.42222624,\n        \"exercitation71\": false\n      },\n      \"description\": {\n        \"eu_3\": true,\n        \"dolor_cf\": \"Duis officia\"\n      },\n      \"code\": \"<string>\",\n      \"status\": \"<string>\",\n      \"creation_date\": \"<dateTime>\",\n      \"last_updated_on\": \"<dateTime>\",\n      \"price\": {\n        \"amount\": \"<float>\",\n        \"currency\": \"<string>\"\n      },\n      \"capacity\": \"<integer>\",\n      \"is_hidden_from_catalog\": \"<boolean>\",\n      \"is_locked\": \"<boolean>\",\n      \"public_key\": \"<string>\",\n      \"is_prerequisite\": \"<boolean>\",\n      \"remaining_licenses\": \"<integer>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"category\": {\n        \"dolorec\": -3736921,\n        \"culpa_cc7\": \"tempor qui mollit Excepteur\",\n        \"eiusmod_8\": \"Duis veniam proident ea\"\n      },\n      \"description\": {\n        \"ad4\": -71942038,\n        \"esse_0\": -77626064.14235733,\n        \"veniam5\": 39955654,\n        \"nulla_3e\": -47434106\n      },\n      \"code\": \"<string>\",\n      \"status\": \"<string>\",\n      \"creation_date\": \"<dateTime>\",\n      \"last_updated_on\": \"<dateTime>\",\n      \"price\": {\n        \"amount\": \"<float>\",\n        \"currency\": \"<string>\"\n      },\n      \"capacity\": \"<integer>\",\n      \"is_hidden_from_catalog\": \"<boolean>\",\n      \"is_locked\": \"<boolean>\",\n      \"public_key\": \"<string>\",\n      \"is_prerequisite\": \"<boolean>\",\n      \"remaining_licenses\": \"<integer>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"09e39d9d-83b3-4976-965a-e8897f0b66c4","name":"Insufficient permissions to list courses","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":"https://your-domain.talentlms.com/api/v2/courses"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"12d06f68-511e-43cb-a462-37e8d9fac90c","name":"Authenticated user not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":"https://your-domain.talentlms.com/api/v2/courses"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"4cd237a5-b945-474b-b101-ae79c7e44f36"},{"name":"Create course","id":"0dd1f190-0442-4d5a-a556-2bdb698748eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"code\": \"<string>\",\n  \"description\": \"<string>\",\n  \"category_id\": \"<integer>\",\n  \"price\": \"<float>\",\n  \"capacity\": \"<integer>\",\n  \"level\": \"<integer>\",\n  \"time_limit\": \"<integer>\",\n  \"start_datetime\": \"<integer>\",\n  \"expiration_datetime\": \"<integer>\",\n  \"is_active\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/courses","description":"<h3 id=\"create-course\">Create course</h3>\n<p>Creates a new course in your TalentLMS account. To successfully create a course, provide the required attributes (such as the course name, code, and other relevant details) in the request body. If the request is valid, the API creates the course and returns the newly created course object, including its unique ID. This endpoint allows you to define course properties such as description, category, pricing, visibility, and other configuration settings depending on your account setup.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","courses"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"07ac3ef6-7591-4a24-bf42-a9097ed339ac","name":"Course 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  \"name\": \"<string>\",\n  \"code\": \"<string>\",\n  \"description\": \"<string>\",\n  \"category_id\": \"<integer>\",\n  \"price\": \"<float>\",\n  \"capacity\": \"<integer>\",\n  \"level\": \"<integer>\",\n  \"time_limit\": \"<integer>\",\n  \"start_datetime\": \"<integer>\",\n  \"expiration_datetime\": \"<integer>\",\n  \"is_active\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/courses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"category\": {\n      \"deseruntc\": false,\n      \"tempor__05\": false,\n      \"quis_75\": -62749996\n    },\n    \"description\": {\n      \"et_7\": \"voluptate ea\",\n      \"consectetur2a\": \"cupidatat veniam\",\n      \"ex_b\": 41726460,\n      \"cillum5e\": \"d\"\n    },\n    \"code\": \"<string>\",\n    \"status\": \"<string>\",\n    \"creation_date\": \"<dateTime>\",\n    \"last_updated_on\": \"<dateTime>\",\n    \"price\": {\n      \"amount\": \"<float>\",\n      \"currency\": \"<string>\"\n    },\n    \"level\": \"<integer>\",\n    \"capacity\": \"<integer>\",\n    \"is_hidden_from_catalog\": \"<boolean>\",\n    \"is_locked\": \"<boolean>\",\n    \"time_limit\": \"<float>\"\n  }\n}"},{"id":"358da4b0-f676-4b98-a173-17f1f5454a39","name":"Invalid request body","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  \"name\": \"<string>\",\n  \"code\": \"<string>\",\n  \"description\": \"<string>\",\n  \"category_id\": \"<integer>\",\n  \"price\": \"<float>\",\n  \"capacity\": \"<integer>\",\n  \"level\": \"<integer>\",\n  \"time_limit\": \"<integer>\",\n  \"start_datetime\": \"<integer>\",\n  \"expiration_datetime\": \"<integer>\",\n  \"is_active\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/courses"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"a928298f-f4e7-4afe-a4e0-eb9494f80323","name":"Insufficient permissions or course limit reached","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  \"name\": \"<string>\",\n  \"code\": \"<string>\",\n  \"description\": \"<string>\",\n  \"category_id\": \"<integer>\",\n  \"price\": \"<float>\",\n  \"capacity\": \"<integer>\",\n  \"level\": \"<integer>\",\n  \"time_limit\": \"<integer>\",\n  \"start_datetime\": \"<integer>\",\n  \"expiration_datetime\": \"<integer>\",\n  \"is_active\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/courses"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"549d19ef-7ea8-4037-a731-cda2506ffc10","name":"Category, course, or user not found","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  \"name\": \"<string>\",\n  \"code\": \"<string>\",\n  \"description\": \"<string>\",\n  \"category_id\": \"<integer>\",\n  \"price\": \"<float>\",\n  \"capacity\": \"<integer>\",\n  \"level\": \"<integer>\",\n  \"time_limit\": \"<integer>\",\n  \"start_datetime\": \"<integer>\",\n  \"expiration_datetime\": \"<integer>\",\n  \"is_active\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/courses"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"18be748d-9f6a-44eb-bb80-91364626397a","name":"Conflict creating or updating the course","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  \"name\": \"<string>\",\n  \"code\": \"<string>\",\n  \"description\": \"<string>\",\n  \"category_id\": \"<integer>\",\n  \"price\": \"<float>\",\n  \"capacity\": \"<integer>\",\n  \"level\": \"<integer>\",\n  \"time_limit\": \"<integer>\",\n  \"start_datetime\": \"<integer>\",\n  \"expiration_datetime\": \"<integer>\",\n  \"is_active\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/courses"},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"0dd1f190-0442-4d5a-a556-2bdb698748eb"},{"name":"Get a course","id":"40e7ed37-27a8-48a4-9024-75dc491deee9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/courses/:id","description":"<h3 id=\"get-a-course\">Get a course</h3>\n<p>Retrieves the full details of a specific course. To successfully fetch a course, include the course’s unique ID as a path parameter in the request URL. If the request is valid and the course exists, the API returns detailed information about the course, including its metadata, settings, and related attributes.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","courses",":id"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"3c1231d6-33bd-4472-b6be-cf9303eb2807","description":{"content":"<p>(Required) The ID of the course</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"542795ab-73af-45cd-9441-af7b8c350eb7","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/courses/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"category\": {\n      \"irure63\": 24011729,\n      \"do_27\": \"cupidatat veniam Lorem\"\n    },\n    \"description\": {\n      \"laboruma3d\": \"officia ullamco culpa\",\n      \"irure6\": 21737003\n    },\n    \"code\": \"<string>\",\n    \"status\": \"<string>\",\n    \"creation_date\": \"<dateTime>\",\n    \"last_updated_on\": \"<dateTime>\",\n    \"price\": {\n      \"amount\": \"<float>\",\n      \"currency\": \"<string>\"\n    },\n    \"intro_video\": {\n      \"sedd\": \"qui cillum velit\",\n      \"exercitation7f\": 35077714.92066106,\n      \"magnab7\": \"sit culpa reprehenderit ad\",\n      \"Lorem96\": 3545450,\n      \"sunt083\": false\n    },\n    \"cover_image\": {\n      \"sint_b\": -65777205.43188252\n    },\n    \"level\": \"<integer>\",\n    \"capacity\": \"<integer>\",\n    \"is_hidden_from_catalog\": \"<boolean>\",\n    \"is_locked\": \"<boolean>\",\n    \"rating\": {\n      \"average\": \"<number>\",\n      \"user\": \"<number>\"\n    },\n    \"rules\": {\n      \"dolor_4\": \"elit cupidatat Lorem enim\",\n      \"elit_1b\": -69118069\n    },\n    \"starts_at\": \"<dateTime>\",\n    \"expires_at\": \"<dateTime>\",\n    \"time_limit\": \"<float>\",\n    \"availability\": {\n      \"et846\": -83794048\n    },\n    \"retain_access_after_completion\": \"<boolean>\",\n    \"public_key\": \"<string>\",\n    \"is_prerequisite\": \"<boolean>\",\n    \"remaining_licenses\": \"<integer>\",\n    \"custom_fields\": [\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"value\": \"<string>\",\n        \"type\": \"text\"\n      },\n      {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"value\": \"<string>\",\n        \"type\": \"checkbox\"\n      }\n    ]\n  }\n}"},{"id":"ac48ac69-59cb-4ec6-a596-298dc56dc407","name":"Invalid course ID","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"10372fc3-dd27-4fa1-ab14-505e3fe23a69","name":"Insufficient permissions to view the course","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"c627c560-66d9-4290-8bf6-d36ab5e7d2e6","name":"Course or user not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"40e7ed37-27a8-48a4-9024-75dc491deee9"},{"name":"Delete a course","id":"86e6af5b-cd23-4bb2-87d4-ecd437dbe776","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://your-domain.talentlms.com/api/v2/courses/:id","description":"<h3 id=\"delete-a-course\">Delete a course</h3>\n<p>Permanently deletes a specific course from your TalentLMS account. To successfully remove a course, include the course’s unique ID as a path parameter in the request URL. If the request is valid and the course exists, the API deletes the course and returns a 204 No Content response upon success.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","courses",":id"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"353ef665-1c2d-41f4-b223-23d871ed162a","description":{"content":"<p>(Required) The ID of the course</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"a57265d9-3f48-4d30-a786-631239cd7e47","name":"Course deleted successfully","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id"],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"483a92e0-b3d5-4d53-ae7f-8945dd9a9ca6","name":"Invalid course ID","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"d227d25f-0189-4f02-91b4-2745b8b42b23","name":"Insufficient permissions to delete the course","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"02f80a97-8173-49ee-8f7a-927c2703ec6b","name":"Course or user not found","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"84789109-d220-45ab-bf1d-7019f36a353a","name":"Course is archived or not available","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id"],"variable":[{"key":"id"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"86e6af5b-cd23-4bb2-87d4-ecd437dbe776"},{"name":"Get course users","id":"c454374d-5388-4dd8-9083-cae0eb7c0e46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/courses/:id/users","description":"<p>Returns a paginated list of users enrolled in a course with their progress.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","courses",":id","users"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"bc2bcbc3-6df5-4cd8-a6cc-3b076238be48","description":{"content":"<p>(Required) The ID of the course</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"b5e06e49-2292-4c3e-9577-e0a2f2bed5cc","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/courses/:id/users","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id","users"],"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\": \"<integer>\",\n      \"login\": \"<string>\",\n      \"name\": \"<string>\",\n      \"surname\": \"<string>\",\n      \"email\": \"<string>\",\n      \"avatar\": {\n        \"default\": \"<string>\",\n        \"sm\": \"<string>\",\n        \"md\": \"<string>\",\n        \"lg\": \"<string>\",\n        \"xl\": \"<string>\"\n      },\n      \"timezone\": \"<string>\",\n      \"language\": \"<string>\",\n      \"type\": \"<string>\",\n      \"registration\": \"<dateTime>\",\n      \"last_login\": \"<dateTime>\",\n      \"status\": \"<string>\",\n      \"last_updated\": \"<dateTime>\",\n      \"integration_user_id\": \"<string>\",\n      \"enrolled_on\": \"<dateTime>\",\n      \"completed_on\": \"<dateTime>\",\n      \"completion_status\": \"<string>\",\n      \"completion_percentage\": \"<float>\",\n      \"total_time\": \"<integer>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"login\": \"<string>\",\n      \"name\": \"<string>\",\n      \"surname\": \"<string>\",\n      \"email\": \"<string>\",\n      \"avatar\": {\n        \"default\": \"<string>\",\n        \"sm\": \"<string>\",\n        \"md\": \"<string>\",\n        \"lg\": \"<string>\",\n        \"xl\": \"<string>\"\n      },\n      \"timezone\": \"<string>\",\n      \"language\": \"<string>\",\n      \"type\": \"<string>\",\n      \"registration\": \"<dateTime>\",\n      \"last_login\": \"<dateTime>\",\n      \"status\": \"<string>\",\n      \"last_updated\": \"<dateTime>\",\n      \"integration_user_id\": \"<string>\",\n      \"enrolled_on\": \"<dateTime>\",\n      \"completed_on\": \"<dateTime>\",\n      \"completion_status\": \"<string>\",\n      \"completion_percentage\": \"<float>\",\n      \"total_time\": \"<integer>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"8cff37bb-c85e-4341-8c3d-6a2606265735","name":"Invalid course id","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id/users","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id","users"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"3bc9319a-503e-4bf7-9807-91ea1cd65737","name":"Course not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id/users","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id","users"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c454374d-5388-4dd8-9083-cae0eb7c0e46"},{"name":"Enroll user to course","id":"34320943-bf1c-439b-a6ce-ab10bfd9a0e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"course_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/enrollments","description":"<h3 id=\"enroll-user-to-course\">Enroll user to course</h3>\n<p>Enrolls a user into a specific course. To create an enrollment, provide the user’s unique ID using the user_id attribute and the course’s unique <strong>I</strong>D using the course_id attribute in the request body. If the request is valid and both the user and course exist, the API creates the enrollment and returns the enrollment details in the response.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","enrollments"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"9566d3e5-cd83-4ac5-97e1-fcf86437367e","name":"User enrolled","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  \"course_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/enrollments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"role\": \"<string>\"\n  }\n}"},{"id":"21f63d2a-9f05-4c32-9502-ee70095553cf","name":"Invalid request body","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  \"course_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/enrollments"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"b722c9be-b426-4421-9b81-85bf9cb067ed","name":"Insufficient permissions to enroll the user","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  \"course_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/enrollments"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"8c199e4c-acbd-4442-a582-ed63f4ac38ae","name":"Course or user not found","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  \"course_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/enrollments"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"34320943-bf1c-439b-a6ce-ab10bfd9a0e0"},{"name":"Delete a user from a course","id":"a03c29b5-8adc-4f40-bf66-875d2d82a24c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/enrollments","description":"<p>Removes a user's enrollment from a specific course. To successfully unenroll a user, provide the user's unique ID using the <code>user_id</code> attribute and the course's unique ID using the <code>course_id</code> attribute. If the request is valid and the enrollment exists, the API deletes the enrollment and removes the user's access to the course.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","enrollments"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"1e71a987-f4d1-4e68-99f9-5ecdc384cdb9","name":"User successfully unenrolled from the course","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/enrollments"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"f219e8fd-7f07-4524-8b30-7a9abed847f3","name":"Invalid or missing request body fields","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/enrollments"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"ec2057ba-dd59-42f9-9e9a-78e002b62343","name":"Insufficient permissions to remove this enrollment","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/enrollments"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"b63dc0e3-ca8b-45f4-b27f-876ee396e52a","name":"User or course not found","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/enrollments"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a03c29b5-8adc-4f40-bf66-875d2d82a24c"},{"name":"Get course custom fields","id":"b65883a2-426b-4507-93da-3c008530760a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/course-fields?page[number]=<integer>&page[size]=<integer>","description":"<h3 id=\"get-course-custom-fields\">Get course custom fields</h3>\n<p>Retrieves a paginated list of all custom fields defined for courses. Upon a successful request, the API returns a JSON response containing the available custom course fields, including their configuration details and metadata. Results are returned in a paginated format to support efficient data retrieval.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","course-fields"],"host":["https://your-domain.talentlms.com"],"query":[{"key":"page[number]","value":"<integer>"},{"key":"page[size]","value":"<integer>"}],"variable":[]}},"response":[{"id":"c5e73f42-00cc-4299-aa99-db05558068d3","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/course-fields?page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","course-fields"],"query":[{"key":"page[number]","value":"<integer>"},{"key":"page[size]","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": [\n    {\n      \"key\": \"<string>\",\n      \"name\": \"<string>\",\n      \"type\": \"<string>\",\n      \"mandatory\": \"<boolean>\",\n      \"visible_on_reports\": \"<boolean>\",\n      \"visible_to_learners\": \"<boolean>\",\n      \"dropdown_values\": [\n        {\n          \"item\": \"<string>\",\n          \"default\": \"<boolean>\"\n        },\n        {\n          \"item\": \"<string>\",\n          \"default\": \"<boolean>\"\n        }\n      ],\n      \"checkbox_status\": \"off\",\n      \"selective_availability\": \"<boolean>\",\n      \"branches_map\": {\n        \"amet13d\": \"<string>\"\n      },\n      \"main_domain_availability\": \"<boolean>\",\n      \"previous_key\": \"<string>\"\n    },\n    {\n      \"key\": \"<string>\",\n      \"name\": \"<string>\",\n      \"type\": \"<string>\",\n      \"mandatory\": \"<boolean>\",\n      \"visible_on_reports\": \"<boolean>\",\n      \"visible_to_learners\": \"<boolean>\",\n      \"dropdown_values\": [\n        {\n          \"item\": \"<string>\",\n          \"default\": \"<boolean>\"\n        },\n        {\n          \"item\": \"<string>\",\n          \"default\": \"<boolean>\"\n        }\n      ],\n      \"checkbox_status\": \"off\",\n      \"selective_availability\": \"<boolean>\",\n      \"branches_map\": {\n        \"proident41\": \"<string>\",\n        \"dolore_8\": \"<string>\",\n        \"inac\": \"<string>\"\n      },\n      \"main_domain_availability\": \"<boolean>\",\n      \"previous_key\": \"<string>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"c3bfc7b7-53f3-4048-86c0-a29549514aca","name":"Invalid pagination value","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/course-fields?page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","course-fields"],"query":[{"key":"page[number]","value":"<integer>"},{"key":"page[size]","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b65883a2-426b-4507-93da-3c008530760a"},{"name":"Purchase a course","id":"668bf694-643a-48c0-9540-0eddd3bbe3dd","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/courses/:id/purchase","description":"<h3 id=\"purchase-a-course\">Purchase a course</h3>\n<p>Provided the course ID in the endpoint's path and the user ID in the request's body a course can be purchased for this specific user. Optionally, you can specify the redirection url if the purchase is cancelled or succeeded and you can also provide a coupon key.</p>\n<p>Payments are processed either with the <strong>Stripe</strong> payment processor or with account <strong>credits</strong>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","courses",":id","purchase"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"067690a3-637a-47fd-899d-41af6b51e09d","description":{"content":"<p>(Required) The ID of the course</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"96ee9df3-8a87-440c-8064-d06d75bb5b96","name":"Purchase initiated","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id/purchase","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id","purchase"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"redirect_url\": \"<string>\"\n  }\n}"},{"id":"c3b30e0d-4436-43fa-a07f-6622ad787022","name":"Invalid request body or coupon","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id/purchase","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id","purchase"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"41e2946d-58ab-49f5-95b1-8844bdb0b379","name":"Payment required or price changed","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id/purchase","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id","purchase"],"variable":[{"key":"id"}]}},"status":"Payment Required","code":402,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"51e76675-ff01-466c-967b-bbdf122a3a39","name":"Insufficient permissions","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id/purchase","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id","purchase"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"c8e0790b-06e1-438c-b14e-40c69dcbab92","name":"Course or user not found","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id/purchase","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id","purchase"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"98c0305a-7a3c-48d0-bbc1-3849b4fb9e3c","name":"Unsupported payment processor or inactive user","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id/purchase","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id","purchase"],"variable":[{"key":"id"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"b364bf78-e4e0-42b3-868d-b5a12793848e","name":"Coupon rate limit exceeded","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id/purchase","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id","purchase"],"variable":[{"key":"id"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"668bf694-643a-48c0-9540-0eddd3bbe3dd"},{"name":"Get course certificate","id":"713fbf33-783b-4bb5-8321-bcc9aea32812","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/courses/:id/certificate","description":"<p>Returns the certificate configuration assigned to a course, or null if none is assigned.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","courses",":id","certificate"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"bf9a2e15-f96e-44a8-8501-5ee4f83352a5","description":{"content":"<p>(Required) The ID of the course</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"8f791c6f-91a6-4066-aa22-5168fc72cb56","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/courses/:id/certificate","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id","certificate"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"duration_type\": \"<string>\",\n    \"duration\": \"<integer>\",\n    \"expiration_day\": \"<integer>\",\n    \"expiration_month\": \"<integer>\",\n    \"reassign_when\": \"<string>\"\n  }\n}"},{"id":"6ddc83e6-48d8-4454-8543-4aa93d4ad000","name":"Course not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id/certificate","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id","certificate"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"713fbf33-783b-4bb5-8321-bcc9aea32812"},{"name":"Get course units","id":"33663d55-6b31-4ada-95a6-6ef4852f530b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/courses/:id/units","description":"<p>Returns a paginated list of units belonging to a course.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","courses",":id","units"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"96e024e7-c10a-4e16-92a7-e31f669b8623","description":{"content":"<p>(Required) The ID of the course</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"2871b443-c5e0-4245-8e22-f0289ddedc56","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/courses/:id/units","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id","units"],"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\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"type\": \"<string>\",\n      \"url\": \"<string>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"type\": \"<string>\",\n      \"url\": \"<string>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"992e3c86-c6d7-463f-b5a7-6a9ccda49036","name":"Course not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:id/units","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":id","units"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"33663d55-6b31-4ada-95a6-6ef4852f530b"},{"name":"Goto Course","id":"632586b2-878e-4fb4-b1fe-cf31e3e6404d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/courses/:course_id/users/:user_id/goto?2fa=<string>&logout_redirect=<string>&course_completed_redirect=<string>&header_hidden_options=<string>","description":"<p>Returns a platform-aware auto-login URL that grants the target user access to the course. Optionally accepts base64-encoded redirect URLs applied when the user logs out or completes the course.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","courses",":course_id","users",":user_id","goto"],"host":["https://your-domain.talentlms.com"],"query":[{"description":{"content":"<p>When set to <code>true</code>, returns the verified-access URL variant instead of a direct login URL</p>\n","type":"text/plain"},"key":"2fa","value":"<string>"},{"description":{"content":"<p>Base64-encoded URL the learner is redirected to on logout</p>\n","type":"text/plain"},"key":"logout_redirect","value":"<string>"},{"description":{"content":"<p>Base64-encoded URL the learner is redirected to on course completion</p>\n","type":"text/plain"},"key":"course_completed_redirect","value":"<string>"},{"description":{"content":"<p>Header elements to hide inside the course player</p>\n","type":"text/plain"},"key":"header_hidden_options","value":"<string>"}],"variable":[{"id":"03a67ec4-e20c-46e8-aeb8-d3e71db7389c","description":{"content":"<p>(Required) The ID of the course</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"course_id"},{"id":"5d680381-942f-424d-a1fc-6eb223d3e266","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"user_id"}]}},"response":[{"id":"ba3f040c-2564-476a-8afb-88befeeb3709","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/courses/:course_id/users/:user_id/goto?2fa=<string>&logout_redirect=<string>&course_completed_redirect=<string>&header_hidden_options=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":course_id","users",":user_id","goto"],"query":[{"description":"When set to `true`, returns the verified-access URL variant instead of a direct login URL","key":"2fa","value":"<string>"},{"description":"Base64-encoded URL the learner is redirected to on logout","key":"logout_redirect","value":"<string>"},{"description":"Base64-encoded URL the learner is redirected to on course completion","key":"course_completed_redirect","value":"<string>"},{"description":"Header elements to hide inside the course player","key":"header_hidden_options","value":"<string>"}],"variable":[{"key":"course_id"},{"key":"user_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"goto_url\": \"<string>\"\n  }\n}"},{"id":"489a690a-65fa-4a1e-b40b-1ec39dbc511e","name":"Invalid request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:course_id/users/:user_id/goto?2fa=<string>&logout_redirect=<string>&course_completed_redirect=<string>&header_hidden_options=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":course_id","users",":user_id","goto"],"query":[{"description":"When set to `true`, returns the verified-access URL variant instead of a direct login URL","key":"2fa","value":"<string>"},{"description":"Base64-encoded URL the learner is redirected to on logout","key":"logout_redirect","value":"<string>"},{"description":"Base64-encoded URL the learner is redirected to on course completion","key":"course_completed_redirect","value":"<string>"},{"description":"Header elements to hide inside the course player","key":"header_hidden_options","value":"<string>"}],"variable":[{"key":"course_id"},{"key":"user_id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"3dfc33ef-d95e-4a80-9324-d3eaf0015bdd","name":"The requested user is not enrolled in this course","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:course_id/users/:user_id/goto?2fa=<string>&logout_redirect=<string>&course_completed_redirect=<string>&header_hidden_options=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":course_id","users",":user_id","goto"],"query":[{"description":"When set to `true`, returns the verified-access URL variant instead of a direct login URL","key":"2fa","value":"<string>"},{"description":"Base64-encoded URL the learner is redirected to on logout","key":"logout_redirect","value":"<string>"},{"description":"Base64-encoded URL the learner is redirected to on course completion","key":"course_completed_redirect","value":"<string>"},{"description":"Header elements to hide inside the course player","key":"header_hidden_options","value":"<string>"}],"variable":[{"key":"course_id"},{"key":"user_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"5f519a1a-bd42-4a4c-a7c2-87566cbb8dbf","name":"The requested user or course is no longer available","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/courses/:course_id/users/:user_id/goto?2fa=<string>&logout_redirect=<string>&course_completed_redirect=<string>&header_hidden_options=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","courses",":course_id","users",":user_id","goto"],"query":[{"description":"When set to `true`, returns the verified-access URL variant instead of a direct login URL","key":"2fa","value":"<string>"},{"description":"Base64-encoded URL the learner is redirected to on logout","key":"logout_redirect","value":"<string>"},{"description":"Base64-encoded URL the learner is redirected to on course completion","key":"course_completed_redirect","value":"<string>"},{"description":"Header elements to hide inside the course player","key":"header_hidden_options","value":"<string>"}],"variable":[{"key":"course_id"},{"key":"user_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"632586b2-878e-4fb4-b1fe-cf31e3e6404d"}],"id":"0411dd41-896a-42cb-99a4-90fe49441a48","_postman_id":"0411dd41-896a-42cb-99a4-90fe49441a48","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}}},{"name":"Portal","item":[{"name":"Get portal's statistics","id":"cfa0210b-37c2-422b-9af5-66488004540d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/statistics","description":"<h3 id=\"get-portals-statistics\">Get portal's statistics</h3>\n<p>Retrieve platform-wide statistics, such as total users, courses, categories, groups, branches, and configuration details, by sending an authenticated GET request to this endpoint and receiving a report as a JSON object.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","statistics"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"19d49a22-118f-4149-aac6-999b0d7e7c28","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/statistics"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"total_users\": \"<integer>\",\n    \"total_courses\": \"<integer>\",\n    \"total_categories\": \"<integer>\",\n    \"total_groups\": \"<integer>\",\n    \"total_branches\": \"<integer>\",\n    \"monthly_active_users\": \"<integer>\",\n    \"signup_method\": \"<string>\",\n    \"signup_type\": \"<string>\",\n    \"verification\": \"<string>\",\n    \"paypal_email\": \"<string>\",\n    \"domain_map\": \"<boolean>\",\n    \"date_format\": \"<string>\",\n    \"branch_limit\": \"<integer>\"\n  }\n}"}],"_postman_id":"cfa0210b-37c2-422b-9af5-66488004540d"},{"name":"Health check","id":"019f03ad-bfe3-42c4-ad21-c268620874f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://your-domain.talentlms.com/api/v2/health","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","health"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"f3a39758-9a2e-44ae-8ec0-226a7ea6859a","name":"OK","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":"https://your-domain.talentlms.com/api/v2/health"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"019f03ad-bfe3-42c4-ad21-c268620874f1"}],"id":"3d3f2d07-7f38-45e8-9955-b0fa2951f901","_postman_id":"3d3f2d07-7f38-45e8-9955-b0fa2951f901","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}}},{"name":"Timeline","item":[{"name":"Get timeline","id":"27a02dfc-3a34-49da-9dc4-c6d7fb343328","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/timeline?filter[event_type][eq]=<string>&filter[created_from][gte]=<dateTime>&filter[created_to][lte]=<dateTime>&filter[user_id][eq]=<integer>&filter[course_id][eq]=<integer>&filter[branch_id][eq]=<integer>&filter[group_id][eq]=<integer>&filter[unit_id][eq]=<integer>&page[number]=<integer>&page[size]=<integer>","description":"<p>Returns a paginated list of platform events and user activities, newest first. Supports filtering by event type, date range, user, course, branch, group and unit.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","timeline"],"host":["https://your-domain.talentlms.com"],"query":[{"description":{"content":"<p>Filter by event type, e.g. <code>unitprogress_test_completion</code>, <code>user_login_user</code>, <code>course_completion</code>, <code>tincan_statement</code></p>\n","type":"text/plain"},"key":"filter[event_type][eq]","value":"<string>"},{"description":{"content":"<p>Entries logged on or after this date (ISO 8601). Also accepts <code>eq</code>, <code>gt</code>, <code>lt</code>, <code>lte</code>.</p>\n","type":"text/plain"},"key":"filter[created_from][gte]","value":"<dateTime>"},{"description":{"content":"<p>Entries logged on or before this date (ISO 8601). Also accepts <code>eq</code>, <code>gt</code>, <code>gte</code>, <code>lt</code>.</p>\n","type":"text/plain"},"key":"filter[created_to][lte]","value":"<dateTime>"},{"description":{"content":"<p>Entries of a specific user</p>\n","type":"text/plain"},"key":"filter[user_id][eq]","value":"<integer>"},{"description":{"content":"<p>Entries of a specific course; ignored for <code>user_login_user</code> and <code>learning_path_completion</code></p>\n","type":"text/plain"},"key":"filter[course_id][eq]","value":"<integer>"},{"description":{"content":"<p>Branch events of a specific branch</p>\n","type":"text/plain"},"key":"filter[branch_id][eq]","value":"<integer>"},{"description":{"content":"<p>Group events of a specific group</p>\n","type":"text/plain"},"key":"filter[group_id][eq]","value":"<integer>"},{"description":{"content":"<p>Unit events of a specific unit</p>\n","type":"text/plain"},"key":"filter[unit_id][eq]","value":"<integer>"},{"description":{"content":"<p>The page number</p>\n","type":"text/plain"},"key":"page[number]","value":"<integer>"},{"description":{"content":"<p>The page size</p>\n","type":"text/plain"},"key":"page[size]","value":"<integer>"}],"variable":[]}},"response":[{"id":"6c8bdcb7-52ff-41f9-b4d7-d4be7fa51db9","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/timeline?filter[event_type][eq]=<string>&filter[created_from][gte]=<dateTime>&filter[created_to][lte]=<dateTime>&filter[user_id][eq]=<integer>&filter[course_id][eq]=<integer>&filter[branch_id][eq]=<integer>&filter[group_id][eq]=<integer>&filter[unit_id][eq]=<integer>&page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","timeline"],"query":[{"description":"Filter by event type, e.g. `unitprogress_test_completion`, `user_login_user`, `course_completion`, `tincan_statement`","key":"filter[event_type][eq]","value":"<string>"},{"description":"Entries logged on or after this date (ISO 8601). Also accepts `eq`, `gt`, `lt`, `lte`.","key":"filter[created_from][gte]","value":"<dateTime>"},{"description":"Entries logged on or before this date (ISO 8601). Also accepts `eq`, `gt`, `gte`, `lt`.","key":"filter[created_to][lte]","value":"<dateTime>"},{"description":"Entries of a specific user","key":"filter[user_id][eq]","value":"<integer>"},{"description":"Entries of a specific course; ignored for `user_login_user` and `learning_path_completion`","key":"filter[course_id][eq]","value":"<integer>"},{"description":"Branch events of a specific branch","key":"filter[branch_id][eq]","value":"<integer>"},{"description":"Group events of a specific group","key":"filter[group_id][eq]","value":"<integer>"},{"description":"Unit events of a specific unit","key":"filter[unit_id][eq]","value":"<integer>"},{"description":"The page number","key":"page[number]","value":"<integer>"},{"description":"The page size","key":"page[size]","value":"<integer>"}]}},"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\": \"<integer>\",\n      \"event_type\": \"<string>\",\n      \"created_at\": \"<dateTime>\",\n      \"occurrences\": \"<integer>\",\n      \"extra\": {\n        \"user\": {\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\",\n          \"surname\": \"<string>\",\n          \"login\": \"<string>\",\n          \"email\": \"<string>\"\n        },\n        \"group\": {\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\"\n        },\n        \"course\": {\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\",\n          \"code\": \"<string>\"\n        },\n        \"branch\": {\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\"\n        },\n        \"unit\": {\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\"\n        },\n        \"actor\": {\n          \"type\": \"notification\",\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\"\n        },\n        \"object\": {\n          \"type\": \"learning_path\",\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\"\n        },\n        \"secondary_object\": {\n          \"type\": \"user\",\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\"\n        },\n        \"user_name\": \"<string>\",\n        \"score\": \"<number>\"\n      }\n    },\n    {\n      \"id\": \"<string>\",\n      \"user_id\": \"<integer>\",\n      \"event_type\": \"<string>\",\n      \"created_at\": \"<dateTime>\",\n      \"occurrences\": \"<integer>\",\n      \"extra\": {\n        \"user\": {\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\",\n          \"surname\": \"<string>\",\n          \"login\": \"<string>\",\n          \"email\": \"<string>\"\n        },\n        \"group\": {\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\"\n        },\n        \"course\": {\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\",\n          \"code\": \"<string>\"\n        },\n        \"branch\": {\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\"\n        },\n        \"unit\": {\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\"\n        },\n        \"actor\": {\n          \"type\": \"group\",\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\"\n        },\n        \"object\": {\n          \"type\": \"group\",\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\"\n        },\n        \"secondary_object\": {\n          \"type\": \"user\",\n          \"id\": \"<integer>\",\n          \"name\": \"<string>\"\n        },\n        \"user_name\": \"<string>\",\n        \"score\": \"<number>\"\n      }\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    },\n    \"filtered_by\": {\n      \"minim1c9\": {},\n      \"mollit_8cf\": {},\n      \"proident_2f4\": {}\n    }\n  }\n}"},{"id":"f1e1494e-005c-4347-8a7a-0f9f21a673b7","name":"Invalid filter value","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/timeline?filter[event_type][eq]=<string>&filter[created_from][gte]=<dateTime>&filter[created_to][lte]=<dateTime>&filter[user_id][eq]=<integer>&filter[course_id][eq]=<integer>&filter[branch_id][eq]=<integer>&filter[group_id][eq]=<integer>&filter[unit_id][eq]=<integer>&page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","timeline"],"query":[{"description":"Filter by event type, e.g. `unitprogress_test_completion`, `user_login_user`, `course_completion`, `tincan_statement`","key":"filter[event_type][eq]","value":"<string>"},{"description":"Entries logged on or after this date (ISO 8601). Also accepts `eq`, `gt`, `lt`, `lte`.","key":"filter[created_from][gte]","value":"<dateTime>"},{"description":"Entries logged on or before this date (ISO 8601). Also accepts `eq`, `gt`, `gte`, `lt`.","key":"filter[created_to][lte]","value":"<dateTime>"},{"description":"Entries of a specific user","key":"filter[user_id][eq]","value":"<integer>"},{"description":"Entries of a specific course; ignored for `user_login_user` and `learning_path_completion`","key":"filter[course_id][eq]","value":"<integer>"},{"description":"Branch events of a specific branch","key":"filter[branch_id][eq]","value":"<integer>"},{"description":"Group events of a specific group","key":"filter[group_id][eq]","value":"<integer>"},{"description":"Unit events of a specific unit","key":"filter[unit_id][eq]","value":"<integer>"},{"description":"The page number","key":"page[number]","value":"<integer>"},{"description":"The page size","key":"page[size]","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"bb9ba8aa-741e-495e-92b5-3f158b1d7604","name":"The portal owner's user type cannot view the timeline","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/timeline?filter[event_type][eq]=<string>&filter[created_from][gte]=<dateTime>&filter[created_to][lte]=<dateTime>&filter[user_id][eq]=<integer>&filter[course_id][eq]=<integer>&filter[branch_id][eq]=<integer>&filter[group_id][eq]=<integer>&filter[unit_id][eq]=<integer>&page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","timeline"],"query":[{"description":"Filter by event type, e.g. `unitprogress_test_completion`, `user_login_user`, `course_completion`, `tincan_statement`","key":"filter[event_type][eq]","value":"<string>"},{"description":"Entries logged on or after this date (ISO 8601). Also accepts `eq`, `gt`, `lt`, `lte`.","key":"filter[created_from][gte]","value":"<dateTime>"},{"description":"Entries logged on or before this date (ISO 8601). Also accepts `eq`, `gt`, `gte`, `lt`.","key":"filter[created_to][lte]","value":"<dateTime>"},{"description":"Entries of a specific user","key":"filter[user_id][eq]","value":"<integer>"},{"description":"Entries of a specific course; ignored for `user_login_user` and `learning_path_completion`","key":"filter[course_id][eq]","value":"<integer>"},{"description":"Branch events of a specific branch","key":"filter[branch_id][eq]","value":"<integer>"},{"description":"Group events of a specific group","key":"filter[group_id][eq]","value":"<integer>"},{"description":"Unit events of a specific unit","key":"filter[unit_id][eq]","value":"<integer>"},{"description":"The page number","key":"page[number]","value":"<integer>"},{"description":"The page size","key":"page[size]","value":"<integer>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"27a02dfc-3a34-49da-9dc4-c6d7fb343328"}],"id":"dc09e3fd-0333-4d4b-b466-493222fb0c6c","_postman_id":"dc09e3fd-0333-4d4b-b466-493222fb0c6c","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}}},{"name":"Group","item":[{"name":"List all groups","id":"2b9be3f5-cd72-4969-b303-6c581bda9118","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/groups","description":"<h3 id=\"list-all-groups\">List all groups</h3>\n<p>Retrieves a paginated list of all groups in your TalentLMS account. Upon a successful request, the API returns a JSON response containing group objects, including their associated metadata and configuration details. Results are delivered in a paginated format to ensure efficient handling of large datasets.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","groups"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"afdc6314-4984-4637-b0fe-353b582b8c95","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/groups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": [\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\",\n      \"key_redemptions\": {\n        \"max\": \"<integer>\",\n        \"used\": \"<integer>\"\n      },\n      \"branch\": {\n        \"laborum_c0\": \"non elit enim\"\n      },\n      \"price\": {\n        \"amount\": \"<float>\",\n        \"currency\": \"<string>\"\n      }\n    },\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"description\": \"<string>\",\n      \"key_redemptions\": {\n        \"max\": \"<integer>\",\n        \"used\": \"<integer>\"\n      },\n      \"branch\": {\n        \"laboruma8\": true\n      },\n      \"price\": {\n        \"amount\": \"<float>\",\n        \"currency\": \"<string>\"\n      }\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"f4b1240a-bad2-4749-bbae-adfb6450561b","name":"Insufficient permissions to list groups","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":"https://your-domain.talentlms.com/api/v2/groups"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2b9be3f5-cd72-4969-b303-6c581bda9118"},{"name":"Create a group","id":"bd6c31b6-f6e7-46f8-9066-991f0f3b3805","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"key\": \"<string>\",\n  \"max_key_redemptions\": \"<integer>\",\n  \"price\": \"<float>\",\n  \"auto_sync\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/groups","description":"<h3 id=\"create-a-group\">Create a group</h3>\n<p>Creates a new group in your TalentLMS account. To successfully create a group, provide the required group attributes in the request body. If the request is valid, the API creates the group and returns the newly created group object, including its unique ID.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","groups"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"af794361-922d-4a0c-88c6-eb97a492d3e2","name":"Group 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  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"key\": \"<string>\",\n  \"max_key_redemptions\": \"<integer>\",\n  \"price\": \"<float>\",\n  \"auto_sync\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/groups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"branch\": {\n      \"dolore_ede\": -93609820\n    },\n    \"key\": \"<string>\",\n    \"max_key_redemptions\": \"<integer>\",\n    \"price\": {\n      \"amount\": \"<float>\",\n      \"currency\": \"<string>\"\n    }\n  }\n}"},{"id":"17ad8dea-95ea-4905-b5fd-383b27273d69","name":"Invalid request body","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  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"key\": \"<string>\",\n  \"max_key_redemptions\": \"<integer>\",\n  \"price\": \"<float>\",\n  \"auto_sync\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/groups"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"592cc6ad-ea9d-4c12-a358-54697cf6a554","name":"Insufficient permissions to create a group","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  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"key\": \"<string>\",\n  \"max_key_redemptions\": \"<integer>\",\n  \"price\": \"<float>\",\n  \"auto_sync\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/groups"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"d50deca8-65c0-4b7c-a89e-235131072056","name":"Authenticated user not found","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  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"key\": \"<string>\",\n  \"max_key_redemptions\": \"<integer>\",\n  \"price\": \"<float>\",\n  \"auto_sync\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/groups"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"bd6c31b6-f6e7-46f8-9066-991f0f3b3805"},{"name":"Get a group","id":"ba5509e9-5ed8-464d-bddd-c033689a5b73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/groups/:id","description":"<p>Returns a single group by id.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","groups",":id"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"b2e21337-7420-457e-b609-6db64ebd745d","description":{"content":"<p>(Required) The ID of the group</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"4b5112aa-b1f1-4ddc-b242-23bfcc4fefc2","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/groups/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"branch\": {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"url\": \"<string>\",\n      \"disallow_access_to_main_domain\": \"<boolean>\"\n    },\n    \"key\": \"<string>\",\n    \"max_key_redemptions\": \"<integer>\",\n    \"price\": {\n      \"amount\": \"<float>\",\n      \"currency\": \"<string>\"\n    },\n    \"redemptions_sofar\": \"<integer>\"\n  }\n}"},{"id":"619cccc8-ab65-4050-8324-13bc48761746","name":"Invalid group id","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/groups/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"133233ae-f833-41a7-a750-0af27201a298","name":"Group not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/groups/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"ba5509e9-5ed8-464d-bddd-c033689a5b73"},{"name":"Delete a group","id":"cc0d728c-da0a-4759-8ed4-d86f61247cbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://your-domain.talentlms.com/api/v2/groups/:id","description":"<h3 id=\"delete-a-group\">Delete a group</h3>\n<p>Permanently deletes a specific group from your TalentLMS account. To successfully remove a group, include the group’s unique ID as a path parameter in the request URL. If the request is valid and the group exists, the API deletes the group and returns a <strong>204 No Content</strong> response upon success.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","groups",":id"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"d984ecc6-c2c1-45eb-864a-87cbe079283b","description":{"content":"<p>(Required) The ID of the group</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"f6b8ee9a-32d1-478a-9d0d-892fab1186eb","name":"Group deleted successfully","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/groups/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":id"],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"0fa10591-306a-4195-8898-97625561b3af","name":"Invalid group ID","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/groups/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"f0d6f254-2297-41bd-aa42-29cda800f0d3","name":"Insufficient permissions to delete the group","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/groups/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"d4063914-22ae-4f75-8619-079ed0092b25","name":"Group not found","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/groups/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"cc0d728c-da0a-4759-8ed4-d86f61247cbc"},{"name":"Add a user to a group","id":"02ebb5f1-1e7c-438a-b566-8cf4ea1f7d8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"group_id\": \"<integer>\",\n  \"user_id\": \"<integer>\",\n  \"enroll_to_courses\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-memberships","description":"<p>Adds a user to a group. Set enroll_to_courses to true to synchronously enroll the user in the group's active courses regardless of the group's auto-enroll setting. When false or omitted, the endpoint does not force course enrollment and the group's normal auto-enroll behavior remains in effect.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","group-memberships"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"1865377a-d477-4b2a-9729-5c04112f623d","name":"Group membership created","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  \"group_id\": \"<integer>\",\n  \"user_id\": \"<integer>\",\n  \"enroll_to_courses\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-memberships"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"a80cdd09-511b-4078-b1f1-1a399c7fb13b","name":"Invalid request. Returned when the JSON body is empty or malformed; user_id or group_id is missing, not an integer, or not positive; enroll_to_courses is not a boolean; or the group membership cannot be created, including when the user already belongs to ","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  \"group_id\": \"<integer>\",\n  \"user_id\": \"<integer>\",\n  \"enroll_to_courses\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-memberships"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"ca9a10d1-227e-42fb-b480-5a0fe97e5767","name":"Unauthorized. Returned when Public API access is disabled or the API key is missing or invalid.","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  \"group_id\": \"<integer>\",\n  \"user_id\": \"<integer>\",\n  \"enroll_to_courses\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-memberships"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"6106f691-4aa3-47c2-86a9-5b90fbab26ae","name":"Not found. Returned when the requested group or user does not exist.","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  \"group_id\": \"<integer>\",\n  \"user_id\": \"<integer>\",\n  \"enroll_to_courses\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-memberships"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"02ebb5f1-1e7c-438a-b566-8cf4ea1f7d8d"},{"name":"Remove user from a group","id":"08820a39-2c20-48a5-a23f-e7c1e8b3fcd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"<integer>\",\n  \"group_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-memberships","description":"<p>Removes a user from a specific group. To delete a group membership, provide the user's unique ID using the user_id attribute and the group's unique ID using the group_id attribute. If the request is valid and the membership exists, the API removes the user from the specified group and returns a 204 No Content response upon success.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","group-memberships"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"4d43ce50-934e-4f44-992b-ca78e5659da6","name":"User successfully removed from the group","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"group_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-memberships"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"cf75a53a-352a-4d6d-af58-b7b64f9d63db","name":"Invalid or missing request body fields","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"group_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-memberships"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"8d5a8ee0-c02a-426d-b882-40af4ed8f182","name":"Insufficient permissions to remove this user from the group","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"group_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-memberships"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"ef203739-7034-43be-ac1b-bca66f003d35","name":"User or group not found","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"group_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-memberships"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"91463785-16e9-4f5f-b20f-823d75312ebe","name":"User is not a member of the group","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"group_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-memberships"},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"08820a39-2c20-48a5-a23f-e7c1e8b3fcd5"},{"name":"Add a course to a group","id":"ec330df4-cee2-42cf-8690-cda53b45d947","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"group_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-courses","description":"<h3 id=\"add-a-course-to-a-group\">Add a course to a group</h3>\n<p>Associates a course with a specific group. To assign a course to a group, provide the course’s unique ID using the course_id attribute and the group’s unique ID using the group_id attribute in the request body. If the request is valid and both the course and group exist, the API creates the association and returns the corresponding group-course relationship details.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","group-courses"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"7e3df0bb-b09d-4bf1-b852-cf6b713c69d3","name":"Course added to group","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  \"group_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-courses"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"7fa3e650-23d3-4772-ab94-e8125d3b5b99","name":"Invalid request body","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  \"group_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-courses"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"dae9556e-0145-454f-b291-fb3cb8eb1adc","name":"Group or course not found","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  \"group_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-courses"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"bdf3602e-f62e-4da4-a376-3fc04a21b6d9","name":"Course archived/unavailable or already in the group","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  \"group_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-courses"},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"ec330df4-cee2-42cf-8690-cda53b45d947"},{"name":"Remove course from group","id":"a1f34b88-4c13-4674-90d0-b8c26c81e6ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"group_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-courses","description":"<p>Removes a course from a specific group. To successfully remove a course from a group, provide the group's unique ID using the group_id attribute and the course's unique ID using the course_id attribute in the request body. If the request is valid and the association exists, the API deletes the group-course relationship and returns a 204 No Content response upon success.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","group-courses"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"e3b0bc68-50e1-4276-8257-a3e481bf99a5","name":"Course successfully removed from the group","originalRequest":{"method":"DELETE","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  \"group_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-courses"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"11e18557-dd40-44fc-b437-6adcbab8ffea","name":"Invalid or missing request body fields","originalRequest":{"method":"DELETE","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  \"group_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-courses"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"c2e7464a-e8be-431f-98d3-9d67fec10094","name":"Insufficient permissions to remove this course from the group","originalRequest":{"method":"DELETE","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  \"group_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-courses"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"0d41ff1b-7b93-45e2-80bd-3197bddfb33a","name":"Group or course not found","originalRequest":{"method":"DELETE","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  \"group_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-courses"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"d515382b-fb0a-440f-8d20-55162d60ad82","name":"Course is not assigned to this group, or is part of a learning path assigned to the group","originalRequest":{"method":"DELETE","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  \"group_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/group-courses"},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a1f34b88-4c13-4674-90d0-b8c26c81e6ce"},{"name":"Get group courses","id":"3c4dc72f-be23-497c-989b-0248cab1e0bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/groups/:id/courses","description":"<p>Returns a paginated list of courses assigned to a group.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","groups",":id","courses"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"96f7b766-0c9e-4366-909f-4738f93e4a24","description":{"content":"<p>(Required) The ID of the group</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"fca5b03e-3cff-48e0-b52c-6e2bcce910fc","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/groups/:id/courses","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":id","courses"],"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\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"code\": \"<string>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"code\": \"<string>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"b276954f-4aac-403c-b6d9-d132f0820976","name":"Group not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/groups/:id/courses","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":id","courses"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"3c4dc72f-be23-497c-989b-0248cab1e0bd"},{"name":"Remove user from group","id":"75036749-56d7-49e6-b171-412c375f6246","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"group_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/groups/:group_id/users/:user_id","description":"<p>Removes a user from a group. Provide the group and user IDs both in the URL path and in the JSON request body.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","groups",":group_id","users",":user_id"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"42900f09-98da-4dfd-9860-fc7105367cd2","description":{"content":"<p>(Required) The ID of the group</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"group_id"},{"id":"d3244f1e-e82e-4077-a312-a2fd2603f429","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"user_id"}]}},"response":[{"id":"855c5328-4508-4220-b95a-37a409a63694","name":"User removed from group successfully","originalRequest":{"method":"DELETE","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  \"group_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/groups/:group_id/users/:user_id","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":group_id","users",":user_id"],"variable":[{"key":"group_id"},{"key":"user_id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"7958e4c5-0188-42c6-964a-2c19f5c658ff","name":"Invalid or missing request body fields","originalRequest":{"method":"DELETE","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  \"group_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/groups/:group_id/users/:user_id","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":group_id","users",":user_id"],"variable":[{"key":"group_id"},{"key":"user_id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"ea72a011-c4a5-4fd8-824c-0cc3d9968dd0","name":"Insufficient permissions to remove this user from the group","originalRequest":{"method":"DELETE","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  \"group_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/groups/:group_id/users/:user_id","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":group_id","users",":user_id"],"variable":[{"key":"group_id"},{"key":"user_id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"31f2b1ed-1fde-44cc-b476-7bb19a7140f2","name":"Group or user not found","originalRequest":{"method":"DELETE","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  \"group_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/groups/:group_id/users/:user_id","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":group_id","users",":user_id"],"variable":[{"key":"group_id"},{"key":"user_id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"0caca676-9bcb-4c29-a448-4bf0acbd7d5c","name":"User is not a member of the group, or authenticated user could not be resolved","originalRequest":{"method":"DELETE","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  \"group_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/groups/:group_id/users/:user_id","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":group_id","users",":user_id"],"variable":[{"key":"group_id"},{"key":"user_id"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"75036749-56d7-49e6-b171-412c375f6246"},{"name":"Get group users","id":"49362cd0-1e38-4c79-82fa-51afc9259faa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/groups/:id/users","description":"<p>Returns a paginated list of users belonging to a group.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","groups",":id","users"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"38750cfd-edab-4dee-9107-79c7fe9bd042","description":{"content":"<p>(Required) The ID of the group</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"a43b2192-255e-4227-a5ff-74f56acf1b71","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/groups/:id/users","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":id","users"],"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\": \"<integer>\",\n      \"login\": \"<string>\",\n      \"name\": \"<string>\",\n      \"surname\": \"<string>\",\n      \"email\": \"<string>\",\n      \"avatar\": {\n        \"default\": \"<string>\",\n        \"sm\": \"<string>\",\n        \"md\": \"<string>\",\n        \"lg\": \"<string>\",\n        \"xl\": \"<string>\"\n      },\n      \"timezone\": \"<string>\",\n      \"language\": \"<string>\",\n      \"type\": \"<string>\",\n      \"registration\": \"<dateTime>\",\n      \"last_login\": \"<dateTime>\",\n      \"status\": \"<string>\",\n      \"last_updated\": \"<dateTime>\",\n      \"integration_user_id\": \"<string>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"login\": \"<string>\",\n      \"name\": \"<string>\",\n      \"surname\": \"<string>\",\n      \"email\": \"<string>\",\n      \"avatar\": {\n        \"default\": \"<string>\",\n        \"sm\": \"<string>\",\n        \"md\": \"<string>\",\n        \"lg\": \"<string>\",\n        \"xl\": \"<string>\"\n      },\n      \"timezone\": \"<string>\",\n      \"language\": \"<string>\",\n      \"type\": \"<string>\",\n      \"registration\": \"<dateTime>\",\n      \"last_login\": \"<dateTime>\",\n      \"status\": \"<string>\",\n      \"last_updated\": \"<dateTime>\",\n      \"integration_user_id\": \"<string>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"cda2ed99-8967-422b-890d-cb1d918ce678","name":"Invalid group id","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/groups/:id/users","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":id","users"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"e2d70748-3dbb-4ec9-92c8-b83c94024fa3","name":"Group not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/groups/:id/users","host":["https://your-domain.talentlms.com"],"path":["api","v2","groups",":id","users"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"49362cd0-1e38-4c79-82fa-51afc9259faa"}],"id":"c3164809-9452-4f8d-b898-ab03c652420a","_postman_id":"c3164809-9452-4f8d-b898-ab03c652420a","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}}},{"name":"Branch","item":[{"name":"List all branches","id":"adf1a547-c6a2-41f0-ad82-729621975b9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/branches","description":"<h3 id=\"list-all-branches\">List all branches</h3>\n<p>Retrieves a paginated list of all branches in your TalentLMS account. Upon a successful request, the API returns a JSON response containing branch objects, including their associated metadata and configuration details. Results are delivered in a paginated format to ensure efficient handling of large datasets.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","branches"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"17162c1e-8074-4ee2-af1f-fcb7b533bc71","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/branches"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": [\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"url\": \"<string>\",\n      \"description\": \"<string>\",\n      \"active\": \"<boolean>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"url\": \"<string>\",\n      \"description\": \"<string>\",\n      \"active\": \"<boolean>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"f04f5a82-ad3f-43ec-a780-ac39ac0287ed","name":"Insufficient permissions, or listing branches from a branch context","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":"https://your-domain.talentlms.com/api/v2/branches"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"adf1a547-c6a2-41f0-ad82-729621975b9d"},{"name":"Create a branch","id":"8077683e-244b-4b65-a5dd-1c9f9ca5305a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"default_locale\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branches","description":"<h3 id=\"create-a-branch\">Create a branch</h3>\n<p>Creates a new branch in your TalentLMS account. To successfully create a branch, provide the required branch attributes in the request body as a JSON object. If the request is valid, the API creates the branch and returns the newly created branch details, including its unique identifier.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","branches"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"405e6c7a-6079-41d8-8a5b-70dc41b7b44f","name":"Branch 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  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"default_locale\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branches"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"description\": \"<string>\",\n    \"active\": \"<boolean>\",\n    \"disallow_access_to_main_domain\": \"<boolean>\",\n    \"default_user_type\": {\n      \"ex_9\": 66286383.00263822,\n      \"tempor_2\": 25297467\n    },\n    \"default_group\": {\n      \"aliquip_a3\": -76544716\n    },\n    \"restrict_user_registration_domains\": \"<string>\",\n    \"restrict_total_registered_users\": \"<integer>\",\n    \"default_locale\": \"<string>\",\n    \"default_timezone\": \"<string>\",\n    \"signup\": \"<string>\",\n    \"user_verification\": \"<string>\",\n    \"ecommerce\": {\n      \"eu_f53\": 31428194.526749566\n    },\n    \"announcement_internal\": {\n      \"suntdb\": \"ut cillum sed commodo nulla\",\n      \"consecteture9\": 98572366,\n      \"occaecata\": \"nostrud adipisicing\",\n      \"in_ce\": 3336122\n    },\n    \"announcement_external\": {\n      \"velitfa7\": -4684266.705542117\n    },\n    \"owner_id\": \"<integer>\"\n  }\n}"},{"id":"423cda49-9dc5-4975-825e-2f6af4a05c68","name":"Invalid request body","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  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"default_locale\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branches"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"36e1dbf9-d6a7-4d92-a45a-1bf73b88b0a7","name":"Insufficient permissions or plan branch limit reached","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  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"default_locale\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branches"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"ba750b81-f471-4b10-a16c-02406e7360df","name":"Could not resolve current user","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  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"default_locale\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branches"},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"8077683e-244b-4b65-a5dd-1c9f9ca5305a"},{"name":"Get a branch","id":"179e2a81-8886-42b5-a51f-fec73fe9bdd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/branches/:id","description":"<h3 id=\"get-a-branch\">Get a branch</h3>\n<p>Retrieves the full details of a specific branch. To successfully fetch a branch, include the branch’s unique ID as a path parameter in the request URL. If the request is valid and the branch exists, the API returns detailed information about the branch, including its configuration settings and metadata.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","branches",":id"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"a36c2213-a7c5-4784-b738-52f74a1e1766","description":{"content":"<p>(Required) The ID of the branch</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"8542b7ff-5b5e-4459-9c03-27b6b8c242c4","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/branches/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"url\": \"<string>\",\n    \"title\": \"<string>\",\n    \"description\": \"<string>\",\n    \"theme\": {\n      \"culpa_9c7\": 32894273.46109897,\n      \"eu_c\": \"Ut occaecat sed\"\n    },\n    \"logo\": {\n      \"dolorb0\": 72121197,\n      \"velit236\": true\n    },\n    \"favicon\": \"<string>\",\n    \"active\": \"<boolean>\",\n    \"default_locale\": \"<string>\",\n    \"default_timezone\": \"<string>\",\n    \"announcement_internal\": {\n      \"ipsum6e\": \"in ut sed quis sun\"\n    },\n    \"announcement_external\": {\n      \"voluptate77f\": true,\n      \"sed_514\": 66963769.24720287,\n      \"ipsum222\": \"ullamco\",\n      \"deserunte8_\": true\n    },\n    \"default_user_type\": {\n      \"aliquip42b\": \"qui velit voluptate cillum\",\n      \"amet_e6\": \"incididunt reprehenderit\",\n      \"deserunt_97_\": 68567615,\n      \"quie5\": -29016108.308493614\n    },\n    \"default_group\": {\n      \"laborum_3\": 12213173\n    },\n    \"signup\": \"<string>\",\n    \"user_verification\": \"<string>\",\n    \"restrict_user_registration_domains\": \"<string>\",\n    \"restrict_total_registered_users\": \"<integer>\",\n    \"disallow_access_to_main_domain\": \"<boolean>\",\n    \"terms_of_service\": {\n      \"aliquip_0d\": 85305447.12718725,\n      \"aliquip_1d\": true,\n      \"cupidatat_0\": 95876280\n    },\n    \"badge_set\": {\n      \"adipisicing_79\": false\n    },\n    \"ecommerce\": {\n      \"Lorem_d79\": 61323000.911400735\n    }\n  }\n}"},{"id":"793d614a-e484-4286-b939-359671a0145f","name":"Invalid branch ID","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"080d5dc4-a4c7-4d66-af4a-1a52794496ac","name":"Insufficient permissions to view the branch","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"a03dda0d-412a-4170-a89f-5a0a65bdecfc","name":"Branch not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"179e2a81-8886-42b5-a51f-fec73fe9bdd2"},{"name":"Delete a branch","id":"f67bbb40-70a6-479e-abea-cf13cc676356","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://your-domain.talentlms.com/api/v2/branches/:id","description":"<h3 id=\"delete-a-branch\">Delete a branch</h3>\n<p>Permanently deletes a specific branch from your TalentLMS account. To successfully remove a branch, include the branch’s unique ID as a path parameter in the request URL. If the request is valid and the branch exists, the API deletes the branch and returns a <strong>204 No Content</strong> response upon success.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","branches",":id"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"19fcc470-5bcf-446f-b5a5-fe54ccfa2d99","description":{"content":"<p>(Required) The ID of the branch</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"64b769cd-6c70-4156-b749-4a81b07d9dd0","name":"Branch deleted successfully","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id"],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"3697b56f-4f67-4d95-9f43-1e27a207cd26","name":"Invalid branch ID","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"a95d1724-b089-422c-bc2b-550307e97378","name":"Insufficient permissions to delete the branch","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"fac251dc-71da-43fc-9766-2a6db96cfa04","name":"Branch not found","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"4b9a5e70-8104-4702-bf93-cec0dfa3a2eb","name":"Could not resolve current user","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id"],"variable":[{"key":"id"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f67bbb40-70a6-479e-abea-cf13cc676356"},{"name":"Add user to branch","id":"a737fb32-6b97-4cf7-a9b4-fc35d7ae09c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"branch_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-users","description":"<h3 id=\"add-a-user-to-a-branch\">Add a user to a branch</h3>\n<p>Associates a user with a specific branch. To successfully add a user to a branch, provide the branch’s unique ID using the branch_id attribute and the user’s unique ID using the user_id attribute in the request body. If the request is valid and both the user and branch exist, the API creates the association and returns the corresponding branch-user relationship details.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","branch-users"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"2b1a66ed-8761-4f20-8213-c77a31eb92af","name":"User added to branch","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  \"branch_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-users"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"3f719f92-15eb-43ee-a9c6-bfe45bd1b5c3","name":"Invalid request body","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  \"branch_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-users"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"f31fe9b6-eba5-48a1-ba37-f34b7455fc21","name":"Insufficient permissions or branch user limit reached","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  \"branch_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-users"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"68b47bc2-e902-4103-b088-636cf29cf55f","name":"Branch or user not found","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  \"branch_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-users"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"8a36fd40-3b6e-4a8f-9762-0e73c454b045","name":"User already in branch or archived","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  \"branch_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-users"},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a737fb32-6b97-4cf7-a9b4-fc35d7ae09c2"},{"name":"Remove user from branch","id":"6d19929e-cc8c-40e5-8524-2d0a7ab18127","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"branch_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-users","description":"<p>Removes a user from a specific branch. To successfully remove a user from a branch, provide the branch's unique ID using the branch_id attribute and the user's unique ID using the user_id attribute. If the request is valid and the association exists, the API deletes the branch-user relationship and returns a 204 No Content response upon success.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","branch-users"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"4540f553-e759-4336-a1e7-32edee449569","name":"User successfully removed from the branch","originalRequest":{"method":"DELETE","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  \"branch_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-users"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"83ed7469-e730-439a-8a7e-f6294c832cc1","name":"Invalid or missing request body fields","originalRequest":{"method":"DELETE","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  \"branch_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-users"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"5a498b15-20f6-42ad-8650-00a32f9139ad","name":"User or branch not found","originalRequest":{"method":"DELETE","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  \"branch_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-users"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"e2d077d0-1074-47bb-bc23-e4e747b1675c","name":"User is not a member of this branch or is no longer available","originalRequest":{"method":"DELETE","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  \"branch_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-users"},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"6d19929e-cc8c-40e5-8524-2d0a7ab18127"},{"name":"Add course to branch","id":"db287b83-e911-4592-8d2f-fcc181b53b46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"branch_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-courses","description":"<h3 id=\"add-course-to-branch\">Add course to branch</h3>\n<p>Associates a course with a specific branch. To successfully assign a course to a branch, provide the course’s unique ID using the course_id attribute and the branch’s unique ID using the branch_id attribute in the request body. If the request is valid and both the course and branch exist, the API creates the association and returns the corresponding branch-course relationship details.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","branch-courses"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"c06646d7-8170-42fd-a16a-31bb47596d45","name":"Course added to branch","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  \"branch_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-courses"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"116ea6d3-7617-4a70-92b0-816b9c5ad15d","name":"Invalid request body","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  \"branch_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-courses"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"75bb4142-628b-48d4-a6b3-d0183821399a","name":"Insufficient permissions","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  \"branch_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-courses"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"5d32e7b8-e28b-4bf2-bbbd-d8589a0487a8","name":"Branch or course not found","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  \"branch_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-courses"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"5053d2af-c646-498d-abb2-87e0ff5bbd8c","name":"Course already exists in branch","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  \"branch_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-courses"},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"db287b83-e911-4592-8d2f-fcc181b53b46"},{"name":"Remove course from branch","id":"5cab6b41-9866-4d9c-98ca-0f679bf3393b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"branch_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-courses","description":"<p>Removes a course from a specific branch. To successfully remove a course from a branch, provide the course's unique ID using the course_id attribute and the branch's unique ID using the branch_id attribute in the request body. If the request is valid and the association exists, the API deletes the branch-course relationship and returns a 204 No Content response upon success.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","branch-courses"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"0468e608-6d3c-4eac-8035-b773db37c2d8","name":"Course successfully removed from the branch","originalRequest":{"method":"DELETE","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  \"branch_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-courses"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"803bdc84-dd43-4a83-84ff-643ec50e54bb","name":"Invalid or missing request body fields","originalRequest":{"method":"DELETE","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  \"branch_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-courses"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"f48241d9-8091-4073-ad6b-54f1f4db8955","name":"Insufficient permissions to remove this course from the branch","originalRequest":{"method":"DELETE","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  \"branch_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-courses"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"22e8183f-ad62-4033-8ace-ff93f467cf38","name":"Branch or course not found","originalRequest":{"method":"DELETE","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  \"branch_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-courses"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"95cbe961-cf8e-4a29-b644-f2844eafa7cf","name":"Course is not assigned to this branch, is part of a learning path assigned to the branch, or is linked to a branch skill","originalRequest":{"method":"DELETE","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  \"branch_id\": \"<integer>\",\n  \"course_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branch-courses"},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5cab6b41-9866-4d9c-98ca-0f679bf3393b"},{"name":"Change branch status","id":"252751a4-8837-4e1b-b9f8-feac7d966db8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"is_active\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/branches/:id/status","description":"<h3 id=\"change-branch-status-activates-or-deactivates-a-specific-branch-to-update-the-branch-status-include-the-branchs-unique-id-as-a-path-parameter-in-the-request-url-and-provide-a-boolean-value-for-the-is_active-attribute-in-the-request-body-if-the-request-is-valid-and-the-branch-exists-the-api-updates-the-branchs-status-accordingly-and-returns-the-updated-branch-details\">Change branch status. Activates or deactivates a specific branch. To update the branch status, include the branch's unique ID as a path parameter in the request URL and provide a boolean value for the is_active attribute in the request body. If the request is valid and the branch exists, the API updates the branch's status accordingly and returns the updated branch details.</h3>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","branches",":id","status"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"677ef5ea-be1b-4fc7-bbbf-6521865ef6d2","description":{"content":"<p>(Required) The ID of the branch</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"094e3b39-1860-4a16-ab31-d2781bb5de76","name":"Successful response","originalRequest":{"method":"PUT","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  \"is_active\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id/status","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id","status"],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"252751a4-8837-4e1b-b9f8-feac7d966db8"},{"name":"Get branch courses","id":"de087ff8-6710-4a20-aba8-8257f6fef152","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/branches/:id/courses","description":"<p>Returns a paginated list of courses assigned to a specific branch.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","branches",":id","courses"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"7747f697-4e6a-4044-b266-a051496a61af","description":{"content":"<p>(Required) The ID of the branch</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"936163e4-8d91-40ec-a8e5-b7047d803083","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/branches/:id/courses","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id","courses"],"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\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"code\": \"<string>\",\n      \"category\": {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"parent_id\": \"<integer>\"\n      },\n      \"status\": \"<string>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"code\": \"<string>\",\n      \"category\": {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"parent_id\": \"<integer>\"\n      },\n      \"status\": \"<string>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"5f2ac59d-cce8-4621-b195-9d0a37a0a870","name":"Invalid branch ID","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id/courses","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id","courses"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"2348e1df-3957-4397-a9f3-dbc8f607a70e","name":"Insufficient permissions","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id/courses","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id","courses"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"885063df-d878-4403-b425-696dbf209789","name":"Branch not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id/courses","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id","courses"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"de087ff8-6710-4a20-aba8-8257f6fef152"},{"name":"Get branch users","id":"172bce68-6613-454d-aed9-f20a733fcea4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/branches/:id/users","description":"<p>Returns a paginated list of users assigned to a specific branch.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","branches",":id","users"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"b8ccbfe9-1567-403f-96fb-edbe61b5f2c4","description":{"content":"<p>(Required) The ID of the branch</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"20b58616-6f33-4d44-bf4d-7cb1a9647263","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/branches/:id/users","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id","users"],"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\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"surname\": \"<string>\",\n      \"login\": \"<string>\",\n      \"email\": \"<string>\",\n      \"type\": \"<string>\",\n      \"status\": \"<string>\",\n      \"last_login\": \"<string>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"surname\": \"<string>\",\n      \"login\": \"<string>\",\n      \"email\": \"<string>\",\n      \"type\": \"<string>\",\n      \"status\": \"<string>\",\n      \"last_login\": \"<string>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"4ad8add2-edc0-4001-8d14-92b7768ad7da","name":"Invalid branch ID","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id/users","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id","users"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"30934f92-281d-4d1e-b54c-b078ca6569bb","name":"Forbidden — request made from within a branch context or insufficient permissions","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id/users","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id","users"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"0de7a10f-0afa-4ac4-ba10-f6eda1e8f9bc","name":"Branch not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id/users","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id","users"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"244d0681-2daa-449a-b32e-2072aa159617","name":"Conflict — authenticated user could not be resolved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/branches/:id/users","host":["https://your-domain.talentlms.com"],"path":["api","v2","branches",":id","users"],"variable":[{"key":"id"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"172bce68-6613-454d-aed9-f20a733fcea4"}],"id":"16d4408b-8d52-42b1-bd5f-0f0c4b4a1192","_postman_id":"16d4408b-8d52-42b1-bd5f-0f0c4b4a1192","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}}},{"name":"Category","item":[{"name":"List all categories","id":"2ef09190-4acc-42ae-add0-ad8d37fd127d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/categories","description":"<h3 id=\"list-all-categories\">List all categories</h3>\n<p>Retrieves a paginated list of all categories in your TalentLMS account. Upon a successful request, the API returns a JSON response containing category objects, including their associated metadata and configuration details. Results are delivered in a paginated format to ensure efficient handling of large datasets.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","categories"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"7874dfe8-4e1f-41cf-b266-cb0fa4552c89","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/categories"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": [\n    {\n      \"id\": \"<integer>\",\n      \"parent_id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"children\": [\n        {\n          \"et84\": 46320385.771841496\n        },\n        {\n          \"infe\": 83255480.30213803\n        }\n      ],\n      \"price\": {\n        \"amount\": \"<float>\",\n        \"currency\": \"<string>\"\n      },\n      \"discounted_price\": {\n        \"amount\": \"<float>\",\n        \"currency\": \"<string>\"\n      }\n    },\n    {\n      \"id\": \"<integer>\",\n      \"parent_id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"children\": [\n        {\n          \"magna_d2\": false\n        },\n        {\n          \"consectetur_ec3\": \"aute exercitation pariatur in ut\",\n          \"labore_6d4\": 16519709.30597277\n        }\n      ],\n      \"price\": {\n        \"amount\": \"<float>\",\n        \"currency\": \"<string>\"\n      },\n      \"discounted_price\": {\n        \"amount\": \"<float>\",\n        \"currency\": \"<string>\"\n      }\n    }\n  ]\n}"},{"id":"31e3225f-40ff-49aa-9355-db8292f9fa95","name":"Insufficient permissions to list categories","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":"https://your-domain.talentlms.com/api/v2/categories"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2ef09190-4acc-42ae-add0-ad8d37fd127d"},{"name":"Get a category","id":"3fc67176-dca8-488a-9d3a-462affd63708","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/categories/:id","description":"<h3 id=\"get-a-category\">Get a category</h3>\n<p>Retrieves the full details of a specific category. To successfully fetch a category, include the category’s unique ID as a path parameter in the request URL. If the request is valid and the category exists, the API returns detailed information about the category, including its metadata and related configuration settings.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","categories",":id"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"5390b1e8-b902-42e4-9f6a-8c3dee3b70b0","description":{"content":"<p>(Required) The ID of the category</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"2a5fefd6-918c-44ae-baca-29ba8c32ddbd","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/categories/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","categories",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\",\n    \"parent_id\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"price\": {\n      \"amount\": \"<float>\",\n      \"currency\": \"<string>\"\n    },\n    \"discounted_price\": {\n      \"amount\": \"<float>\",\n      \"currency\": \"<string>\"\n    }\n  }\n}"},{"id":"12da18c8-16c6-405c-84a7-2cd25c790efa","name":"Invalid category ID","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/categories/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","categories",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"d1220c83-22b4-4b1a-8e54-2f802f1ff8ac","name":"Insufficient permissions to view the category","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/categories/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","categories",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"fabf5490-196a-44a3-bc76-8e7d04f4421a","name":"Category not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/categories/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","categories",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"3fc67176-dca8-488a-9d3a-462affd63708"},{"name":"Purchase a course category","id":"45ed8fea-086d-40bb-8cc8-67b17ee9e3d9","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/categories/:id/purchase","description":"<h3 id=\"purchase-a-course-category\">Purchase a course category</h3>\n<p>Provided the category ID in the endpoint's path and the user ID in the request's body a category can be purchased for this specific user. Optionally, you can specify the redirection url if the purchase is cancelled or succeeded and you can also provide a coupon key.</p>\n<p>Payments are processed either with the <strong>Stripe</strong> payment processor or with account <strong>credits</strong>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","categories",":id","purchase"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"3dc59253-93f5-4449-a3a7-c6245462e05f","description":{"content":"<p>(Required) The ID of the category</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"5004c75f-ef0c-4247-a8f1-2d13f6afb180","name":"Purchase initiated","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/categories/:id/purchase","host":["https://your-domain.talentlms.com"],"path":["api","v2","categories",":id","purchase"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"redirect_url\": \"<string>\"\n  }\n}"},{"id":"4df1e378-2d24-4a82-a13e-d8beacdea395","name":"Invalid request body or coupon","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/categories/:id/purchase","host":["https://your-domain.talentlms.com"],"path":["api","v2","categories",":id","purchase"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"ca149ff1-1250-48f6-9174-921318c8e98c","name":"Payment required or price changed","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/categories/:id/purchase","host":["https://your-domain.talentlms.com"],"path":["api","v2","categories",":id","purchase"],"variable":[{"key":"id"}]}},"status":"Payment Required","code":402,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"c54b05bd-6841-4efd-8cc5-e8982e248f70","name":"Insufficient permissions","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/categories/:id/purchase","host":["https://your-domain.talentlms.com"],"path":["api","v2","categories",":id","purchase"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"fdbbb59c-1563-43fd-9242-2b3a6031b735","name":"Category or user not found","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/categories/:id/purchase","host":["https://your-domain.talentlms.com"],"path":["api","v2","categories",":id","purchase"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"251c7b51-65fb-4d04-ac7c-0e3a44a7ec20","name":"Unsupported payment processor or enrollment conflict","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/categories/:id/purchase","host":["https://your-domain.talentlms.com"],"path":["api","v2","categories",":id","purchase"],"variable":[{"key":"id"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"7b01e0a2-4902-4ee2-8fa8-cf440194aae2","name":"Coupon rate limit exceeded","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\": \"<integer>\",\n  \"use_credits\": false,\n  \"return_path\": \"<string>\",\n  \"cancel_path\": \"<string>\",\n  \"coupon\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/categories/:id/purchase","host":["https://your-domain.talentlms.com"],"path":["api","v2","categories",":id","purchase"],"variable":[{"key":"id"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"45ed8fea-086d-40bb-8cc8-67b17ee9e3d9"},{"name":"Get category courses","id":"3206c219-5a26-42b5-abb9-298326840ff0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/categories/:id/courses?sort=id&filter[branch_id][eq]=<integer>&page[number]=<integer>&page[size]=<integer>","description":"<p>Returns a paginated list of the active courses that belong directly to a category. Courses of subcategories are not included. Use filter[branch_id][eq] to limit the results to courses assigned to a branch, which matches the v1 behaviour of calling the API on a branch URL.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","categories",":id","courses"],"host":["https://your-domain.talentlms.com"],"query":[{"description":{"content":"<p>Sort by id or name. Prefix with - for descending order. Defaults to name ascending.</p>\n","type":"text/plain"},"key":"sort","value":"id"},{"description":{"content":"<p>Return only the courses assigned to this branch</p>\n","type":"text/plain"},"key":"filter[branch_id][eq]","value":"<integer>"},{"description":{"content":"<p>The page number</p>\n","type":"text/plain"},"key":"page[number]","value":"<integer>"},{"description":{"content":"<p>The page size</p>\n","type":"text/plain"},"key":"page[size]","value":"<integer>"}],"variable":[{"id":"cc56287e-e6e9-4332-9da7-1892a0c49f59","description":{"content":"<p>(Required) The ID of the category</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"6533937a-d503-4aa7-b3ff-457b1da44e4e","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/categories/:id/courses?sort=id&filter[branch_id][eq]=<integer>&page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","categories",":id","courses"],"query":[{"description":"Sort by id or name. Prefix with - for descending order. Defaults to name ascending.","key":"sort","value":"id"},{"description":"Return only the courses assigned to this branch","key":"filter[branch_id][eq]","value":"<integer>"},{"description":"The page number","key":"page[number]","value":"<integer>"},{"description":"The page size","key":"page[size]","value":"<integer>"}],"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\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"code\": \"<string>\",\n      \"description\": \"<string>\",\n      \"price\": {\n        \"amount\": \"<float>\",\n        \"currency\": \"<string>\"\n      },\n      \"status\": \"<string>\",\n      \"level\": \"<integer>\",\n      \"is_hidden_from_catalog\": \"<boolean>\",\n      \"shared_url\": \"<uri>\",\n      \"avatar\": \"<uri>\",\n      \"big_avatar\": \"<uri>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"code\": \"<string>\",\n      \"description\": \"<string>\",\n      \"price\": {\n        \"amount\": \"<float>\",\n        \"currency\": \"<string>\"\n      },\n      \"status\": \"<string>\",\n      \"level\": \"<integer>\",\n      \"is_hidden_from_catalog\": \"<boolean>\",\n      \"shared_url\": \"<uri>\",\n      \"avatar\": \"<uri>\",\n      \"big_avatar\": \"<uri>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"1f3b9a57-497b-4f8b-b3f3-615d041292c1","name":"Category id must be a positive integer, Branch id must be a positive integer, or Branch filter supports only the eq operator","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/categories/:id/courses?sort=id&filter[branch_id][eq]=<integer>&page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","categories",":id","courses"],"query":[{"description":"Sort by id or name. Prefix with - for descending order. Defaults to name ascending.","key":"sort","value":"id"},{"description":"Return only the courses assigned to this branch","key":"filter[branch_id][eq]","value":"<integer>"},{"description":"The page number","key":"page[number]","value":"<integer>"},{"description":"The page size","key":"page[size]","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"ac176334-660a-405e-970e-bcfd70e5903c","name":"The category does not exist, or Branch not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/categories/:id/courses?sort=id&filter[branch_id][eq]=<integer>&page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","categories",":id","courses"],"query":[{"description":"Sort by id or name. Prefix with - for descending order. Defaults to name ascending.","key":"sort","value":"id"},{"description":"Return only the courses assigned to this branch","key":"filter[branch_id][eq]","value":"<integer>"},{"description":"The page number","key":"page[number]","value":"<integer>"},{"description":"The page size","key":"page[size]","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"3206c219-5a26-42b5-abb9-298326840ff0"}],"id":"7489c92a-0027-4ab4-9f13-0637a453c23a","_postman_id":"7489c92a-0027-4ab4-9f13-0637a453c23a","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}}},{"name":"Unit","item":[{"name":"Get user's test/survey answers","id":"b68e7380-98d1-4d8e-9512-fe0789000c88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/results?user_id=<integer>&unit_id=<integer>","description":"<h3 id=\"get-users-testsurvey-answers\">Get user's test/survey answers</h3>\n<p>Retrieve detailed test/survey results for a specific user and unit, including status, score, completion date, and a breakdown of answers for each question.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","results"],"host":["https://your-domain.talentlms.com"],"query":[{"description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"key":"user_id","value":"<integer>"},{"description":{"content":"<p>(Required) The ID of the unit</p>\n","type":"text/plain"},"key":"unit_id","value":"<integer>"}],"variable":[]}},"response":[{"id":"56c5718c-02a2-4960-99bf-21b4857b5c92","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/results?user_id=<integer>&unit_id=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","results"],"query":[{"description":"(Required) The ID of the user","key":"user_id","value":"<integer>"},{"description":"(Required) The ID of the unit","key":"unit_id","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"status\": \"<string>\",\n    \"score\": \"<number>\",\n    \"completion_date\": \"<dateTime>\",\n    \"questions\": [\n      {\n        \"ullamco1\": true,\n        \"dolore_08\": -94578943.73082468,\n        \"nulla9\": 5327506.4922962785\n      },\n      {\n        \"fugiat9\": \"eu velit ad Ut\"\n      }\n    ],\n    \"test_abandoned\": \"<boolean>\",\n    \"maximum_score\": \"<number>\",\n    \"remaining_attempts\": \"<integer>\",\n    \"allow_test_repetition\": \"<boolean>\",\n    \"time_for_repetition\": \"<integer>\",\n    \"statistics\": {\n      \"laborum_f73\": -85994202.38113904,\n      \"in_e8\": 76207213.86152911\n    },\n    \"instructor_message\": \"<string>\"\n  }\n}"},{"id":"d2b9103c-b8d7-4208-afa9-3142d308d256","name":"Invalid or missing user_id or unit_id","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/results?user_id=<integer>&unit_id=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","results"],"query":[{"description":"(Required) The ID of the user","key":"user_id","value":"<integer>"},{"description":"(Required) The ID of the unit","key":"unit_id","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"50d90c48-173e-427d-a9b0-1fd3b41a6c8a","name":"Insufficient permissions","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/results?user_id=<integer>&unit_id=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","results"],"query":[{"description":"(Required) The ID of the user","key":"user_id","value":"<integer>"},{"description":"(Required) The ID of the unit","key":"unit_id","value":"<integer>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"10d04ccd-e04a-4213-bf87-81cae5afea97","name":"The unit or user was not found, the user is not enrolled in the course, the unit is locked by course traversal rules, or the user has no answers for this test","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/results?user_id=<integer>&unit_id=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","results"],"query":[{"description":"(Required) The ID of the user","key":"user_id","value":"<integer>"},{"description":"(Required) The ID of the unit","key":"unit_id","value":"<integer>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"e8ee4e87-884d-44cf-bd48-6d6a70452351","name":"Unit is not a test/survey, progress incomplete, or user inactive","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/results?user_id=<integer>&unit_id=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","results"],"query":[{"description":"(Required) The ID of the user","key":"user_id","value":"<integer>"},{"description":"(Required) The ID of the unit","key":"unit_id","value":"<integer>"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b68e7380-98d1-4d8e-9512-fe0789000c88"},{"name":"Get ILT unit's sessions","id":"5c63e5ce-a2ab-4f37-a810-ba8698e53caa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://your-domain.talentlms.com/api/v2/units/:id/sessions","description":"<p>Retrieves the scheduled sessions of a specific Instructor-Led Training (ILT) unit. To successfully fetch session details, include the ILT unit's unique ID as a path parameter in the request URL. If the request is valid and the unit exists, the API returns a JSON response containing information about all associated sessions, including their schedule and related metadata.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","units",":id","sessions"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"629c75c2-4579-4144-be28-b8e050d18900","description":{"content":"<p>(Required) The ID of the ILT unit</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"3b3b70d9-71a4-4e49-a5c6-b23294abaef4","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/units/:id/sessions","host":["https://your-domain.talentlms.com"],"path":["api","v2","units",":id","sessions"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"86b23a6a-5073-4c82-9834-60ce95505855","name":"The unit ID is invalid, or the unit is not an ILT unit","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/units/:id/sessions","host":["https://your-domain.talentlms.com"],"path":["api","v2","units",":id","sessions"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"3414781d-f44e-4f32-b8d1-6605d59b6a2d","name":"The ILT unit was not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/units/:id/sessions","host":["https://your-domain.talentlms.com"],"path":["api","v2","units",":id","sessions"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5c63e5ce-a2ab-4f37-a810-ba8698e53caa"}],"id":"0dfe6b5e-903d-4680-99f3-9cc05b10ba61","_postman_id":"0dfe6b5e-903d-4680-99f3-9cc05b10ba61","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}}},{"name":"Task","item":[{"name":"Get task's status and progress","id":"74517684-8bcd-41f0-9a1a-31784a29379f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/tasks/:id","description":"<h3 id=\"get-tasks-status-and-progress\">Get task's status and progress</h3>\n<p>Retrieves the current status and progress of a background process task. To successfully fetch task details, include the task’s unique ID as a path parameter in the request URL. If the request is valid and the task exists, the API returns information about the task’s execution status and completion progress. This endpoint is typically used to monitor long-running or asynchronous operations.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","tasks",":id"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"cf94796b-991a-4f4a-8a06-fb04afc8d30d","description":{"content":"<p>(Required) Encoded task UID (not a raw integer)</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"ae09c39c-836c-4f7d-be86-e9fb1f9c10b5","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/tasks/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","tasks",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<string>\",\n    \"status\": \"<string>\",\n    \"progress\": \"<number>\",\n    \"processed_items\": \"<integer>\",\n    \"download_url\": \"<string>\",\n    \"failure_reason\": \"<string>\"\n  }\n}"},{"id":"4e4330a9-b8ae-4a18-8904-75bc9048d513","name":"Missing or undecodable task ID","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/tasks/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","tasks",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"3faa9858-d3e6-4559-8d1c-b1259373c99a","name":"Task belongs to another user","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/tasks/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","tasks",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"a95d59dc-67a1-4249-88de-b814ed3f5dcd","name":"Task not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/tasks/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","tasks",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"3e55836b-aad7-4f0b-8fd1-243dbb4addd9","name":"Task ID is not a valid string","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/tasks/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","tasks",":id"],"variable":[{"key":"id"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"74517684-8bcd-41f0-9a1a-31784a29379f"}],"id":"8de27988-93e1-471f-b136-2894a3218461","_postman_id":"8de27988-93e1-471f-b136-2894a3218461","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}}},{"name":"Batch Actions","item":[{"name":"Upsert Courses","id":"5399cb94-02b6-4752-a00f-c9641b8ecd27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"courses\": [\n    {\n      \"description\": \"<string>\",\n      \"is_active\": \"<boolean>\",\n      \"id\": \"<integer>\",\n      \"code\": \"<string>\",\n      \"name\": \"<string>\",\n      \"category_id\": \"<integer>\",\n      \"capacity\": \"<integer>\",\n      \"time_limit\": \"<integer>\",\n      \"start_datetime\": \"<integer>\",\n      \"expiration_datetime\": \"<integer>\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/batch/courses","description":"<h3 id=\"upsert-courses\">Upsert courses</h3>\n<p>Provide the course name, code, description and status to create new courses or update an existing ones. You can update a course by providing either its code or id.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","batch","courses"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"c3b49fee-4d6d-474c-bdba-8e3a3909547d","name":"Batch task 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  \"courses\": [\n    {\n      \"description\": \"<string>\",\n      \"is_active\": \"<boolean>\",\n      \"id\": \"<integer>\",\n      \"code\": \"<string>\",\n      \"name\": \"<string>\",\n      \"category_id\": \"<integer>\",\n      \"capacity\": \"<integer>\",\n      \"time_limit\": \"<integer>\",\n      \"start_datetime\": \"<integer>\",\n      \"expiration_datetime\": \"<integer>\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/batch/courses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<string>\",\n    \"status\": \"<string>\",\n    \"failure_reason\": \"<string>\",\n    \"progress\": \"<number>\",\n    \"processed_items\": \"<integer>\",\n    \"download_url\": \"<string>\"\n  }\n}"},{"id":"c7b720ce-3081-4730-9ac9-9b2563214161","name":"Invalid batch request","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  \"courses\": [\n    {\n      \"description\": \"<string>\",\n      \"is_active\": \"<boolean>\",\n      \"id\": \"<integer>\",\n      \"code\": \"<string>\",\n      \"name\": \"<string>\",\n      \"category_id\": \"<integer>\",\n      \"capacity\": \"<integer>\",\n      \"time_limit\": \"<integer>\",\n      \"start_datetime\": \"<integer>\",\n      \"expiration_datetime\": \"<integer>\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/batch/courses"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"751b27b1-a72a-4630-be86-e67236fc04c7","name":"Invalid API key","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  \"courses\": [\n    {\n      \"description\": \"<string>\",\n      \"is_active\": \"<boolean>\",\n      \"id\": \"<integer>\",\n      \"code\": \"<string>\",\n      \"name\": \"<string>\",\n      \"category_id\": \"<integer>\",\n      \"capacity\": \"<integer>\",\n      \"time_limit\": \"<integer>\",\n      \"start_datetime\": \"<integer>\",\n      \"expiration_datetime\": \"<integer>\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/batch/courses"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"bfeb35c7-179d-4254-ad7f-ff991f193b2f","name":"Batch size exceeds the limit of 100","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  \"courses\": [\n    {\n      \"description\": \"<string>\",\n      \"is_active\": \"<boolean>\",\n      \"id\": \"<integer>\",\n      \"code\": \"<string>\",\n      \"name\": \"<string>\",\n      \"category_id\": \"<integer>\",\n      \"capacity\": \"<integer>\",\n      \"time_limit\": \"<integer>\",\n      \"start_datetime\": \"<integer>\",\n      \"expiration_datetime\": \"<integer>\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/batch/courses"},"status":"Request Entity Too Large","code":413,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5399cb94-02b6-4752-a00f-c9641b8ecd27"},{"name":"Course Enrollments","id":"088af9c8-1101-4a25-be85-b0e186faffa6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"enrollments\": [\n    {\n      \"course_id\": \"<integer>\",\n      \"user_id\": \"<integer>\",\n      \"integration\": \"<string>\",\n      \"integration_user_id\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/batch/enrollments","description":"<h3 id=\"course-enrollments\">Course Enrollments</h3>\n<p>Creates multiple course enrollments in a single request.</p>\n<p>Use this endpoint to mass assign users to courses by providing an array of course_id and user_id pairs in the request body. If the request is valid, the API processes each enrollment and returns the corresponding results.</p>\n<p>This endpoint is ideal for bulk operations and large-scale user-course assignments.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","batch","enrollments"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"eb1dd26a-1676-4378-bd63-edf3de3af4bb","name":"Batch task 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  \"enrollments\": [\n    {\n      \"course_id\": \"<integer>\",\n      \"user_id\": \"<integer>\",\n      \"integration\": \"<string>\",\n      \"integration_user_id\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/batch/enrollments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<string>\",\n    \"status\": \"<string>\",\n    \"failure_reason\": \"<string>\",\n    \"progress\": \"<number>\",\n    \"processed_items\": \"<integer>\",\n    \"download_url\": \"<string>\"\n  }\n}"},{"id":"623d6972-749c-4cd1-858c-1b7b498d2cda","name":"Invalid batch request","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  \"enrollments\": [\n    {\n      \"course_id\": \"<integer>\",\n      \"user_id\": \"<integer>\",\n      \"integration\": \"<string>\",\n      \"integration_user_id\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/batch/enrollments"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"66d57484-f5d5-4631-9626-f66bb7af0b18","name":"Invalid API key","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  \"enrollments\": [\n    {\n      \"course_id\": \"<integer>\",\n      \"user_id\": \"<integer>\",\n      \"integration\": \"<string>\",\n      \"integration_user_id\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/batch/enrollments"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"fae123a1-42a1-4435-8a7b-26f63e251425","name":"Batch size exceeds the limit of 100","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  \"enrollments\": [\n    {\n      \"course_id\": \"<integer>\",\n      \"user_id\": \"<integer>\",\n      \"integration\": \"<string>\",\n      \"integration_user_id\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/batch/enrollments"},"status":"Request Entity Too Large","code":413,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"088af9c8-1101-4a25-be85-b0e186faffa6"},{"name":"Upsert users","id":"5f0c3d43-fbfa-46a5-b154-76e9906a3fe2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"users\": [\n    {\n      \"login\": \"<string>\",\n      \"name\": \"<string>\",\n      \"surname\": \"<string>\",\n      \"email\": \"<string>\",\n      \"id\": \"<integer>\",\n      \"integration\": \"<string>\",\n      \"integration_user_id\": \"<string>\",\n      \"status\": \"inactive\",\n      \"user_type_id\": \"<integer>\",\n      \"deactivation_date\": \"<string>\",\n      \"locale\": \"<string>\",\n      \"email_notifications\": \"<boolean>\",\n      \"description\": \"<string>\",\n      \"credits\": \"<number>\",\n      \"custom_field_1\": \"<string>\"\n    }\n  ],\n  \"options\": {\n    \"skip_inactive\": false\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/batch/users","description":"<p>Queues user creation or updates. Matching uses id, then integration identifiers, then email. Omitted profile fields preserve stored values on updates. Each worker item succeeds or fails independently. User type changes retain the standard enrollment side effects. Portal owner updates are forbidden.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","batch","users"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"5e3515d4-76f8-45ce-96f3-69c89edc9572","name":"Batch task 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  \"users\": [\n    {\n      \"login\": \"<string>\",\n      \"name\": \"<string>\",\n      \"surname\": \"<string>\",\n      \"email\": \"<string>\",\n      \"id\": \"<integer>\",\n      \"integration\": \"<string>\",\n      \"integration_user_id\": \"<string>\",\n      \"status\": \"inactive\",\n      \"user_type_id\": \"<integer>\",\n      \"deactivation_date\": \"<string>\",\n      \"locale\": \"<string>\",\n      \"email_notifications\": \"<boolean>\",\n      \"description\": \"<string>\",\n      \"credits\": \"<number>\",\n      \"custom_field_1\": \"<string>\"\n    }\n  ],\n  \"options\": {\n    \"skip_inactive\": false\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/batch/users"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<string>\",\n    \"status\": \"<string>\",\n    \"failure_reason\": \"<string>\",\n    \"progress\": \"<number>\",\n    \"processed_items\": \"<integer>\",\n    \"download_url\": \"<string>\"\n  }\n}"},{"id":"e7dfd232-a1fe-4d01-8786-cb87ba61874b","name":"Invalid batch request","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  \"users\": [\n    {\n      \"login\": \"<string>\",\n      \"name\": \"<string>\",\n      \"surname\": \"<string>\",\n      \"email\": \"<string>\",\n      \"id\": \"<integer>\",\n      \"integration\": \"<string>\",\n      \"integration_user_id\": \"<string>\",\n      \"status\": \"inactive\",\n      \"user_type_id\": \"<integer>\",\n      \"deactivation_date\": \"<string>\",\n      \"locale\": \"<string>\",\n      \"email_notifications\": \"<boolean>\",\n      \"description\": \"<string>\",\n      \"credits\": \"<number>\",\n      \"custom_field_1\": \"<string>\"\n    }\n  ],\n  \"options\": {\n    \"skip_inactive\": false\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/batch/users"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"db5e521f-8efd-4a5a-b063-cfe278ce12de","name":"Invalid API key","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  \"users\": [\n    {\n      \"login\": \"<string>\",\n      \"name\": \"<string>\",\n      \"surname\": \"<string>\",\n      \"email\": \"<string>\",\n      \"id\": \"<integer>\",\n      \"integration\": \"<string>\",\n      \"integration_user_id\": \"<string>\",\n      \"status\": \"inactive\",\n      \"user_type_id\": \"<integer>\",\n      \"deactivation_date\": \"<string>\",\n      \"locale\": \"<string>\",\n      \"email_notifications\": \"<boolean>\",\n      \"description\": \"<string>\",\n      \"credits\": \"<number>\",\n      \"custom_field_1\": \"<string>\"\n    }\n  ],\n  \"options\": {\n    \"skip_inactive\": false\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/batch/users"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5f0c3d43-fbfa-46a5-b154-76e9906a3fe2"}],"id":"7c10521d-5c86-447c-bd41-d95a78bad0dc","description":"<p>This section introduces endpoints that perform bulk actions. After invoking any of the below endpoints, their response includes a background task ID.. You can use the <code>GET api/v2/tasks/:id</code> endpoint to track the progress of the action. For each request, the limit of items passed inside the body is 100.</p>\n","_postman_id":"7c10521d-5c86-447c-bd41-d95a78bad0dc","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}}},{"name":"Learning Paths","item":[{"name":"Get learning paths","id":"52c1bbb9-03b8-489a-966e-ca8365430e97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/learning-paths","description":"<h3 id=\"list-all-learning-paths\"><strong>List all learning paths</strong></h3>\n<p>Retrieves a paginated list of all learning paths in your TalentLMS account. Upon a successful request, the API returns a JSON response containing learning path objects, including their associated metadata and configuration details. Results are delivered in a paginated format to ensure efficient handling of large datasets. You can optionally filter the response by keyword or status.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","learning-paths"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"52a04e8d-06f9-45fb-9955-6b59192db72f","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/learning-paths"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": [\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"code\": \"<string>\",\n      \"status\": \"<string>\",\n      \"category\": {\n        \"doloreb0\": 39190340\n      },\n      \"description\": {\n        \"dolor_1_\": -86746842,\n        \"id_b2\": -63838521\n      },\n      \"creation_date\": \"<dateTime>\",\n      \"last_updated_on\": \"<dateTime>\",\n      \"price\": {\n        \"amount\": \"<float>\",\n        \"currency\": \"<string>\"\n      },\n      \"cover_image\": {\n        \"quise\": 30857116,\n        \"ullamco_b\": 75064018\n      },\n      \"capacity\": \"<integer>\",\n      \"is_hidden_from_catalog\": \"<boolean>\",\n      \"is_locked\": \"<boolean>\",\n      \"level\": \"<integer>\",\n      \"reassign\": \"<boolean>\",\n      \"available\": \"<boolean>\",\n      \"rules\": {\n        \"dolor13\": 73020468,\n        \"ina\": false\n      },\n      \"starts_at\": \"<dateTime>\",\n      \"expires_at\": \"<dateTime>\",\n      \"time_limit\": \"<float>\",\n      \"time_limit_retain_access\": \"<boolean>\",\n      \"enrollment_approval\": \"<boolean>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"code\": \"<string>\",\n      \"status\": \"<string>\",\n      \"category\": {\n        \"quis_93\": false\n      },\n      \"description\": {\n        \"laborum_567\": true,\n        \"et4\": 53364639\n      },\n      \"creation_date\": \"<dateTime>\",\n      \"last_updated_on\": \"<dateTime>\",\n      \"price\": {\n        \"amount\": \"<float>\",\n        \"currency\": \"<string>\"\n      },\n      \"cover_image\": {\n        \"et897\": \"fugiat non in\",\n        \"doloreb\": 95184207\n      },\n      \"capacity\": \"<integer>\",\n      \"is_hidden_from_catalog\": \"<boolean>\",\n      \"is_locked\": \"<boolean>\",\n      \"level\": \"<integer>\",\n      \"reassign\": \"<boolean>\",\n      \"available\": \"<boolean>\",\n      \"rules\": {\n        \"ullamco_\": 75852112.45728672,\n        \"consequata7\": \"id incididunt\"\n      },\n      \"starts_at\": \"<dateTime>\",\n      \"expires_at\": \"<dateTime>\",\n      \"time_limit\": \"<float>\",\n      \"time_limit_retain_access\": \"<boolean>\",\n      \"enrollment_approval\": \"<boolean>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"9ff0cabf-097d-4c84-9fa7-2bc7d422372d","name":"Invalid filter value","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":"https://your-domain.talentlms.com/api/v2/learning-paths"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"90416f81-eecc-4f13-9019-0df78b3b7c23","name":"Insufficient permissions to list learning paths","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":"https://your-domain.talentlms.com/api/v2/learning-paths"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"52c1bbb9-03b8-489a-966e-ca8365430e97"},{"name":"Get learning path","id":"1db214c7-9467-46da-84bb-972c73faaee7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/learning-paths/:id","description":"<h3 id=\"get-a-learning-path\">Get a learning path</h3>\n<p>Retrieves the details of a specific learning path. To successfully fetch a learning path, include the learning path's unique ID as a path parameter in the request URL. If the request is valid and the learning path exists, the API returns the full set of learning path details in the response.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","learning-paths",":id"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"78b646b7-6402-4ffa-873c-edc8c2a288dc","description":{"content":"<p>(Required) The ID of the learning path</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"3d421a60-0108-43cf-8add-009d254df772","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/learning-paths/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","learning-paths",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"code\": \"<string>\",\n    \"status\": \"<string>\",\n    \"category\": {\n      \"ea6_e\": true,\n      \"ad_f\": false,\n      \"commodo_723\": false\n    },\n    \"description\": {\n      \"enim_4d\": false,\n      \"ut_c62\": \"est nostrud in do\",\n      \"adipisicingb\": -99160132\n    },\n    \"creation_date\": \"<dateTime>\",\n    \"last_updated_on\": \"<dateTime>\",\n    \"price\": {\n      \"amount\": \"<float>\",\n      \"currency\": \"<string>\"\n    },\n    \"cover_image\": {\n      \"et_449\": -92170.27913697064\n    },\n    \"level\": \"<integer>\",\n    \"reassign\": \"<boolean>\",\n    \"available\": \"<boolean>\",\n    \"capacity\": \"<integer>\",\n    \"is_hidden_from_catalog\": \"<boolean>\",\n    \"is_locked\": \"<boolean>\",\n    \"rules\": {\n      \"eu4\": 37865907\n    },\n    \"starts_at\": \"<dateTime>\",\n    \"expires_at\": \"<dateTime>\",\n    \"time_limit\": \"<float>\",\n    \"time_limit_retain_access\": \"<boolean>\",\n    \"enrollment_approval\": \"<boolean>\"\n  }\n}"},{"id":"b3b43100-5b11-41c9-bca6-6c4de8e9b241","name":"Invalid learning path ID","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/learning-paths/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","learning-paths",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"3f8e4711-c058-4790-9a3d-0746a92ad877","name":"Insufficient permissions to view the learning path","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/learning-paths/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","learning-paths",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"c03dc98d-7064-41f8-8a4a-5f6797ba4af3","name":"Learning path or user not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/learning-paths/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","learning-paths",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"1db214c7-9467-46da-84bb-972c73faaee7"},{"name":"Enroll a user to a learning path","id":"012e1c8c-abb8-4d31-ade1-f58ca2f0e3bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"learning_path_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/learning-paths/enrollments","description":"<h3 id=\"enroll-user-to-learning-path\">Enroll user to learning path</h3>\n<p>Enrolls a user into a specific learning path. To create an enrollment, provide the user's unique ID using the <code>user_id</code> attribute and the learning path's unique ID using the <code>learning_path_id</code> attribute in the request body. If the request is valid and both the user and learning path exist, the API creates the enrollment and returns the enrollment details in the response.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","learning-paths","enrollments"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"d57674ea-4fa3-480d-a71e-7b5afb7f6769","name":"User enrolled (or already enrolled)","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  \"learning_path_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/learning-paths/enrollments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"role\": \"<string>\"\n  }\n}"},{"id":"dbfc14f4-0d3a-4967-89e4-add48b54d7e8","name":"Invalid request body","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  \"learning_path_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/learning-paths/enrollments"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"5da6e0a5-96bf-4c13-ae20-764f239ff9a5","name":"Insufficient permissions to enroll the user","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  \"learning_path_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/learning-paths/enrollments"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"b29ff605-69fe-4dee-91cf-85494b480888","name":"Learning path or user not found","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  \"learning_path_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/learning-paths/enrollments"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"f97ad5c4-96a7-4acb-b6a4-0b80b149f78b","name":"Invalid default user role","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  \"learning_path_id\": \"<integer>\",\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/learning-paths/enrollments"},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"012e1c8c-abb8-4d31-ade1-f58ca2f0e3bc"},{"name":"Remove a user from a learning path","id":"929b99c8-bd0b-4db5-a57d-9eb12832cf67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"<integer>\",\n  \"learning_path_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/learning-paths/enrollments","description":"<p>Removes a user's enrollment from a specific learning path. To successfully unenroll a user, provide the user's unique ID using the user_id attribute and the learning path's unique ID using the learning_path_id attribute in the request body. If the request is valid and the enrollment exists, the API deletes the enrollment and removes the user's access to the learning path.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","learning-paths","enrollments"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"b208d18d-6e5f-4299-9aa4-44815b756ec8","name":"User successfully removed from the learning path","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"learning_path_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/learning-paths/enrollments"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"05712ea0-ed49-4f28-a1ac-93648c4bf171","name":"Invalid or missing request body fields","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"learning_path_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/learning-paths/enrollments"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"86787691-91fe-49d4-97a8-108c4f409f3a","name":"Insufficient permissions to remove this user from the learning path","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"learning_path_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/learning-paths/enrollments"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"61b3bf1f-d2ab-43cd-9d8a-65ec04278055","name":"User or learning path not found","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"learning_path_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/learning-paths/enrollments"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"338b620e-819b-466c-b9a7-1dc65a67f124","name":"User is not enrolled in this learning path","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"learning_path_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/learning-paths/enrollments"},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"929b99c8-bd0b-4db5-a57d-9eb12832cf67"}],"id":"45ad7ac3-34f7-4dac-968b-321985a19b81","_postman_id":"45ad7ac3-34f7-4dac-968b-321985a19b81","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}}},{"name":"ILT Sessions","item":[{"name":"Register a user to an ILT session","id":"afa27796-496e-48e9-bc92-c6763768c3de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/ilt-sessions/:id/register","description":"<p>Registers a user to a specific ILT (Instructor-Led Training) session. For multi-session ILTs, both root and child session IDs are accepted; child IDs are automatically redirected to the root session. Returns 409 if the user is already registered, 403 if the session has reached capacity or the user is not enrolled in the course.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","ilt-sessions",":id","register"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"336981e4-16be-410f-b6da-cde0305e4b7d","description":{"content":"<p>(Required) The ID of the ILT session</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"693cb678-d3a3-4653-99b2-d4522a26954e","name":"User successfully registered","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\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/ilt-sessions/:id/register","host":["https://your-domain.talentlms.com"],"path":["api","v2","ilt-sessions",":id","register"],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"0c114d8b-9cc3-4492-bf8c-706d1717f2f0","name":"Invalid input","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\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/ilt-sessions/:id/register","host":["https://your-domain.talentlms.com"],"path":["api","v2","ilt-sessions",":id","register"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"8ab79900-2860-4329-a956-0a00c8121480","name":"Session at capacity or user not enrolled in course","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\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/ilt-sessions/:id/register","host":["https://your-domain.talentlms.com"],"path":["api","v2","ilt-sessions",":id","register"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"eeb7f894-7561-471d-b19b-9533be6f9965","name":"Session or user not found","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\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/ilt-sessions/:id/register","host":["https://your-domain.talentlms.com"],"path":["api","v2","ilt-sessions",":id","register"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"39b32a88-5b83-4d46-b86b-f781df652ad6","name":"User already registered","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\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/ilt-sessions/:id/register","host":["https://your-domain.talentlms.com"],"path":["api","v2","ilt-sessions",":id","register"],"variable":[{"key":"id"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"afa27796-496e-48e9-bc92-c6763768c3de"},{"name":"Unregister a user from an ILT session","id":"f237ea2c-ea75-41b0-86f8-324f9ec6bf07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/ilt-sessions/:id/unregister","description":"<p>Removes a user's registration from a specific ILT (Instructor-Led Training) session. For multi-session ILTs, both root and child session IDs are accepted; child IDs are automatically redirected to the root session. Returns 404 if the user is not registered for the session.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","ilt-sessions",":id","unregister"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"7429e88f-4327-46eb-9c29-01622e2ed797","description":{"content":"<p>(Required) The ID of the ILT session</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"eb47f4e0-63e5-4b3d-adb7-b0cba6b13c4e","name":"User successfully unregistered","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\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/ilt-sessions/:id/unregister","host":["https://your-domain.talentlms.com"],"path":["api","v2","ilt-sessions",":id","unregister"],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"a8339720-fe0e-47aa-8700-6e620c909237","name":"Invalid input","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\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/ilt-sessions/:id/unregister","host":["https://your-domain.talentlms.com"],"path":["api","v2","ilt-sessions",":id","unregister"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"eb91bbe5-477a-4a76-9439-065e3516fcbf","name":"Session, user, or registration not found","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\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/ilt-sessions/:id/unregister","host":["https://your-domain.talentlms.com"],"path":["api","v2","ilt-sessions",":id","unregister"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f237ea2c-ea75-41b0-86f8-324f9ec6bf07"}],"id":"2f2d633b-e81b-4b1d-9e39-047f942f76f4","description":"<p>ILT Sessions</p>\n","_postman_id":"2f2d633b-e81b-4b1d-9e39-047f942f76f4","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}}},{"name":"Result","item":[{"name":"Get a user's previous test attempts for a unit","id":"16f3b5fb-469f-4643-be02-6cbd6ac6da5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/results/unit/:unitId/user/:userId/attempts?page[number]=<integer>&page[size]=<integer>","description":"<p>Returns the user's previous (archived) test attempts for a given test unit, ordered oldest-first. Answer strings are returned raw, without HTML entity encoding.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","results","unit",":unitId","user",":userId","attempts"],"host":["https://your-domain.talentlms.com"],"query":[{"description":{"content":"<p>The page number</p>\n","type":"text/plain"},"key":"page[number]","value":"<integer>"},{"description":{"content":"<p>The page size</p>\n","type":"text/plain"},"key":"page[size]","value":"<integer>"}],"variable":[{"id":"bd8e1267-b14d-427a-86c7-1c166ed7fb18","description":{"content":"<p>(Required) The ID of the test unit</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"unitId"},{"id":"3bf7469f-5c51-4997-98c6-23f547d064e9","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"userId"}]}},"response":[{"id":"32394fc5-4bdc-411f-86b6-3ef6a4fb4756","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/results/unit/:unitId/user/:userId/attempts?page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","results","unit",":unitId","user",":userId","attempts"],"query":[{"description":"The page number","key":"page[number]","value":"<integer>"},{"description":"The page size","key":"page[size]","value":"<integer>"}],"variable":[{"key":"unitId"},{"key":"userId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": [\n    {\n      \"score\": \"<string>\",\n      \"completed_on\": \"<dateTime>\",\n      \"questions\": [\n        {\n          \"id\": \"<integer>\",\n          \"text\": \"<string>\",\n          \"type\": \"<string>\",\n          \"weight\": \"<integer>\",\n          \"correct\": \"<boolean>\",\n          \"answers\": {},\n          \"correct_answers\": {},\n          \"user_answers\": {}\n        },\n        {\n          \"id\": \"<integer>\",\n          \"text\": \"<string>\",\n          \"type\": \"<string>\",\n          \"weight\": \"<integer>\",\n          \"correct\": \"<boolean>\",\n          \"answers\": {},\n          \"correct_answers\": {},\n          \"user_answers\": {}\n        }\n      ]\n    },\n    {\n      \"score\": \"<string>\",\n      \"completed_on\": \"<dateTime>\",\n      \"questions\": [\n        {\n          \"id\": \"<integer>\",\n          \"text\": \"<string>\",\n          \"type\": \"<string>\",\n          \"weight\": \"<integer>\",\n          \"correct\": \"<boolean>\",\n          \"answers\": {},\n          \"correct_answers\": {},\n          \"user_answers\": {}\n        },\n        {\n          \"id\": \"<integer>\",\n          \"text\": \"<string>\",\n          \"type\": \"<string>\",\n          \"weight\": \"<integer>\",\n          \"correct\": \"<boolean>\",\n          \"answers\": {},\n          \"correct_answers\": {},\n          \"user_answers\": {}\n        }\n      ]\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"585e64fc-8e54-40a2-be9c-beeb5177b876","name":"Invalid unit or user identifier","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/results/unit/:unitId/user/:userId/attempts?page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","results","unit",":unitId","user",":userId","attempts"],"query":[{"description":"The page number","key":"page[number]","value":"<integer>"},{"description":"The page size","key":"page[size]","value":"<integer>"}],"variable":[{"key":"unitId"},{"key":"userId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"d3628ee4-f891-471e-9b1f-0ce9bc2ad5d9","name":"The course is no longer accessible","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/results/unit/:unitId/user/:userId/attempts?page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","results","unit",":unitId","user",":userId","attempts"],"query":[{"description":"The page number","key":"page[number]","value":"<integer>"},{"description":"The page size","key":"page[size]","value":"<integer>"}],"variable":[{"key":"unitId"},{"key":"userId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"fe756d47-7d30-4245-8f95-544cbf754b01","name":"The unit or user was not found, the user is not enrolled in the course, the unit is locked by course traversal rules, or the user has no progress for this test","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/results/unit/:unitId/user/:userId/attempts?page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","results","unit",":unitId","user",":userId","attempts"],"query":[{"description":"The page number","key":"page[number]","value":"<integer>"},{"description":"The page size","key":"page[size]","value":"<integer>"}],"variable":[{"key":"unitId"},{"key":"userId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"76f36b85-804f-4d84-8554-33e25dc84283","name":"The unit is not a test, or the user is not active","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/results/unit/:unitId/user/:userId/attempts?page[number]=<integer>&page[size]=<integer>","host":["https://your-domain.talentlms.com"],"path":["api","v2","results","unit",":unitId","user",":userId","attempts"],"query":[{"description":"The page number","key":"page[number]","value":"<integer>"},{"description":"The page size","key":"page[size]","value":"<integer>"}],"variable":[{"key":"unitId"},{"key":"userId"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"16f3b5fb-469f-4643-be02-6cbd6ac6da5f"},{"name":"Get a user's test results for a unit","id":"7d9837e2-1c26-4dab-8005-9d31520bbff4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/results/unit/:unitId/user/:userId","description":"<p>Returns the current test results of a user for a given test unit. Score, questions, given answers, and correct answers are included when available, independent of learner-facing UI settings such as show score, show given answers, and show correct answers. Statistics still follow the show statistics setting.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","results","unit",":unitId","user",":userId"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"bcab9a97-4abd-403f-8c88-ea10a5e4845b","description":{"content":"<p>(Required) The ID of the test unit</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"unitId"},{"id":"1d37d33d-e5ae-4201-835a-57fa8bdf2b95","description":{"content":"<p>(Required) The ID of the user</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"userId"}]}},"response":[{"id":"06d50d8c-f565-4a59-84c7-5f3615e6e4fa","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/results/unit/:unitId/user/:userId","host":["https://your-domain.talentlms.com"],"path":["api","v2","results","unit",":unitId","user",":userId"],"variable":[{"key":"unitId"},{"key":"userId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"status\": \"<string>\",\n    \"score\": \"<float>\",\n    \"completion_date\": \"<dateTime>\",\n    \"test_abandoned\": \"<boolean>\",\n    \"maximum_score\": \"<float>\",\n    \"remaining_attempts\": \"<integer>\",\n    \"allow_test_repetition\": \"<boolean>\",\n    \"time_for_repetition\": \"<integer>\",\n    \"statistics\": {\n      \"all_tries\": \"<integer>\",\n      \"rank\": \"<integer>\",\n      \"average_score\": \"<float>\"\n    },\n    \"instructor_message\": \"<string>\"\n  }\n}"},{"id":"66acf0f6-8f3d-4713-a09d-bfd75a4b4480","name":"Invalid unit or user identifier","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/results/unit/:unitId/user/:userId","host":["https://your-domain.talentlms.com"],"path":["api","v2","results","unit",":unitId","user",":userId"],"variable":[{"key":"unitId"},{"key":"userId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"3ecff6c9-b641-4a6b-9b0d-7e53463013a1","name":"The unit or user was not found, the user is not enrolled in the course, the unit is locked by course traversal rules, or the user has no answers for this test","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/results/unit/:unitId/user/:userId","host":["https://your-domain.talentlms.com"],"path":["api","v2","results","unit",":unitId","user",":userId"],"variable":[{"key":"unitId"},{"key":"userId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"864e2990-dfb5-4827-b9f3-6546d6f543a7","name":"The unit is not a test","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/results/unit/:unitId/user/:userId","host":["https://your-domain.talentlms.com"],"path":["api","v2","results","unit",":unitId","user",":userId"],"variable":[{"key":"unitId"},{"key":"userId"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"7d9837e2-1c26-4dab-8005-9d31520bbff4"}],"id":"9136439e-b544-4ff3-8789-405f0512825a","description":"<p>Result</p>\n","_postman_id":"9136439e-b544-4ff3-8789-405f0512825a","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}}},{"name":"Skill","item":[{"name":"Get skills","id":"a3fa760b-302c-4311-9fbf-8e66624fd09a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/skills?filter[status][eq]=inactive&filter[keyword][like]=<string>","description":"<p>Returns a paginated list of skills. Supports filtering by keyword and status.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","skills"],"host":["https://your-domain.talentlms.com"],"query":[{"description":{"content":"<p>Filter by skill status</p>\n","type":"text/plain"},"key":"filter[status][eq]","value":"inactive"},{"description":{"content":"<p>Search skills by name or description</p>\n","type":"text/plain"},"key":"filter[keyword][like]","value":"<string>"}],"variable":[]}},"response":[{"id":"99d7b711-f4aa-4f44-87c6-64a2402402c2","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/skills?filter[status][eq]=inactive&filter[keyword][like]=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills"],"query":[{"description":"Filter by skill status","key":"filter[status][eq]","value":"inactive"},{"description":"Search skills by name or description","key":"filter[keyword][like]","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": [\n    {\n      \"id\": \"<integer>\",\n      \"status\": \"<string>\",\n      \"name\": \"<string>\",\n      \"image_url\": \"<string>\",\n      \"description\": \"<string>\",\n      \"created_on\": \"<dateTime>\",\n      \"last_updated_on\": \"<dateTime>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"status\": \"<string>\",\n      \"name\": \"<string>\",\n      \"image_url\": \"<string>\",\n      \"description\": \"<string>\",\n      \"created_on\": \"<dateTime>\",\n      \"last_updated_on\": \"<dateTime>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"84b2fef5-eebe-45fd-adc4-56639d0291b9","name":"Insufficient permissions, or skills not available on the current plan / disabled in settings","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/skills?filter[status][eq]=inactive&filter[keyword][like]=<string>","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills"],"query":[{"description":"Filter by skill status","key":"filter[status][eq]","value":"inactive"},{"description":"Search skills by name or description","key":"filter[keyword][like]","value":"<string>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a3fa760b-302c-4311-9fbf-8e66624fd09a"},{"name":"Create a skill","id":"cbf17b7e-176a-4b31-95ba-fe7edd544835","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"status\": \"inactive\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills","description":"<p>Creates a new skill.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","skills"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"839db6df-83dc-49fe-829b-115c9394f1d7","name":"Skill 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  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"status\": \"inactive\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\",\n    \"status\": \"<string>\",\n    \"name\": \"<string>\",\n    \"image_url\": \"<string>\",\n    \"description\": \"<string>\",\n    \"created_on\": \"<dateTime>\",\n    \"last_updated_on\": \"<dateTime>\"\n  }\n}"},{"id":"500b8f67-00d8-403b-bd0d-3e57c1c7a1f0","name":"Invalid input","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  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"status\": \"inactive\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"b513fb5b-9813-448b-9e2f-86882167f183","name":"Insufficient permissions, or skills not available on the current plan / disabled in settings","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  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"status\": \"inactive\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"cbf17b7e-176a-4b31-95ba-fe7edd544835"},{"name":"Update a skill","id":"451b8cb8-0704-4993-bd5a-c67dedcf35c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/:id","description":"<p>Updates an existing skill. Only provided fields are changed.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","skills",":id"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"1ed48777-0e42-4469-a711-04ac48431836","description":{"content":"<p>(Required) The ID of the skill</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"8024fc84-6c5d-427d-8c99-bc1f4928cd0b","name":"Skill updated","originalRequest":{"method":"PATCH","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  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/skills/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\",\n    \"status\": \"<string>\",\n    \"name\": \"<string>\",\n    \"image_url\": \"<string>\",\n    \"description\": \"<string>\",\n    \"created_on\": \"<dateTime>\",\n    \"last_updated_on\": \"<dateTime>\"\n  }\n}"},{"id":"91b31ea3-e92f-4eca-94f7-682bab2fb8ed","name":"Invalid input, or invalid skill id","originalRequest":{"method":"PATCH","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  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/skills/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"030442ce-786e-4f13-af9c-9781ae0687b1","name":"Insufficient permissions, or skills not available on the current plan / disabled in settings","originalRequest":{"method":"PATCH","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  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/skills/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"d540a76c-710e-4265-a6c7-6f14b65cc623","name":"Skill not found","originalRequest":{"method":"PATCH","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  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://your-domain.talentlms.com/api/v2/skills/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"451b8cb8-0704-4993-bd5a-c67dedcf35c6"},{"name":"Get a skill","id":"d50d2bc0-e2c8-4300-9f9e-bdb4ee890016","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/skills/:id","description":"<p>Returns a single skill by ID.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","skills",":id"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"3478fd3c-4b7b-4935-a3a3-b5789c50e6cb","description":{"content":"<p>(Required) The ID of the skill</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"7488a10d-1509-457e-99f5-d1fb77631ffb","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/skills/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"id\": \"<integer>\",\n    \"status\": \"<string>\",\n    \"name\": \"<string>\",\n    \"image_url\": \"<string>\",\n    \"description\": \"<string>\",\n    \"created_on\": \"<dateTime>\",\n    \"last_updated_on\": \"<dateTime>\"\n  }\n}"},{"id":"cb0206eb-b3b6-4fcc-9d9e-8cb3199182d9","name":"Invalid skill id","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/skills/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"c8f8920c-75f4-451c-8b47-59fd14e38a7d","name":"Insufficient permissions, or skills not available on the current plan / disabled in settings","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/skills/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"b7278151-f54d-45b3-af4d-567ba62d6f91","name":"Skill not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/skills/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d50d2bc0-e2c8-4300-9f9e-bdb4ee890016"},{"name":"Delete a skill","id":"4440002f-16b7-4a2b-9cb5-c548fd47310c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://your-domain.talentlms.com/api/v2/skills/:id","description":"<p>Deletes a single skill by ID.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","skills",":id"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"76d737ce-bc71-46c3-859f-7e7aedafd583","description":{"content":"<p>(Required) The ID of the skill</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"60d70f25-4976-4112-aa90-e6726cd32f9f","name":"Skill deleted","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/skills/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id"],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"4c90ef82-8bb0-46c3-ae26-10a0ee8f50c6","name":"Invalid skill id","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/skills/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"40da91c8-27cf-4f45-9bb0-152f7cc52c1d","name":"Insufficient permissions, or skills not available on the current plan / disabled in settings","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/skills/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"1ce0ea15-fc5a-419a-bbff-b432b00577ee","name":"Skill not found","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/skills/:id","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"4440002f-16b7-4a2b-9cb5-c548fd47310c"},{"name":"Assign a skill to a user","id":"b425bb32-6d89-433d-8aa6-76d18f80b6a2","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments","description":"<p>Assigns a skill to a user at the portal's first configured level. Returns 409 if the skill is already assigned to the user.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","skills","assignments"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"0eb3a9f3-d355-4865-80f3-653a0ad4c97d","name":"Skill assigned","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"user_id\": \"<integer>\",\n    \"skill_id\": \"<integer>\",\n    \"level_id\": \"<integer>\",\n    \"assigned_on\": \"<dateTime>\"\n  }\n}"},{"id":"8080f1d9-a9c5-4795-afac-ffcfa7d78319","name":"Invalid input","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"1936a50b-ccef-4166-aec1-fb5d07df6f9b","name":"Insufficient permissions, or skills not available on the current plan / disabled in settings","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"f6d093cf-ee89-460f-8f83-74a8b9bf5da1","name":"User or skill not found","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"52589c91-56c7-44f6-b5f0-8c89d09376c2","name":"Skill is already assigned to this user","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments"},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b425bb32-6d89-433d-8aa6-76d18f80b6a2"},{"name":"Unassign a skill from a user","id":"077941bb-4985-4f88-922d-de19846402b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"<integer>\",\n  \"skill_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments","description":"<p>Removes a skill assignment from a user. Returns 409 if no active assignment exists for the given user/skill pair.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","skills","assignments"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"697afed8-d99e-4279-bc83-5f7b86bb4f3e","name":"Skill unassigned","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"a8554d38-f86b-44cd-9a8f-f73265658b82","name":"Invalid input","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"3e00d5e6-e521-4f2d-a0af-64848bf73e85","name":"Insufficient permissions, or skills not available on the current plan / disabled in settings","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"729ec07e-dd05-46e1-9b07-c85a75409ad1","name":"User or skill not found","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"53fdd443-ee72-4255-bf4f-40cd1632407e","name":"Skill is not assigned to this user, or the skill could not be unassigned from this user","originalRequest":{"method":"DELETE","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments"},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"077941bb-4985-4f88-922d-de19846402b3"},{"name":"Update a user's skill level","id":"588a80cd-2341-4669-8b3c-86a50e61e938","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"<integer>\",\n  \"skill_id\": \"<integer>\",\n  \"level_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments","description":"<p>Updates the level of a skill already assigned to a user. Returns 409 if the skill is not currently assigned to the user.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","skills","assignments"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[]}},"response":[{"id":"2c692c62-b30a-4164-ae9d-1e9ee56550dd","name":"Skill level updated","originalRequest":{"method":"PATCH","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\",\n  \"level_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"_data\": {\n    \"user_id\": \"<integer>\",\n    \"skill_id\": \"<integer>\",\n    \"level_id\": \"<integer>\",\n    \"assigned_on\": \"<dateTime>\"\n  }\n}"},{"id":"a2bc7c12-5dd6-4e63-b8b9-d068f6040a6b","name":"Invalid input, or invalid level id","originalRequest":{"method":"PATCH","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\",\n  \"level_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"1170713d-9dc2-4f0e-b5ca-a6b9baf65638","name":"Insufficient permissions, or skills not available on the current plan / disabled in settings","originalRequest":{"method":"PATCH","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\",\n  \"level_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"76a0793f-26fe-4203-b3bb-6fe05459ba7e","name":"User or skill not found","originalRequest":{"method":"PATCH","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\",\n  \"level_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"9dbb3a50-8a2e-4ae6-ad89-9f5e4aa0360b","name":"Skill is not assigned to this user","originalRequest":{"method":"PATCH","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\": \"<integer>\",\n  \"skill_id\": \"<integer>\",\n  \"level_id\": \"<integer>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://your-domain.talentlms.com/api/v2/skills/assignments"},"status":"Conflict","code":409,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"588a80cd-2341-4669-8b3c-86a50e61e938"},{"name":"Get skill users","id":"7273588c-470d-42c0-bde1-79cec6e65c81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://your-domain.talentlms.com/api/v2/skills/:id/users","description":"<p>Returns a paginated list of users who have the skill assigned.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}},"urlObject":{"path":["api","v2","skills",":id","users"],"host":["https://your-domain.talentlms.com"],"query":[],"variable":[{"id":"6eb0eee8-4949-4abb-b839-f2d0c8cff56a","description":{"content":"<p>(Required) The ID of the skill</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"a61e37c2-de06-4a29-9e7c-18a02be03d33","name":"Successful response","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":"https://your-domain.talentlms.com/api/v2/skills/:id/users","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id","users"],"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\": \"<integer>\",\n      \"login\": \"<string>\",\n      \"name\": \"<string>\",\n      \"surname\": \"<string>\",\n      \"email\": \"<string>\",\n      \"avatar\": {\n        \"default\": \"<string>\",\n        \"sm\": \"<string>\",\n        \"md\": \"<string>\",\n        \"lg\": \"<string>\",\n        \"xl\": \"<string>\"\n      },\n      \"timezone\": \"<string>\",\n      \"language\": \"<string>\",\n      \"type\": \"<string>\",\n      \"registration\": \"<dateTime>\",\n      \"last_login\": \"<dateTime>\",\n      \"status\": \"<string>\",\n      \"last_updated\": \"<dateTime>\",\n      \"integration_user_id\": \"<string>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"login\": \"<string>\",\n      \"name\": \"<string>\",\n      \"surname\": \"<string>\",\n      \"email\": \"<string>\",\n      \"avatar\": {\n        \"default\": \"<string>\",\n        \"sm\": \"<string>\",\n        \"md\": \"<string>\",\n        \"lg\": \"<string>\",\n        \"xl\": \"<string>\"\n      },\n      \"timezone\": \"<string>\",\n      \"language\": \"<string>\",\n      \"type\": \"<string>\",\n      \"registration\": \"<dateTime>\",\n      \"last_login\": \"<dateTime>\",\n      \"status\": \"<string>\",\n      \"last_updated\": \"<dateTime>\",\n      \"integration_user_id\": \"<string>\"\n    }\n  ],\n  \"_links\": {\n    \"self\": \"<string>\",\n    \"first\": \"<string>\",\n    \"last\": \"<string>\",\n    \"prev\": \"<string>\",\n    \"next\": \"<string>\"\n  },\n  \"_meta\": {\n    \"pagination\": {\n      \"page\": \"<integer>\",\n      \"page_size\": \"<integer>\",\n      \"total_items\": \"<integer>\",\n      \"total_pages\": \"<integer>\",\n      \"total_results\": \"<integer>\"\n    }\n  }\n}"},{"id":"3f0e08e3-d6de-441c-ba2e-4fff9853f4ca","name":"Invalid skill id","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/skills/:id/users","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id","users"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"8ed9e864-4af8-4828-895f-674519405822","name":"Insufficient permissions, or skills not available on the current plan / disabled in settings","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/skills/:id/users","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id","users"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"6814ba06-7d32-43b8-9e92-a8127f75f6b6","name":"Skill not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-Key","value":"<API Key>"}],"url":{"raw":"https://your-domain.talentlms.com/api/v2/skills/:id/users","host":["https://your-domain.talentlms.com"],"path":["api","v2","skills",":id","users"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"7273588c-470d-42c0-bde1-79cec6e65c81"}],"id":"b7978f85-22f4-4b43-9581-cff2884abb6f","description":"<p>Skill</p>\n","_postman_id":"b7978f85-22f4-4b43-9581-cff2884abb6f","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","id":"7cdd0a32-3fd6-4bd8-93cd-dd09e316ca86","name":"TalentLMS Public API","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":""}]}},"variable":[{"key":"api_key","value":""},{"key":"base_url","value":"https://your-domain.talentlms.com"}]}