{ "info": { "_postman_id": "bbe744d0-56df-40af-83b8-d7d5be0de640", "name": "API Reference Associated Persons embedSessions API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T02:01:29.000Z", "updatedAt": "2026-07-28T02:01:29.000Z", "lastUpdatedBy": "35240", "uid": "35240-bbe744d0-56df-40af-83b8-d7d5be0de640" }, "item": [ { "name": "embed", "item": [ { "name": "sessions", "item": [ { "name": "Get Embedded SDK token", "id": "3c75e51b-f7b5-4ab4-9185-3efc7ea5025b", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"employer_id\": \"\",\n \"employee_id\": \"\",\n \"external_customer_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/embed/sessions", "host": [ "{{baseUrl}}" ], "path": [ "embed", "sessions" ] }, "description": "Retrieve a `token` to authenticate an `employer` or `employee` with the Kota Embedded SDK." }, "response": [ { "id": "3578d14e-ad27-4bb7-880d-bd9ddbf004df", "name": "OK", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"employer_id\": \"\",\n \"employee_id\": \"\",\n \"external_customer_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/embed/sessions", "host": [ "{{baseUrl}}" ], "path": [ "embed", "sessions" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"token\": \"\",\n \"expiry\": \"\"\n}", "createdAt": "2026-07-28T02:01:30.000Z", "updatedAt": "2026-07-28T02:01:30.000Z", "uid": "35240-3578d14e-ad27-4bb7-880d-bd9ddbf004df" }, { "id": "0e5128d0-3533-4962-8847-64e077ec03bc", "name": "Bad Request", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"employer_id\": \"\",\n \"employee_id\": \"\",\n \"external_customer_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/embed/sessions", "host": [ "{{baseUrl}}" ], "path": [ "embed", "sessions" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"type\": \"\",\n \"title\": \"\",\n \"status\": \"\",\n \"detail\": \"\",\n \"instance\": \"\",\n \"errors\": {\n \"ullamco_44\": [\n \"\",\n \"\"\n ],\n \"do_9e\": [\n \"\",\n \"\"\n ]\n }\n}", "createdAt": "2026-07-28T02:01:30.000Z", "updatedAt": "2026-07-28T02:01:30.000Z", "uid": "35240-0e5128d0-3533-4962-8847-64e077ec03bc" }, { "id": "f4443a1e-88fe-47f4-9e40-779ad565460e", "name": "Not Found", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"employer_id\": \"\",\n \"employee_id\": \"\",\n \"external_customer_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/embed/sessions", "host": [ "{{baseUrl}}" ], "path": [ "embed", "sessions" ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"type\": \"\",\n \"title\": \"\",\n \"status\": \"\",\n \"detail\": \"\",\n \"instance\": \"\"\n}", "createdAt": "2026-07-28T02:01:30.000Z", "updatedAt": "2026-07-28T02:01:30.000Z", "uid": "35240-f4443a1e-88fe-47f4-9e40-779ad565460e" } ], "createdAt": "2026-07-28T02:01:30.000Z", "updatedAt": "2026-07-28T02:01:30.000Z", "uid": "35240-3c75e51b-f7b5-4ab4-9185-3efc7ea5025b" } ], "id": "133eb3bc-092f-4d0d-834a-9d012f65d759", "createdAt": "2026-07-28T02:01:30.000Z", "updatedAt": "2026-07-28T02:01:30.000Z", "uid": "35240-133eb3bc-092f-4d0d-834a-9d012f65d759" } ], "id": "e873eeb6-a2bb-4a02-a948-3e598e1c7df3", "createdAt": "2026-07-28T02:01:30.000Z", "updatedAt": "2026-07-28T02:01:30.000Z", "uid": "35240-e873eeb6-a2bb-4a02-a948-3e598e1c7df3" } ], "variable": [ { "key": "baseUrl", "value": "https://test.api.kota.io" } ] }