{"info":{"_postman_id":"9c3cc54d-622c-4011-bb6a-ec67baa7b26b","name":"BPCC Configuration API (JA)","description":"<html><head></head><body><p>Bright Pattern Contact Center（BPCC）のConfiguration APIを使用すると、現在以下の操作が可能です：</p>\n<ul>\n<li>コンタクトセンターのユーザーの作成、更新、削除。</li>\n<li>エージェントのスキルを割り当てたり変更したり、スキルレベルを更新したりできます。</li>\n<li>セキュリティポリシーに基づきロックされたユーザーアカウントのロックを解除できます。</li>\n<li>既存の全ユーザーのリストと、その内線および外部（DID）電話番号を取得できます。</li>\n<li>既存のすべての外部番号と、その現在の割り当て情報（DID、ルーティングポイントなど）のリストを取得できます。</li>\n</ul>\n<p>このドキュメントでは、対応する REST API メソッドについて、リクエストおよびレスポンスの例を交えて説明しています。この API は、 <a href=\"https://www.getpostman.com/\">Postman API開発環境</a> に読み込んで、ご自身のアクセストークンを使用してAPIとやり取りすることができます。</p>\n<h2 id=\"メモ\">メモ</h2>\n<ul>\n<li>HTTP または HTTPS のいずれかの通信プロトコルを設定できます。この設定は、Configuration Web Portal サーバー全体に適用されます。パブリックインターネット上での本番環境展開のみの場合、HTTPS が有効になります。</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"58450950","collectionId":"9c3cc54d-622c-4011-bb6a-ec67baa7b26b","publishedId":"2sBYB4Lmg8","public":true,"customColor":{"right-sidebar":"303030","top-bar":"FFFFFF","highlight":"FF6C37"},"publishDate":"2026-09-29T10:20:19.000Z"},"item":[{"name":"認証","item":[{"name":"Get Access Token","id":"27293ffc-2601-44f9-b2f7-3fe804c1e945","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"","description":"<p><a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja#Username\">Username</a> of a BP user authorized to <a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Privileges/ja#Manage_users\">manage users</a> and/or <a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Privileges/ja#Manage_phones\">phones</a>.</p>\n","type":"text"},{"key":"client_secret","value":"","description":"<p><a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja#API_secret\">API secret key</a> generated for the above user.</p>\n","type":"text"},{"key":"scope","value":"","description":"<p>Your contact center domain name, e.g., <em>example.brightpattern.com</em>.</p>\n","type":"text"},{"key":"grant_type","value":"","description":"<p>Grant type. Must be set to <em>client_credentials</em>.</p>\n","type":"text"}]},"url":"https://:tenant-URL/configapi/v2/oauth/token","description":"<p>このAPI経由で行われるその後の各リクエストの認証に使用されるアクセストークンを返します。</p>\n","urlObject":{"protocol":"https","port":"tenant-URL","path":["configapi","v2","oauth","token"],"query":[],"variable":[{"description":{"content":"<p>コンタクトセンターのドメイン名（例：example.brightpattern.com）。</p>\n","type":"text/plain"},"type":"any","value":"boromir.bugfocus.com","key":"tenant-URL"}]}},"response":[{"id":"c9ce5d0a-5383-4fe1-a3c7-acc7af0251fb","name":"Get Access Token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"admin","description":"[Username](https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja#Username) of a BP user authorized to [manage users](https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Privileges/ja#Manage_users) and/or [phones](https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Privileges/ja#Manage_phones).","type":"text"},{"key":"client_secret","value":"X0vhlwMc6YoEbQDDqQGM9nOw8p7v9110rjTL1COxGBnpIAZvY6ryrrBQT5N28qS9","description":"[API secret key](https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja#API_secret) generated for the above user.","type":"text"},{"key":"scope","value":"yourcompany.brightpattern.com","description":"Your contact center domain name, e.g., *example.brightpattern.com*.","type":"text"},{"key":"grant_type","value":"client_credentials","description":"Grant type. Must be set to *client_credentials*.","type":"text"}]},"url":{"raw":"https://:tenant-URL/configapi/v2/oauth/token","protocol":"https","port":"tenant-URL","path":["configapi","v2","oauth","token"],"variable":[{"key":"tenant-URL","value":"yourcompany.brightpattern.com","description":"Your contact center domain name, e.g., *example.brightpattern.com*."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Date","value":"Mon, 22 Apr 2019 02:07:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"242"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"CCE2C2EB964827XXXXXXXXXX3E1DEB2867C86D6C7ECDCE36C18D56XXXXXXXXXX\",\n    \"token_type\": \"Bearer\",\n    \"expires_in\": \"3600\",\n    \"scope\": \"yourcompany.brightpattern.com\"\n}"}],"_postman_id":"27293ffc-2601-44f9-b2f7-3fe804c1e945"}],"id":"ab49882b-1b30-4e21-96eb-a8bdba9fdcb8","description":"<p>このAPIのクライアントを認証するために、<a href=\"https://tools.ietf.org/html/rfc6749#section-4.4\">OAuth 2.0 クライアントクレデンシャルグラント</a>が使用されます。認証されたユーザーが要求された操作を実行するための適切な権限を持っているかどうかが確認されます。権限の完全なリストは<a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Privileges/ja\">こちら</a>で確認できます。権限は、1つまたは複数の<a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Roles/ja\">役割</a>を通じてユーザーに割り当てられます。</p>\n<p>アクセストークンを取得するには：</p>\n<ol>\n<li>BPCC設定ポータルにログインしてください。</li>\n<li><a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja\">「ユーザー」</a>ページに移動してください。</li>\n<li>BPCC設定APIを経由して実行したいタスクに対応する権限を持つユーザーを選択するか、作成してください。</li>\n<li>[生成] ボタンをクリックして、<a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja#API_secret\">APIシークレットキー</a>を生成します。生成されたキーをコピーし、次のステップのためにユーザー名を控えておいてください。</li>\n<li><em>Get Access Token</em> メソッドを使用して、アクセストークンを取得してください。<em>client_id</em> にはユーザー名を、<em>client_secret</em> には生成された API シークレットキーを設定してください。</li>\n<li>レスポンスで返された <em>access_token</em> の値を使用して、BPCC 設定 API 経由で送信されるその後の各リクエストの <em>Authorization: Bearer [アクセストークン]</em> ヘッダーを設定してください。</li>\n</ol>\n","event":[{"listen":"prerequest","script":{"id":"830434b2-fdf6-4177-acf1-6ecaaa137df8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6541e414-87ee-4fbb-a0fc-359229bd1659","type":"text/javascript","exec":[""]}}],"_postman_id":"ab49882b-1b30-4e21-96eb-a8bdba9fdcb8"},{"name":"ユーザー","item":[{"name":"Create User","id":"e3a16210-0f9f-4f44-aaa3-ac27ea39444e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"loginId\": \"testuser006\",\r\n    \"password\": \"$$$999aaa\",\r\n    \"firstName\": \"Test\",\r\n    \"lastName\": \"User006\",\r\n    \"team\": \"Support Team\",\r\n    \"workPhone\": \"6373335656\",\r\n    \"mobilePhone\": \"6374128990\",\r\n    \"email\": \"testuser006@nowhere.net\",\r\n    \"disabled\": false,\r\n    \"changePassword\": true,\r\n    \"skills\": {\r\n        \"Support\": 100,\r\n        \"Mobile\": 100,\r\n        \"Cable\": 70\r\n    },\r\n    \"roles\": [\r\n        \"Agent\"\r\n    ]\r\n}"},"url":"https://:tenant_url/configapi/v2/user","description":"<p>コンタクトセンターの設定に新規のユーザーを作成します。</p>\n","urlObject":{"protocol":"https","port":"tenant_url","path":["configapi","v2","user"],"query":[],"variable":[{"description":{"content":"<p>コンタクトセンターのドメイン名（例：example.brightpattern.com）。</p>\n","type":"text/plain"},"type":"any","value":"","key":"tenant_url"}]}},"response":[{"id":"9ccf6c05-3bd5-453c-a3da-6c7fca19102b","name":"Create user with a complete data set","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer XXXXXXXX","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"loginId\": \"testuser005\",\r\n    \"password\": \"$$$999aaa\",\r\n    \"firstName\": \"Test\",\r\n    \"lastName\": \"User005\",\r\n    \"team\": \"Support Team\",\r\n    \"extension\": \"2005\",\r\n    \"workPhone\": \"6373335656\",\r\n    \"mobilePhone\": \"6374128990\",\r\n    \"email\": \"testuser005@nowhere.net\",\r\n    \"disabled\": false,\r\n    \"changePassword\": true,\r\n    \"skills\": {\r\n        \"Support\": 100,\r\n        \"Mobile\": 100,\r\n        \"Cable\": 70\r\n    },\r\n    \"roles\": [\r\n        \"Agent\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://:tenant-URL/configapi/v2/user","protocol":"https","port":"tenant-URL","path":["configapi","v2","user"],"variable":[{"key":"tenant-URL","value":"yourcompany.brightpattern.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Date","value":"Mon, 25 Feb 2019 07:35:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"OK"}],"_postman_id":"e3a16210-0f9f-4f44-aaa3-ac27ea39444e"},{"name":"Get User Data","id":"aba9d084-7573-41e7-9cc9-006a17ae265b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer <token>"}],"url":"https://:tenant_url/configapi/v2/user/:username","description":"<p>名前、所属チーム、内線番号、スキル、ログイン情報などのユーザーデータを返します</p>\n","urlObject":{"protocol":"https","port":"tenant_url","path":["configapi","v2","user",":username"],"query":[],"variable":[{"description":{"content":"<p>データの照会対象となるユーザーのユーザー名です。</p>\n","type":"text/plain"},"type":"any","value":"","key":"username"}]}},"response":[{"id":"92c2ec43-f56e-411d-a172-806477cd796b","name":"Get user data","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer XXXXXXXX"}],"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/user/:username","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","user",":username"],"variable":[{"key":"username","value":"testuser005","description":"[Username](https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja#Username) of a BP user."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Date","value":"Mon, 25 Feb 2019 07:45:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"298"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n \"disabled\":false,\n \"changePassword\":false,\n \"skills\":{},\n \"loginId\":\"frank.zappa\",\n \"firstName\":\"Frank\",\n \"lastName\":\"Zappa\",\n \"team\":\"Customer Service\",\n \"extension\":\"1048\",\n \"email\":\"frank.zappa@gmail.com\",\n \"roles\":[\"Agent\"]\n \"loginInfo\": {\n    \"isLoggedIn\": true,\n    \"lastLogin\": \"2024-01-11T20:39:16.000Z\",\n    \"lastLogout\": \"2024-01-11T20:39:16.000Z\",\n    \"browser\": \"Chrome 120.0.0\",\n    \"phoneMode\": \"Browser Secure\",\n    \"os\": \"Linux\",\n    \"ipAddress\": \"172.27.0.1\",\n    \"userAgent\": \"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36\",\n    \"adHelperVersion\": \"5.20.0.604\",\n    \"appType\": \"Agent Desktop\",\n    \"appVersion\": \"5.24.99.755\"\n  }\n }"}],"_postman_id":"aba9d084-7573-41e7-9cc9-006a17ae265b"},{"name":"Update User ","id":"291ae1d9-4979-40a8-b0d2-92de50afb272","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"disabled\": \"true\",\r\n    \"team\": \"Accounting\"\r\n}"},"url":"https://:tenant_url/configapi/v2/user/:username","description":"<p>既存のユーザーの1つ以上の属性を更新します。現在、この機能を使用して以下のプロパティを更新できます：</p>\n<ul>\n<li>スキル</li>\n<li>無効化</li>\n<li>パスワード</li>\n<li>changePassword</li>\n<li>チーム</li>\n</ul>\n","urlObject":{"protocol":"https","port":"tenant_url","path":["configapi","v2","user",":username"],"query":[],"variable":[{"description":{"content":"<p>データを更新するユーザーのユーザー名です。</p>\n","type":"text/plain"},"type":"any","value":"","key":"username"}]}},"response":[{"id":"5bb82bdb-510b-4c3a-b3a7-5073a647e1b1","name":"Disable user via Update User","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer XXXXXXXX","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"disabled\": \"true\",\r\n    \"team\": \"Accounting\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/user/:username","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","user",":username"],"variable":[{"key":"username","value":"testuser004","description":"[Username](https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja#Username) of the BPCC user."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Date","value":"Mon, 25 Feb 2019 22:51:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"OK"}],"_postman_id":"291ae1d9-4979-40a8-b0d2-92de50afb272"},{"name":"Get User Lock State","id":"3621326a-2be0-4dca-920a-c6ff508ec287","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"url":"https://:tenant_url/configapi/v2/user/lock/:username","description":"<p>無効なログイン試行が回数を越えたため、ユーザーのアカウントが一時的にロックされているかどうかを確認します。</p>\n","urlObject":{"protocol":"https","port":"tenant_url","path":["configapi","v2","user","lock",":username"],"query":[],"variable":[{"description":{"content":"<p>ロック状態を確認するユーザーのユーザー名です。</p>\n","type":"text/plain"},"type":"any","value":"","key":"username"}]}},"response":[{"id":"0a307e25-bbbd-4c23-a93d-ba83bc0566f9","name":"Get User Lock State","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer XXXXXXXX","type":"text"}],"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/user/lock/:username","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","user","lock",":username"],"variable":[{"key":"username","value":"testuser005","description":"[Username](https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja#Username) of the BPCC user."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Date","value":"Mon, 25 Feb 2019 23:05:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"18"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"lockedOut\": true\n}"}],"_postman_id":"3621326a-2be0-4dca-920a-c6ff508ec287"},{"name":"Clear User Lock State","id":"92c7ba80-257b-47ec-b8fc-c618d5afed98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"url":"https://:tenant_url/configapi/v2/user/lock/:username","description":"<p>不正なログイン試行が繰り返されたために一時的にロックされたユーザーのアカウントのロックを解除します。</p>\n","urlObject":{"protocol":"https","port":"tenant_url","path":["configapi","v2","user","lock",":username"],"query":[],"variable":[{"description":{"content":"<p>ロックを解除するユーザーのユーザー名です。</p>\n","type":"text/plain"},"type":"any","value":"","key":"username"}]}},"response":[{"id":"41a3e74f-9851-4633-9ea2-0fc5545d3af5","name":"Clear User Lock State","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer XXXXXXXX","type":"text"}],"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/user/lock/:username","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","user","lock",":username"],"variable":[{"key":"username","value":"testuser005","description":"[Username](https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja#Username) of the BPCC user."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Date","value":"Mon, 25 Feb 2019 23:06:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"19"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"lockedOut\": false\n}"}],"_postman_id":"92c7ba80-257b-47ec-b8fc-c618d5afed98"},{"name":"Delete User","id":"b8a7c9a7-9fe7-401a-b168-74f62439e1d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"url":"https://:tenant_url/configapi/v2/user/:username","description":"<p>既存のユーザーを削除します。</p>\n","urlObject":{"protocol":"https","port":"tenant_url","path":["configapi","v2","user",":username"],"query":[],"variable":[{"description":{"content":"<p>削除するユーザーのユーザー名です。</p>\n","type":"text/plain"},"type":"any","value":"","key":"username"}]}},"response":[{"id":"3a6a58f9-e9f1-461f-9254-3b66cbf737ae","name":"Delete User","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer XXXXXXXX","type":"text"}],"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/user/:username","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","user",":username"],"variable":[{"key":"username","value":"eric.chen","description":"Username of the user to be deleted."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Date","value":"Mon, 22 Apr 2019 02:44:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"OK"}],"_postman_id":"b8a7c9a7-9fe7-401a-b168-74f62439e1d4"},{"name":"Get Teams","id":"c7204964-34b2-4efa-b560-da35fe89bc9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"url":"https://:tenant_URL/configapi/v2/team","description":"<p>このメソッドは、コンタクトセンター内に存在するすべてのチームのリストを返します。</p>\n","urlObject":{"protocol":"https","port":"tenant_URL","path":["configapi","v2","team"],"query":[],"variable":[]}},"response":[{"id":"fc892def-7e20-48a2-b6ab-12c8425d652b","name":"Get Teams","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer XXXXXXXX","type":"text"}],"url":"https://yourcontactcenter.brightpattern.com/configapi/v2/team"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"Administrators\"\n    },\n    {\n        \"name\": \"Contact Center Support\"\n    },\n    {\n        \"name\": \"CSIM Support\"\n    },\n    {\n        \"name\": \"Customer Service\"\n    },\n    {\n        \"name\": \"Maintenance Renewal\"\n    },\n    {\n        \"name\": \"Management\"\n    }\n]"}],"_postman_id":"c7204964-34b2-4efa-b560-da35fe89bc9d"}],"id":"18d9f86d-a40b-4cdb-af0f-f22e632aab43","description":"<p>With the <em>https://:tenant_url/configapi/v2/user</em> endpoint you can:</p>\n<ul>\n<li>Create new users and define most of their attributes</li>\n<li>Update existing users</li>\n<li>Check and clear user lockout state</li>\n<li>Manage agents' skills</li>\n<li>Delete existing users</li>\n</ul>\n<p>Below is a brief description of all user attributes that can be accessed via this API. More detailed descriptions of these attributes can be found <a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja\">here</a>.</p>\n<ul>\n<li>All attributes are strings unless otherwise noted.</li>\n<li>All attributes are optional unless otherwise noted.</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>loginId</td>\n<td>Username. Required to create user. Used to identify the user in all subsequent User Management API operations.</td>\n</tr>\n<tr>\n<td>password</td>\n<td>Password. Format must comply with <a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/Security/SecurityPolicy/ja\">security policy</a>.</td>\n</tr>\n<tr>\n<td>changePassword</td>\n<td>Indicates whether user must change password on next login. Boolean. Default is false.</td>\n</tr>\n<tr>\n<td>firstName</td>\n<td>First name. Required to create user.</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td>Last name. Required to create user.</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Team that the user is assigned to. Required to create user.</td>\n</tr>\n<tr>\n<td>extension</td>\n<td>User's extension number. If not specified, an extension will be created and assigned automatically.</td>\n</tr>\n<tr>\n<td>workPhone</td>\n<td>User's work phone number.</td>\n</tr>\n<tr>\n<td>mobilePhone</td>\n<td>User's mobile phone number.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>User's email address.</td>\n</tr>\n<tr>\n<td>disabled</td>\n<td>Indication whether the user account is disabled or enabled. Boolean (true/flase).</td>\n</tr>\n<tr>\n<td>skills</td>\n<td>For agents an array of skills with levels (e.g., \"Support\": 75).</td>\n</tr>\n<tr>\n<td>roles</td>\n<td>An array of user's roles (e.g., Agent).</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"9efd7ea2-dc6b-42c7-8ca6-f9ea0f325188","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cdd514ba-915a-4bcd-839a-0570ebd9d6ea","type":"text/javascript","exec":[""]}}],"_postman_id":"18d9f86d-a40b-4cdb-af0f-f22e632aab43"},{"name":"電話","item":[{"name":"Get Directory","id":"1c431437-85c1-41e7-8f3e-16c0237db03c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"url":"https://:tenant_url/configapi/v2/phone/user","description":"<p>各ユーザーの内線番号および割り当てられた外部番号（DID）を含むユーザーリストを返します。</p>\n","urlObject":{"protocol":"https","port":"tenant_url","path":["configapi","v2","phone","user"],"query":[],"variable":[{"description":{"content":"<p>コンタクトセンターのドメイン名（例：example.brightpattern.com）。</p>\n","type":"text/plain"},"type":"any","value":"","key":"tenant_url"}]}},"response":[{"id":"28633fcf-9157-4753-8b6e-0cbbbe5dc553","name":"Get Directory","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer XXXXXXXX","type":"text"}],"url":{"raw":"https://:tenant/configapi/v2/phone/user","protocol":"https","port":"tenant","path":["configapi","v2","phone","user"],"variable":[{"key":"tenant","value":"yourcompany.brightpattern.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Date","value":"Tue, 26 Feb 2019 00:16:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1072"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"extension\": \"1000\",\n        \"loginId\": \"user\",\n        \"firstName\": \"User\",\n        \"lastName\": \"Lastname\",\n        \"external\": \"16505555555\",\n        \"voiceMail\": true,\n        \"greeting\": false\n    },\n    {\n        \"extension\": \"1001\",\n        \"loginId\": \"navarro\",\n        \"firstName\": \"Jose\",\n        \"lastName\": \"Navarro\",\n        \"voiceMail\": false,\n        \"greeting\": false\n    },\n    {\n        \"extension\": \"1002\",\n        \"loginId\": \"wandabui\",\n        \"firstName\": \"Wanda\",\n        \"lastName\": \"Bui\",\n        \"voiceMail\": false,\n        \"greeting\": false\n    },\n    {\n        \"extension\": \"1004\",\n        \"loginId\": \"dale.turner\",\n        \"firstName\": \"Dale\",\n        \"lastName\": \"Turner\",\n        \"voiceMail\": false,\n        \"greeting\": false\n    },\n    {\n        \"extension\": \"1005\",\n        \"loginId\": \"edna.partee\",\n        \"firstName\": \"Edna\",\n        \"lastName\": \"Partee\",\n        \"voiceMail\": false,\n        \"greeting\": false\n    },\n    {\n        \"extension\": \"1006\",\n        \"loginId\": \"eric.chen\",\n        \"firstName\": \"Eric\",\n        \"lastName\": \"Chen\",\n        \"voiceMail\": false,\n        \"greeting\": false\n    },\n    {\n        \"extension\": \"1007\",\n        \"loginId\": \"admin\",\n        \"firstName\": \"API\",\n        \"lastName\": \"User\",\n        \"voiceMail\": false,\n        \"greeting\": false\n    },\n    {\n        \"extension\": \"2004\",\n        \"loginId\": \"testuser004\",\n        \"firstName\": \"Test\",\n        \"lastName\": \"User004\",\n        \"voiceMail\": false,\n        \"greeting\": false\n    },\n    {\n        \"extension\": \"2005\",\n        \"loginId\": \"testuser005\",\n        \"firstName\": \"Test\",\n        \"lastName\": \"User005\",\n        \"voiceMail\": false,\n        \"greeting\": false\n    }\n]"}],"_postman_id":"1c431437-85c1-41e7-8f3e-16c0237db03c"},{"name":"Get Access Numbers","id":"6276f57d-cb9a-4243-842d-088a72e4dcf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","type":"text"}],"url":"https://:tenant_url/configapi/v2/phone/ext","description":"<p>現在割り当てられているアクセス番号のリストを返します。</p>\n","urlObject":{"protocol":"https","port":"tenant_url","path":["configapi","v2","phone","ext"],"query":[],"variable":[{"description":{"content":"<p>コンタクトセンターのドメイン名（例：example.brightpattern.com）。</p>\n","type":"text/plain"},"type":"any","value":"","key":"tenant_url"}]}},"response":[{"id":"7bf96f93-dfd1-4b19-b74d-031d8f9c6995","name":"Get Access Numbers","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer XXXXXXXX","type":"text"}],"url":{"raw":"https://:tenant/configapi/v2/phone/ext","protocol":"https","port":"tenant","path":["configapi","v2","phone","ext"],"variable":[{"key":"tenant","value":"yourcompany.brightpattern.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0"},{"key":"Date","value":"Tue, 26 Feb 2019 00:07:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"91"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"number\": \"16505555555\",\n        \"media\": \"voice_text\",\n        \"type\": \"scenario\",\n        \"scenario\": \"Main Inbound\"\n    }\n]"}],"_postman_id":"6276f57d-cb9a-4243-842d-088a72e4dcf0"}],"id":"5461d661-7843-4397-bdff-7ec969ed2c38","description":"<p><em>https://:tenant/configapi/v2/phone</em> エンドポイントを使用すると、以下のことができます：</p>\n<ul>\n<li>すべてのコンタクトセンターユーザーのリスト（内線番号およびDID番号を含む）を取得する</li>\n<li>すべてのアクセス番号と、その現在の割り当て状況（DID の割り当て先ユーザーおよびルーティングポイントの割り当て先シナリオ）のリストを取得する</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"6794d6f5-999d-4cb0-829d-6959398ad43e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5c345008-e387-4d9a-9c27-b35112c8a424","type":"text/javascript","exec":[""]}}],"_postman_id":"5461d661-7843-4397-bdff-7ec969ed2c38"},{"name":"エラーコード","item":[],"id":"3b149cff-3a86-47f8-a775-09b788c1461a","description":"<ul>\n<li><strong>400 Bad Request</strong> - データ整合性のルールに違反しているか、API でサポートされていないため、要求された操作を実行できないことを示します。エラーメッセージの本文には、リクエストが拒否された原因となっているリクエストの特定のエレメント（例：特定のオブジェクトのプロパティ）に関する情報が含まれている場合があります。</li>\n<li><strong>404 Not Found</strong> - GET メソッドの場合、要求されたオブジェクトが見つからないことを示します。POST および PUT メソッドの場合、リクエストで指定されたプロパティで参照されているオブジェクトのいずれかが見つからないことを示します。エラーメッセージの本文には、見つからなかったオブジェクトの種類（例：_ユーザーチームが見つかりません_）が示される場合があります。</li>\n<li><strong>409 競合</strong> - 一意のパラメータ（例：_ユーザー名_）に指定された値を持つオブジェクトがすでに存在することを示します。</li>\n<li><strong>415 サポートされていないメディアタイプ</strong> - メディアタイプが指定されていないか、または誤って指定されています。</li>\n<li><strong>500 リクエスト失敗</strong> - エンドポイントの指定が正しくありません。</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"ac38d5c5-5a7d-4e9b-bbc3-26257f04957f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a87c926b-7d3e-47ba-900a-9fd2c1b32830","type":"text/javascript","exec":[""]}}],"_postman_id":"3b149cff-3a86-47f8-a775-09b788c1461a"}],"event":[{"listen":"prerequest","script":{"id":"2ce1b78e-67eb-400d-b684-230f2796d7e4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"85c3d2a4-8697-4260-aa27-ecf4f85f1876","type":"text/javascript","exec":[""]}}]}