{ "info": { "_postman_id": "5a5391d4-0626-4a91-a047-d8c704bd8784", "name": "Betterworks API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Calibration", "item": [ { "name": "List Calibration Cycles", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/calibration/cycles/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "calibration", "cycles", "" ] } }, "response": [] }, { "name": "Get Calibration Cycle", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/calibration/cycles/:id/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "calibration", "cycles", ":id", "" ], "variable": [ { "key": "id", "value": "87e1eea2-6362-40dd-953d-55cf8278bc12" } ] } }, "response": [] }, { "name": "List Calibration Cycle Templates", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/calibration/cycle-templates/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "calibration", "cycle-templates", "" ] } }, "response": [] }, { "name": "Get Calibration Cycle Template", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/calibration/cycle-templates/:id/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "calibration", "cycle-templates", ":id", "" ], "variable": [ { "key": "id", "value": "2020cb56-91ae-412c-aed8-b29b4feabda8" } ] } }, "response": [] }, { "name": "List Calibration Talent Records", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/calibration/talent-records/?cycle_id=490202fb-cffb-467c-ba90-b66346a4af18", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "calibration", "talent-records", "" ], "query": [ { "key": "cycle_id", "value": "490202fb-cffb-467c-ba90-b66346a4af18" } ] } }, "response": [] }, { "name": "Get Calibration Talent Record", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/calibration/talent-records/:id/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "calibration", "talent-records", ":id", "" ], "variable": [ { "key": "id", "value": "15812e24-b59b-4404-b8d6-85fe3b8421a1" } ] } }, "response": [] } ] }, { "name": "Conversations", "item": [ { "name": "List Conversation Templates", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/conversations/templates/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "conversations", "templates", "" ] } }, "response": [] }, { "name": "Get Conversation Template", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/conversations/templates/:id/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "conversations", "templates", ":id", "" ], "variable": [ { "key": "id", "value": "4173" } ] } }, "response": [] }, { "name": "List Conversations", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/conversations/?deployment_id=86673&size=20", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "conversations", "" ], "query": [ { "key": "deployment_id", "value": "86673" }, { "key": "size", "value": "20" } ] } }, "response": [] } ] }, { "name": "Departments", "item": [ { "name": "List Departments", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/departments/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "departments", "" ] } }, "response": [] }, { "name": "Create Department", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"name\": \"TestDepartment\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://{{HOSTNAME}}/api/v1/departments/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "departments", "" ] } }, "response": [] }, { "name": "Update Department", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"name\": \"TestDepartmentUpdate\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://{{HOSTNAME}}/api/v1/departments/:id/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "departments", ":id", "" ], "variable": [ { "key": "id", "value": "1906" } ] } }, "response": [] }, { "name": "Deactivate Department", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "POST", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/departments/:id/deactivate/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "departments", ":id", "deactivate", "" ], "variable": [ { "key": "id", "value": "1906" } ] } }, "response": [] }, { "name": "Reactivate Department", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "POST", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/departments/:id/reactivate/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "departments", ":id", "reactivate", "" ], "variable": [ { "key": "id", "value": "1906" } ] } }, "response": [] }, { "name": "Update Departments", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"departments\": [\n {\n \"name\": \"Existing Department\",\n \"parent\": \"New Parent Department\"\n },\n {\n \"name\": \"New Department\",\n \"parent\": \"Existing Department\"\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://{{HOSTNAME}}/api/v1/departments/bulk/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "departments", "bulk", "" ] } }, "response": [] } ] }, { "name": "Feedback", "item": [ { "name": "List Feedback Templates", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/feedback/templates/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "feedback", "templates", "" ] } }, "response": [] }, { "name": "Get Feedback Template", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/feedback/templates/:id", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "feedback", "templates", ":id" ], "variable": [ { "key": "id", "value": "969" } ] } }, "response": [] }, { "name": "Get Feedback", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/feedback/?for_user_id=1", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "feedback", "" ], "query": [ { "key": "for_user_id", "value": "1" }, { "key": "cycle_id", "value": null, "disabled": true } ] } }, "response": [] }, { "name": "Get Feedback Requests", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/feedback/?for_user_id=1", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "feedback", "" ], "query": [ { "key": "for_user_id", "value": "1" }, { "key": "cycle_id", "value": null, "disabled": true } ] } }, "response": [] } ] }, { "name": "Goals", "item": [ { "name": "Get a Goal", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/goals/:id/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "goals", ":id", "" ], "variable": [ { "key": "id", "value": "1" } ] } }, "response": [] }, { "name": "Get a Goal Copy", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/goals/:id/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "goals", ":id", "" ], "variable": [ { "key": "id", "value": "1" } ] } }, "response": [] }, { "name": "Filter Goals", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/goals/filter/?visibility=public", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "goals", "filter", "" ], "query": [ { "key": "owner", "value": null, "disabled": true }, { "key": "aligned_to_goal", "value": null, "disabled": true }, { "key": "aligned_to_owner", "value": null, "disabled": true }, { "key": "team_only", "value": null, "disabled": true }, { "key": "group", "value": null, "disabled": true }, { "key": "reports_to", "value": null, "disabled": true }, { "key": "visibility", "value": "public" }, { "key": "permission", "value": null, "disabled": true }, { "key": "following", "value": null, "disabled": true }, { "key": "category", "value": null, "disabled": true }, { "key": "assessment", "value": null, "disabled": true }, { "key": "risk", "value": null, "disabled": true }, { "key": "integration", "value": null, "disabled": true }, { "key": "unit", "value": null, "disabled": true }, { "key": "top_company_goal", "value": null, "disabled": true }, { "key": "goal_name", "value": null, "disabled": true }, { "key": "date_range", "value": null, "disabled": true }, { "key": "updated_since", "value": null, "disabled": true }, { "key": "viewed_by_owner_date", "value": null, "disabled": true } ] } }, "response": [] }, { "name": "Search Goals", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/goals/search/?q=test", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "goals", "search", "" ], "query": [ { "key": "q", "value": "test" }, { "key": "visibility", "value": null, "disabled": true }, { "key": "goal_type", "value": null, "disabled": true }, { "key": "not_due", "value": null, "disabled": true }, { "key": "current", "value": null, "disabled": true }, { "key": "current_stale", "value": null, "disabled": true }, { "key": "future", "value": null, "disabled": true } ] } }, "response": [] }, { "name": "Comments", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/goals/:id/comments", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "goals", ":id", "comments" ], "query": [ { "key": "type", "value": null, "disabled": true }, { "key": "latest_time", "value": null, "disabled": true }, { "key": "size", "value": null, "disabled": true } ], "variable": [ { "key": "id", "value": "631781" } ] } }, "response": [] }, { "name": "Assessments", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/goals/:id/assessments/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "goals", ":id", "assessments", "" ], "variable": [ { "key": "id", "value": "631781" } ] } }, "response": [] }, { "name": "Check-in", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"value\":100,\n \"done\":true\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://{{HOSTNAME}}/api/v1/goals/:id/checkin/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "goals", ":id", "checkin", "" ], "variable": [ { "key": "id", "value": "631781" } ] } }, "response": [] } ] }, { "name": "Groups", "item": [ { "name": "List Groups", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/groups/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "groups", "" ] } }, "response": [] } ] }, { "name": "Hashtags", "item": [ { "name": "List Hashtags", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/hashtags/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "hashtags", "" ] } }, "response": [] } ] }, { "name": "Recognitions", "item": [ { "name": "List Recognitions", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/recognitions/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "recognitions", "" ] } }, "response": [] } ] }, { "name": "Reports", "item": [ { "name": "List Report Runs", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/report_runs/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "report_runs", "" ], "query": [ { "key": "report", "value": null, "disabled": true }, { "key": "template", "value": null, "disabled": true }, { "key": "created", "value": null, "disabled": true } ] } }, "response": [] }, { "name": "Get Report Run", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/report_runs/:id/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "report_runs", ":id", "" ], "variable": [ { "key": "id", "value": "70" } ] } }, "response": [] }, { "name": "Create Report Run", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"report\": \"all_goals\",\n \"parameters\": {\n \"date_range\": {\n \"start\": \"2021-01-01\",\n \"end\": \"2021-01-31\"\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://{{HOSTNAME}}/api/v1/report_runs/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "report_runs", "" ] } }, "response": [] } ] }, { "name": "Teams", "item": [ { "name": "List Teams", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/teams/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "teams", "" ], "query": [ { "key": "type", "value": null, "disabled": true } ] } }, "response": [] }, { "name": "Get Team", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/teams/:id", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "teams", ":id" ], "variable": [ { "key": "id", "value": "1678" } ] } }, "response": [] } ] }, { "name": "Users", "item": [ { "name": "List Users", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/users/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "users", "" ] } }, "response": [] }, { "name": "Get User", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/users/:id", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "users", ":id" ], "variable": [ { "key": "id", "value": "1" } ] } }, "response": [] }, { "name": "Search Users", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/users/search/?q=test", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "users", "search", "" ], "query": [ { "key": "q", "value": "test" }, { "key": "manager_id", "value": null, "disabled": true }, { "key": "can_view_goal_id", "value": null, "disabled": true }, { "key": "deactivated", "value": null, "disabled": true } ] } }, "response": [] }, { "name": "Update Users", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"dry_run\": true,\n \"users\": [\n {\n \"email\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"employee_id\": \"u1_1234\",\n \"department_name\": \"Engineering\",\n \"title\": \"Software Engineer\",\n \"manager_id\": \"u0_0987\",\n \"location\": \"San Francisco\",\n \"preferred_name\": \"\",\n \"matrix_manager\": \"\",\n \"phone\": \"1234567890\",\n \"custom_01\": \"extra data\"\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://{{HOSTNAME}}/api/v1/users/bulk/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "users", "bulk", "" ] } }, "response": [] }, { "name": "Assign Roles", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"roles\": [\n {\n \"role\": \"superadmin\",\n \"user_id\": 9\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://{{HOSTNAME}}/api/v1/users/roles/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "users", "roles", "" ] } }, "response": [] }, { "name": "New Request", "request": { "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "APIToken {{APIKEY}}", "type": "string" }, { "key": "key", "value": "Authorization", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{HOSTNAME}}/api/v1/users/roles/", "protocol": "https", "host": [ "{{HOSTNAME}}" ], "path": [ "api", "v1", "users", "roles", "" ] } }, "response": [] } ] } ] }