{"info":{"_postman_id":"d2954597-6afb-4724-afe8-28863c270264","name":"BPCC Interaction Content API (JA)","description":"<html><head></head><body><p>BPCC Interaction コンテンツ API を使用すると、現在以下のことが可能です：</p>\n<ul>\n<li>サービス音声コールの<a href=\"https://help.brightpattern.com/latest:Reporting-reference-guide/RecordingsDetailsFormat/ja\">一般的なメタデータ</a>を取得できます。</li>\n<li>サービス音声コールの通常の音声録音データをGSMフォーマットで取得できます（通常の録音データには、すべてのコールセグメントおよびすべてのコール参加者の音声が含まれます）。</li>\n<li>個々の参加者の音声記録を非圧縮PCMフォーマットで取得できます（コンタクトセンターでマルチチャンネル通話録音機能が有効になっている場合、このような録音を利用可能です）。</li>\n</ul>\n<p>本ドキュメントでは、対応するREST APIメソッドについて、リクエストおよびレスポンスの例を交えて説明しています。このAPIは、 <a href=\"https://www.getpostman.com/\">Postman API 開発環境</a> に読み込み、独自のアクセストークンを使用してAPIとやり取りすることができます。</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"58450950","collectionId":"d2954597-6afb-4724-afe8-28863c270264","publishedId":"2sBYB4Lmka","public":true,"customColor":{"highlight":"FF6C37","right-sidebar":"303030","top-bar":"FFFFFF"},"publishDate":"2026-09-29T10:20:26.000Z"},"item":[{"name":"認証","item":[{"name":"Get Access Token","id":"bbb0b721-d728-44c4-99b9-6b49053ef6f2","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#Allow_recording_export_API_access\">export recordings via API</a>. </p>\n","type":"text"},{"key":"client_secret","value":"","description":"<p>API secret key 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":"","key":"tenant_url"}]}},"response":[{"id":"9613fcdd-0e53-478d-88c0-7a4514feb2de","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 [export recordings via API](https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Privileges/ja#Allow_recording_export_API_access). \n","type":"text"},{"key":"client_secret","value":"X0vhlwMc6YoEbQDDqQGM9nOw8p7v9110rjTL1COxGBnpIAZvY6ryrrBQT5N28qS9","description":"API secret key generated for the above user.","type":"text"},{"key":"scope","value":"sasha.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":"sasha.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 03:22:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"242"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"F25D3BD6FCF559A63CAA5BBE5021C238B0F1B57D3D7D3EA3C9B4FA779B549A20\",\n    \"token_type\": \"Bearer\",\n    \"expires_in\": \"3600\",\n    \"scope\": \"sasha.brightpattern.com\"\n}"}],"_postman_id":"bbb0b721-d728-44c4-99b9-6b49053ef6f2"}],"id":"3853d868-ab5b-40ad-985a-f10bb08dab50","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>「_録画エクスポート 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_」メソッドを使用して、アクセストークンを取得してください。_client_id</em> にはユーザー名を、<em>client_secret</em> には生成された API シークレットキーを設定してください。</li>\n<li>レスポンスで返された <em>access_token</em> の値を使用して、この API 経由で送信されるその後の各リクエストの「_Authorization: Bearer [access token]_」ヘッダーに設定してください。</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":"3853d868-ab5b-40ad-985a-f10bb08dab50"},{"name":"通常の通話録音","item":[{"name":"Get Regular Recording Audio File","id":"66314af4-4def-4e9d-99b9-d8ce4f20164b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://:tenant_url/configapi/v2/recordings/audio?giid=A44B62DE-75FB-47CD-A103-8F778CD1032A&stepid=C6A1ECF1-6C4E-4D13-B848-718273ECB0CA&=","description":"<p>指定された通話録音の全参加者の音声が収録された音声ファイルを、GSMフォーマットで返します。</p>\n","urlObject":{"protocol":"https","port":"tenant_url","path":["configapi","v2","recordings","audio"],"query":[{"description":{"content":"<p><a href=\"https://help.brightpattern.com/latest:Reporting-reference-guide/GlobalInteractionIdentifier/ja\">グローバルインタラクション識別子</a>.</p>\n","type":"text/plain"},"key":"giid","value":"A44B62DE-75FB-47CD-A103-8F778CD1032A"},{"description":{"content":"<p>記録を取得するインタラクションのステップ識別子です。シナリオ変数 <em>$(item.interactionStepId)</em> または、レポート用データベースの <em>call_detail</em> テーブルにある <em>callee_interaction_step_id</em> フィールドから取得できます。</p>\n","type":"text/plain"},"key":"stepid","value":"C6A1ECF1-6C4E-4D13-B848-718273ECB0CA"},{"key":"","value":""}],"variable":[{"description":{"content":"<p>コンタクトセンターのドメイン名（例：example.brightpattern.com）。</p>\n","type":"text/plain"},"type":"any","value":"","key":"tenant_url"}]}},"response":[{"id":"06a2a28f-dca1-44e3-8180-6266f3951947","name":"Get Audio File","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://:tenant_url/configapi/v2/recordings/audio?giid=A44B62DE-75FB-47CD-A103-8F778CD1032A&stepid=C6A1ECF1-6C4E-4D13-B848-718273ECB0CA&=","protocol":"https","port":"tenant_url","path":["configapi","v2","recordings","audio"],"query":[{"key":"giid","value":"A44B62DE-75FB-47CD-A103-8F778CD1032A","description":"[Global interaction identifier](https://help.brightpattern.com/latest:Reporting-reference-guide/GlobalInteractionIdentifier/ja)."},{"key":"stepid","value":"C6A1ECF1-6C4E-4D13-B848-718273ECB0CA","description":"Identifier of the step of the interaction for which the recording is to be retrieved. Can be obtained via scenario variable *$(item.interactionStepId)* or the *caller_interaction_step_id* field of the *call_detail* table of the Reporting Database."},{"key":"","value":""}],"variable":[{"key":"tenant_url","value":"sasha.brightpattern.com","description":"Your contact center domain name, e.g., example.brightpattern.com."}]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"66314af4-4def-4e9d-99b9-d8ce4f20164b"},{"name":"Get Interaction Metadata","id":"52f0d7a8-57a2-49d9-a753-a07ea5fe5060","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://:tenant_url/configapi/v2/recordings/metadata?giid=A44B62DE-75FB-47CD-A103-8F778CD1032A&stepid=C6A1ECF1-6C4E-4D13-B848-718273ECB0CA","description":"<p>指定されたインタラクションについて、以下のメタデータを返します。</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data Item</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Start Time</td>\n<td>インタラクションの開始時刻</td>\n</tr>\n<tr>\n<td>Agent loginId</td>\n<td>このコールを最後に処理したエージェントのユーザー名</td>\n</tr>\n<tr>\n<td>Agent First Name</td>\n<td>このコールを最後に処理したエージェントの名</td>\n</tr>\n<tr>\n<td>Agent Last Name</td>\n<td>このコールを最後に処理したエージェントの姓</td>\n</tr>\n<tr>\n<td>Customer phone</td>\n<td>顧客の電話番号（厳密には、上記のエージェントと対向する相手の電話番号）</td>\n</tr>\n<tr>\n<td>Direction</td>\n<td>上記のエージェントを基準としたコールの方向（InboundまたはOutbound）</td>\n</tr>\n<tr>\n<td>Service</td>\n<td>このコールに関連付けられているサービスまたはキャンペーンの名前</td>\n</tr>\n<tr>\n<td>Disposition</td>\n<td>このインタラクションについてエージェントが選択した処理結果</td>\n</tr>\n<tr>\n<td>Notes</td>\n<td>このインタラクションについてエージェントが入力したメモ</td>\n</tr>\n<tr>\n<td>Voice Signature</td>\n<td>録音に音声署名が含まれているかどうかを示します。</td>\n</tr>\n<tr>\n<td>Flagged</td>\n<td>このインタラクションがエージェントによってフラグ付けされたかどうかを示します。</td>\n</tr>\n<tr>\n<td>Talk Time</td>\n<td>コールの合計時間です。</td>\n</tr>\n<tr>\n<td>RecordingId</td>\n<td>このインタラクションの録音が保存されているファイルの名前です。</td>\n</tr>\n<tr>\n<td>Review URL</td>\n<td>コンタクトセンター管理者アプリケーション経由で録音に直接アクセスするためのリンクです（ログインが必要です）。</td>\n</tr>\n<tr>\n<td>Screen Recording</td>\n<td>この対話について、エージェントのスクリーン録画が利用可能かどうかを示します。</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","port":"tenant_url","path":["configapi","v2","recordings","metadata"],"query":[{"description":{"content":"<p><a href=\"https://help.brightpattern.com/latest:Reporting-reference-guide/GlobalInteractionIdentifier/ja\">グローバルインタラクション識別子</a>。</p>\n","type":"text/plain"},"key":"giid","value":"A44B62DE-75FB-47CD-A103-8F778CD1032A"},{"description":{"content":"<p>メタデータの取得が要求されているインタラクションのステップの識別子です。シナリオ変数 <em>$(item.interactionStepId)</em> または、レポーティングデータベースの <em>call_detail</em> テーブルにある <em>callee_interaction_step_id</em> フィールドから取得できます。</p>\n","type":"text/plain"},"key":"stepid","value":"C6A1ECF1-6C4E-4D13-B848-718273ECB0CA"}],"variable":[{"description":{"content":"<p>コンタクトセンターのドメイン名（例：example.brightpattern.com）。</p>\n","type":"text/plain"},"type":"any","value":"","key":"tenant_url"}]}},"response":[{"id":"b69c72b6-cbc8-4352-b998-1a82895e1eb3","name":"Metadata of IVR-only Call","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://:tenant_url/configapi/v2/recordings/metadata?giid=9F63B008-4BA3-4022-90F7-A8B99ED1A3E8&stepid=89B5E090-F584-4AAA-973A-02C0524BF9CB","protocol":"https","port":"tenant_url","path":["configapi","v2","recordings","metadata"],"query":[{"key":"giid","value":"9F63B008-4BA3-4022-90F7-A8B99ED1A3E8","description":"[Global interaction identifier](https://help.brightpattern.com/latest:Reporting-reference-guide/GlobalInteractionIdentifier/ja)."},{"key":"stepid","value":"89B5E090-F584-4AAA-973A-02C0524BF9CB","description":"Identifier of the interaction step to be retrieved. Can be obtained via scenario variable *$(item.interactionStepId)* or the *caller_interaction_step_id* field of the *call_detail* table of the Reporting Database."}],"variable":[{"key":"tenant_url","value":"sasha.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":"Fri, 15 Mar 2019 19:41:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"583"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Start Time\": \"02/27/2019 01:04:52 AM UTC +00:00\",\n    \"Agent loginId\": null,\n    \"Agent First Name\": null,\n    \"Agent Last Name\": null,\n    \"Customer phone\": \"Restricted\",\n    \"Direction\": \"INBOUND\",\n    \"Service\": \"Sales\",\n    \"Disposition\": \"No agent\",\n    \"Notes\": \"\",\n    \"Voice Signature\": \"0\",\n    \"Flagged\": \"0\",\n    \"Talk Time\": \"0:11\",\n    \"RecordingId\": \"20190226170452_Restricted_89B5E090F5844AAA973A02C0524BF9CB.wav\",\n    \"Global Interaction ID\": \"9F63B008-4BA3-4022-90F7-A8B99ED1A3E8\",\n    \"Review URL\": \"https://sasha.brightpattern.com/admin?giid=9F63B008-4BA3-4022-90F7-A8B99ED1A3E8&stepId=89B5E090-F584-4AAA-973A-02C0524BF9CB\",\n    \"Screen Recording\": \"0\"\n}"},{"id":"0ad1aa6b-f0ee-4269-a1fa-9fac86ffb332","name":"Metadata for a call with a live agent","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://:tenant_url/configapi/v2/recordings/metadata?giid=A44B62DE-75FB-47CD-A103-8F778CD1032A&stepid=C6A1ECF1-6C4E-4D13-B848-718273ECB0CA","protocol":"https","port":"tenant_url","path":["configapi","v2","recordings","metadata"],"query":[{"key":"giid","value":"A44B62DE-75FB-47CD-A103-8F778CD1032A","description":"[Global interaction identifier](https://help.brightpattern.com/latest:Reporting-reference-guide/GlobalInteractionIdentifier/ja)."},{"key":"stepid","value":"C6A1ECF1-6C4E-4D13-B848-718273ECB0CA","description":"Identifier of the interaction step to be retrieved. Can be obtained via scenario variable *$(item.interactionStepId)* or the *caller_interaction_step_id* field of the *call_detail* table of the Reporting Database."}],"variable":[{"key":"tenant_url","value":"sasha.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":"Fri, 15 Mar 2019 20:21:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"603"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"Start Time\": \"03/15/2019 07:49:31 PM UTC +00:00\",\n    \"Agent loginId\": \"navarro\",\n    \"Agent First Name\": \"Jose\",\n    \"Agent Last Name\": \"Navarro\",\n    \"Customer phone\": \"Restricted\",\n    \"Direction\": \"INBOUND\",\n    \"Service\": \"Support\",\n    \"Disposition\": \"Solved\",\n    \"Notes\": \"\",\n    \"Voice Signature\": \"0\",\n    \"Flagged\": \"0\",\n    \"Talk Time\": \"0:38\",\n    \"RecordingId\": \"20190315124931_Restricted_navarro_C6A1ECF16C4E4D13B848718273ECB0CA.wav\",\n    \"Global Interaction ID\": \"A44B62DE-75FB-47CD-A103-8F778CD1032A\",\n    \"Review URL\": \"https://sasha.brightpattern.com/admin?giid=A44B62DE-75FB-47CD-A103-8F778CD1032A&stepId=C6A1ECF1-6C4E-4D13-B848-718273ECB0CA\",\n    \"Screen Recording\": \"0\"\n}"}],"_postman_id":"52f0d7a8-57a2-49d9-a753-a07ea5fe5060"},{"name":"Erase Call Recordings","id":"9358de66-30b0-43c8-a4e5-29ba4d30af4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://<tenant_url>/configapi/v2/recordings/audio?giid=<GIID>&reason=<reason>","description":"<p>この方法では、ローカルに保存されている通話録音を消去します。なお、その対話の<a href=\"https://help.brightpattern.com/latest:Reporting-reference-guide/GlobalInteractionIdentifier/ja\">グローバルインタラクション識別子（GIID）</a>をリクエストURLのクエリパラメータとして含める必要があります</p>\n<h1 id=\"メモ\">メモ</h1>\n<ul>\n<li>「理由」はオプションのクエリパラメータです。</li>\n<li>このメソッドは、ローカルに保存された録音にのみ適用されます。</li>\n<li><a href=\"https://help.brightpattern.com/latest:Reporting-reference-guide/GlobalInteractionIdentifier/ja\">指定されたGIID</a>に複数の録音が関連付けられている場合、それらはすべて消去されます。</li>\n<li>録音の消去については、以下の通りです：<ul>\n<li><a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/Security/AuditLog/ja\">監査ログ</a>で追跡されます</li>\n<li><a href=\"https://help.brightpattern.com/latest:Reporting-reference-guide/InteractionRecordsSearch/ja\">対話レコードの検索結果</a>に反映されます</li>\n<li><a href=\"https://help.brightpattern.com/latest:Agent-guide/Work/CasesEmail/MyCasesInterface/ja#Case_History\">ケースのアクティビティ履歴</a>に反映されます</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["configapi","v2","recordings","audio"],"host":["<tenant_url>"],"query":[{"description":{"content":"<p>その対話の<a href=\"https://help.brightpattern.com/latest:Reporting-reference-guide/GlobalInteractionIdentifier/ja\">グローバルインタラクション識別子</a></p>\n","type":"text/plain"},"key":"giid","value":"<GIID>"},{"description":{"content":"<p>（オプション）録音を消去する理由</p>\n","type":"text/plain"},"key":"reason","value":"<reason>"}],"variable":[]}},"response":[{"id":"c8daec6e-e762-4106-b5da-4ef7cd4dfce0","name":"Erase Call Recordings","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/recordings/audio?giid=A44B62DE-75FB-47CD-A103-8F778CD1032A&reason=credit_card_info","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","recordings","audio"],"query":[{"key":"giid","value":"A44B62DE-75FB-47CD-A103-8F778CD1032A"},{"key":"reason","value":"credit_card_info"}]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"9358de66-30b0-43c8-a4e5-29ba4d30af4c"}],"id":"9adccb9f-884b-43fc-b056-0f65843eb741","description":"<p>これらのメソッドにより、通常の音声録音（すなわち、参加した全員の声が同じ音声ファイルに記録されているもの）および関連する<a href=\"https://help.brightpattern.com/latest:Reporting-reference-guide/RecordingsDetailsFormat/ja\">コールメタデータ</a>を取得することができます。音声ファイルとメタデータの両方は、通話終了直後に取得可能です。録音の識別に必須のパラメータは、シナリオ変数 <em>$(item.globalInteractionId)</em> および <em>$(item.interactionStepId)</em> 経由で取得できます。\n通常の通話録音は、GSMフォーマットでエクスポートされます。</p>\n","event":[{"listen":"prerequest","script":{"id":"8fc0f216-e6cf-44c9-974b-f55430e3236c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"45640944-0074-4b65-b880-ce0eae67a921","type":"text/javascript","exec":[""]}}],"_postman_id":"9adccb9f-884b-43fc-b056-0f65843eb741"},{"name":"マルチチャネルの通話録音","item":[{"name":"Get Multichannel Recording Structure","id":"bc06a8f3-f494-4ef2-9c8a-b36782d2e1f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://:tenant_url/configapi/v2/multi_channel_recordings?giid=A44B62DE-75FB-47CD-A103-8F778CD1032A","description":"<p>このメソッドは、特定のマルチチャネル通話録音の構造に関する情報を取得するために使用されます。通話は、グローバルインタラクション識別子（GIID）によって識別されます。<a href=\"https://help.brightpattern.com/latest:Reporting-reference-guide/GlobalInteractionIdentifier/ja#How_GIIDs_Are_Exposed\">この記事</a>では、コールのGIIDを取得するためのさまざまな方法について説明しています。</p>\n<p>APIの応答はオブジェクトの配列であり、各オブジェクトには、そのGIIDに関連する特定のインタラクションのメタデータが含まれています。</p>\n<h2 id=\"レスポンス本文\">レスポンス本文</h2>\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>_id</td>\n<td>内部使用のみです。</td>\n</tr>\n<tr>\n<td>tenant_id</td>\n<td>内部使用のみです。</td>\n</tr>\n<tr>\n<td>global_interaction_id</td>\n<td>このインタラクションのGIIDです。（このメタデータを取得するために使用されたのと同じGIIDです。）</td>\n</tr>\n<tr>\n<td>interaction_id</td>\n<td>GIIDは、複数の関連するインタラクション（たとえば、プライマリな顧客とエージェント間のコールや、それに関連するコンサルテーションコールなど）を指す場合があります。そのため、GIIDに加えて、各インタラクションにはグローバルに一意のinteraction_idが割り当てられています。各インタラクションには、_参加者（parties）_のリストがあります。</td>\n</tr>\n<tr>\n<td>parties</td>\n<td>Partyオブジェクトの配列です。各オブジェクトには、コールへの参加者に関する情報が含まれています。以下の<strong>Partyオブジェクト</strong>の構造を参照してください。</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"partyオブジェクト\">Partyオブジェクト</h2>\n<p><code>parties</code>配列には、1つ以上のPartyオブジェクトが含まれます。</p>\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>party_id</td>\n<td>_interaction_id_によって識別されるインタラクション内の参加者の識別子です。この識別子は、_Get Party Audio File_メソッドを使用して当該参加者の音声データを取得する目的にのみ使用され、その他の目的での使用は意図されていない点にご注意ください。</td>\n</tr>\n<tr>\n<td>party_type</td>\n<td>USER - 指定された参加者は、設定済みのBPCCユーザー（通常はエージェント）です。<br />CONTACT - 指定された参加者は、既知の顧客です。<br />UNIDENTIFIED - 指定された参加者は、BPCCユーザーでも既知の顧客でもないと識別されました。</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>利用可能な場合、参加者の名です。</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>利用可能な場合、参加者の姓です。</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>利用可能な場合、当該コールに使用された参加者の電話番号です。</td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>内部使用のみです。</td>\n</tr>\n<tr>\n<td>recordings</td>\n<td>Recording Segmentオブジェクトの配列です。通話録音は停止および開始が可能であるため、各参加者につき複数のセグメントが存在する場合があります。以下の<strong>Recording Segmentオブジェクト</strong>の構造を参照してください。</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"録音セグメントオブジェクト\">録音セグメントオブジェクト</h2>\n<p><code>recordings</code>配列には、1つ以上のRecording Segmentオブジェクトが含まれます。</p>\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>duration</td>\n<td>この特定の録音セグメントの継続時間を秒単位で表した値です（文字列として返されます）。</td>\n</tr>\n<tr>\n<td>start_time</td>\n<td>録音セグメントが開始された時点のUTCタイムスタンプです。ISO 8601フォーマットで表されます。</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","port":"tenant_url","path":["configapi","v2","multi_channel_recordings"],"query":[{"description":{"content":"<p><a href=\"https://help.brightpattern.com/latest:Reporting-reference-guide/GlobalInteractionIdentifier/ja\">グローバルインタラクション識別子</a></p>\n","type":"text/plain"},"key":"giid","value":"A44B62DE-75FB-47CD-A103-8F778CD1032A"}],"variable":[]}},"response":[{"id":"2032d049-6c14-40f8-acfc-d41f40e3a8c1","name":"Multichannel recording description for a simple call","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://:tenant_url/configapi/v2/multi_channel_recordings?giid=A44B62DE-75FB-47CD-A103-8F778CD1032A","protocol":"https","port":"tenant_url","path":["configapi","v2","multi_channel_recordings"],"query":[{"key":"giid","value":"A44B62DE-75FB-47CD-A103-8F778CD1032A","description":"[Global interaction identifier](https://help.brightpattern.com/latest:Reporting-reference-guide/GlobalInteractionIdentifier/ja)."}],"variable":[{"key":"tenant_url","value":"sasha.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":"Fri, 15 Mar 2019 21:22:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"668"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n{\n    \"_id\": \"685a29343a36e54583e5952c\",\n    \"tenant_id\": \"C809D1F5-84C2-447E-AA03-E3D5000BA779\",\n    \"global_interaction_id\": \"6F5D2671-0574-46F8-8417-EB0EA985A751\",\n    \"interaction_id\": \"0FABD496-A231-4411-82BD-C68262862F36\",\n    \"parties\": [\n    {\n        \"first_name\": \"Susan\",\n        \"last_name\": \"Mallorie\",\n        \"party_id\": \"6C631399-D74A-4F6E-AF17-523A286817DA\",\n        \"party_type\": \"USER\",\n        \"phone\": \"1000\",\n        \"recordings\": [\n        {\n            \"duration\": \"37\",\n            \"start_time\": \"2025-06-24T04:26:32.427Z\"\n        }],\n        \"user_id\": \"0EB98877-9517-4CB6-87C3-4A46EF6E6087\"\n    },\n    {\n        \"first_name\": \"Allen\",\n        \"last_name\": \"Hartzell\",\n        \"party_id\": \"AB694080-1C65-4C5D-B893-0FEEE9CBCFDA\",\n        \"party_type\": \"USER\",\n        \"phone\": \"2042\",\n        \"recordings\": [\n        {\n            \"duration\": \"37\",\n            \"start_time\": \"2025-06-24T04:26:32.427Z\"\n        }],\n        \"user_id\": \"390FE1FC-1FBE-43C2-A527-32B39BD63036\"\n    }]\n}]"}],"_postman_id":"bc06a8f3-f494-4ef2-9c8a-b36782d2e1f7"},{"name":"Get Multichannel Recording Segment Audio File","id":"824a1bf3-1eb6-49df-9dae-e307339ec33a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer 4AE7486E2E7BCFB2D977D3829D0781357A7D831D9C92B32ACF5863CDF2C2CC05","type":"text"}],"url":"https://:tenant_url/configapi/v2/multi_channel_recordings/audio?giid=B3178008-47BA-4CAB-B620-CB3C8864BCB6&iid=A274FC70-770E-45B0-AC77-491EF6CD8E05&party=98141181&recid=0","description":"<p>GIID、インタラクションID、パーティーID、および必要に応じて目的のセグメントの順序番号によって識別される、マルチチャネル録音の目的のセグメントを取得します。この順序番号は、通話中に録音を一旦停止し、再度開始することがある場合のみ、必須となります。</p>\n","urlObject":{"protocol":"https","port":"tenant_url","path":["configapi","v2","multi_channel_recordings","audio"],"query":[{"description":{"content":"<p><a href=\"https://help.brightpattern.com/latest:Reporting-reference-guide/GlobalInteractionIdentifier/ja\">グローバルインタラクション識別子</a>。<strong>GIIDに含まれる文字はすべて大文字でなければなりません。</strong></p>\n","type":"text/plain"},"key":"giid","value":"B3178008-47BA-4CAB-B620-CB3C8864BCB6"},{"description":{"content":"<p>録音の要求対象となるインタラクションの識別子です。（「Get Multi-channel Recording Metadata」メソッドによって返されます。）<strong>識別子に含まれる文字は、すべて大文字でなければなりません。</strong></p>\n","type":"text/plain"},"key":"iid","value":"A274FC70-770E-45B0-AC77-491EF6CD8E05"},{"description":{"content":"<p>音声録音の提供が求められているパーティーの識別子です。（Get Multi-channel Recording Metadata メソッドによって返されます。）</p>\n","type":"text/plain"},"key":"party","value":"98141181"},{"description":{"content":"<p>上記のパーティーの、指定したい録音セグメントの序数（0から数えます）。   任意です。指定されていない場合は、配列の最初のセグメントが返されます。</p>\n","type":"text/plain"},"key":"recid","value":"0"}],"variable":[{"description":{"content":"<p>コンタクトセンターのドメイン名（例：example.brightpattern.com）。</p>\n","type":"text/plain"},"type":"any","value":"","key":"tenant_url"}]}},"response":[],"_postman_id":"824a1bf3-1eb6-49df-9dae-e307339ec33a"}],"id":"0aeef4db-7ed2-4cb3-accb-b34371897510","description":"<p>これらのメソッドは、マルチチャネルの通話録音（つまり、通話参加者それぞれの音声が別々の音声ファイルに記録されている録音）から個々のセグメントを抽出するために使用されます。</p>\n<p>まず、「_Get Multichannel Recording Structure_」メソッドを使用して、対話ID、パーティーID、および必要に応じてセグメントを取得し、それらをその後の_「Get Multichannel Recording Segment Audio File」_リクエストで使用します。</p>\n<p>マルチチャネル録音のセグメントは、通話終了直後にエクスポート可能となります。 </p>\n<p>マルチチャネル録音のセグメントは、音声品質を最大限に高めるため、非圧縮のPCMフォーマットでエクスポートされます。なお、マルチチャネルPCM録音ファイルのサイズは大きいため、通常、システム内での保存期間は限られています。 制限についてはサービスプロバイダにご確認いただき、前営業日の録音の中から選択済みのものを夜間にエクスポートすることをご検討ください。</p>\n","event":[{"listen":"prerequest","script":{"id":"1540d080-5b84-44c0-b20e-96c1cae68231","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0cee1497-0d59-4190-a62c-1c6416b2faaf","type":"text/javascript","exec":[""]}}],"_postman_id":"0aeef4db-7ed2-4cb3-accb-b34371897510"},{"name":"エラーコード","item":[],"id":"be9e241b-c7b4-4b08-abfa-1c74b036d720","description":"<ul>\n<li><strong>400 Bad Request</strong> - データ整合性のルールに違反しているか、API でサポートされていないため、要求された操作を実行できないことを示します。エラーメッセージの本文には、リクエストが拒否された原因となっている特定のエレメント（例：特定のオブジェクトのプロパティ）に関する情報が含まれている場合があります。</li>\n<li><strong>401 認証失敗</strong></li>\n<li><strong>403 アクセス権限なし</strong> - ユーザーは認証されていますが、要求された操作を実行するための十分な権限を持っていません。</li>\n<li><strong>404 Not Found</strong> - GET メソッドの場合、要求されたインタラクションまたは音声ファイルが見つからないことを示します。 </li>\n<li><strong>415 サポートされていないメディアタイプ</strong> - メディアタイプが指定されていないか、誤って指定されています。</li>\n<li><strong>500 リクエスト失敗</strong> - エンドポイントの指定が不正確です。</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"420b721e-6e6c-4db3-a0bb-aeff7bcf51eb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f4c87bb4-b030-497e-9dd7-e6c9a94cf0de","type":"text/javascript","exec":[""]}}],"_postman_id":"be9e241b-c7b4-4b08-abfa-1c74b036d720"}],"event":[{"listen":"prerequest","script":{"id":"adee3ff1-168a-43c1-9358-b16ce0e2a2ac","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"10fafed6-72ad-4dd2-a7aa-0058be800101","type":"text/javascript","exec":[""]}}]}