対話プラットフォーム
会話が所属する単位であるインボックス(Inbox)は、Webhook の設定場所でもあります。各インボックスには複数の Webhook を設定でき、ユーザーメッセージの受信時(incoming)または Agent の返信時(outgoing)に、お客様のシステムに通知を送信します。Web Chat タイプのインボックスには、別途 Web Chat エンドポイントがあります。設定方法と payload の形式については、技術マニュアルの Webhookをご覧ください。
チャットプラットフォームの一覧
GET /api/v1/inboxes/
パラメータ
accessType
❌
string
アクセスタイプで絞り込みます
channelType
❌
string
チャンネルタイプで絞り込みます
chatbot
❌
string
チャットボット ID で絞り込みます
excludeTeam
❌
boolean
Leave out the chat platforms of teams' entry assistants, which the team's role grants decide.
excludeVoice
❌
boolean
Leave out every voice agent inbox (inbox settings list).
includeVoice
❌
boolean
With chatbot: also list the inboxes of the voice agents answered by it (role page, chat platform list).
isActive
❌
boolean
有効かどうかで絞り込みます
ordering
❌
string
Which field to use when ordering the results.
page
❌
integer
A page number within the paginated result set.
pageSize
❌
integer
Number of results to return per page.
pagination
❌
string
ページネーションを行うかどうか (true/false) を指定します。false に設定すると、簡易版のデータ形式で返します
query
❌
string
source
❌
string
`self_built`: self_built ; `built_in`: built_in ; `all`: all;
コード例
レスポンスボディ
ステータスコード: 200 - チャットプラットフォームの一覧
レスポンススキーマの例
レスポンスのサンプル値
ステータスコード: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
チャットプラットフォームの作成
POST /api/v1/inboxes/
リクエストボディ
リクエストパラメータ
name
string
はい
channelType
string (enum: line, telegram, teams, web, messenger, instagram, email, whatsapp, slack, team_plus, line_works, viber)
はい
line: LINE ; telegram: Telegram ; teams: Teams ; web: Web ; messenger: Messenger ; instagram: Instagram ; email: Email ; whatsapp: WhatsApp ; slack: Slack ; team_plus: Team+ ; `lin...
unreadConversationsCount
integer
いいえ
signAuth
object (9 個のプロパティを含む: id, signSource, signParams...)
いいえ
signAuth.signSource
string (uuid)
はい
signAuth.signParams
object
はい
signAuth.signParams.keycloak
object (3 個のプロパティを含む: clientId, url, realm)
はい
signAuth.signParams.keycloak.clientId
string
はい
signAuth.signParams.keycloak.url
string
はい
signAuth.signParams.keycloak.realm
string
はい
signAuth.signParams.line
object (1 個のプロパティを含む: liffId)
はい
signAuth.signParams.line.liffId
string
はい
signAuth.signParams.ad
object (1 個のプロパティを含む: saml)
はい
signAuth.signParams.ad.saml
string
はい
signAuth.signParams.google
object (1 個のプロパティを含む: enabled)
いいえ
signAuth.signParams.google.enabled
boolean
はい
signAuth.sourceIdAccessEnabled
boolean
いいえ
When enabled, embedded visitors presenting a Source ID (verified per the verify mode below) may chat without going through the login flow. Disabled keeps every existing behavior unchanged.
signAuth.sourceIdVerifyMode
object
いいえ
"Require signature verification": the embedding site must send an HMAC signature computed on its backend. "Source ID only": anyone knowing a Source ID can act as that contact; suitable only for testin...
signAuth.sourceIdSignatureTtlMinutes
object
いいえ
How long a signature can be used to obtain the contact identity. Not a session lifetime: once exchanged, the session follows the existing WebChat mechanism. 1: 1 ; 5: 5 ; 15: 15;
signAuth.keycloakTokenPassthrough
boolean
いいえ
When enabled, the Keycloak access token a visitor logged in with is forwarded as the Authorization header when the AI calls MCP and API tools on their behalf, so tools do not require a separate per-to...
signAuth.keycloakTokenPassthroughAllowedHosts
array[string]
いいえ
Hostnames (or "*.example.com" wildcards) of the tools the visitor Keycloak token may be sent to
enableAnalysis
boolean
いいえ
リクエストスキーマの例
リクエストのサンプル値
コード例
レスポンスボディ
ステータスコード: 201
レスポンススキーマの例
レスポンスの値の例
ステータスコード: 4XX - エラーレスポンス。エラーコードは X-Error-Code ヘッダーで返されます(「エラーコード」を参照)。
特定のインボックスの取得
GET /api/v1/inboxes/{id}/
パラメーター
id
✅
string
A UUID string identifying this Inbox.
コード例
レスポンスボディ
ステータスコード: 200
レスポンススキーマの例
レスポンスの値の例
ステータスコード: 4XX - エラーレスポンス。エラーコードは X-Error-Code ヘッダーで返されます(「エラーコード」を参照)。
インボックスの更新
PUT /api/v1/inboxes/{id}/
パラメーター
id
✅
string
A UUID string identifying this Inbox.
リクエストボディ
リクエストパラメーター
name
string
はい
channelType
string (enum: line, telegram, teams, web, messenger, instagram, email, whatsapp, slack, team_plus, line_works, viber)
はい
line: LINE ; telegram: Telegram ; teams: Teams ; web: Web ; messenger: Messenger ; instagram: Instagram ; email: Email ; whatsapp: WhatsApp ; slack: Slack ; team_plus: Team+ ; `lin...
unreadConversationsCount
integer
いいえ
signAuth
object (9 個のプロパティを含みます: id, signSource, signParams...)
いいえ
signAuth.signSource
string (uuid)
はい
signAuth.signParams
object
はい
signAuth.signParams.keycloak
object (3 個のプロパティを含みます: clientId, url, realm)
はい
signAuth.signParams.keycloak.clientId
string
はい
signAuth.signParams.keycloak.url
string
はい
signAuth.signParams.keycloak.realm
string
はい
signAuth.signParams.line
object (1 個のプロパティを含みます: liffId)
はい
signAuth.signParams.line.liffId
string
はい
signAuth.signParams.ad
object (1 個のプロパティを含みます: saml)
はい
signAuth.signParams.ad.saml
string
はい
signAuth.signParams.google
object (1 個のプロパティを含みます: enabled)
いいえ
signAuth.signParams.google.enabled
boolean
はい
signAuth.sourceIdAccessEnabled
boolean
いいえ
When enabled, embedded visitors presenting a Source ID (verified per the verify mode below) may chat without going through the login flow. Disabled keeps every existing behavior unchanged.
signAuth.sourceIdVerifyMode
object
いいえ
"Require signature verification": the embedding site must send an HMAC signature computed on its backend. "Source ID only": anyone knowing a Source ID can act as that contact; suitable only for testin...
signAuth.sourceIdSignatureTtlMinutes
object
いいえ
How long a signature can be used to obtain the contact identity. Not a session lifetime: once exchanged, the session follows the existing WebChat mechanism. 1: 1 ; 5: 5 ; 15: 15;
signAuth.keycloakTokenPassthrough
boolean
いいえ
When enabled, the Keycloak access token a visitor logged in with is forwarded as the Authorization header when the AI calls MCP and API tools on their behalf, so tools do not require a separate per-to...
signAuth.keycloakTokenPassthroughAllowedHosts
array[string]
いいえ
Hostnames (or "*.example.com" wildcards) of the tools the visitor Keycloak token may be sent to
enableAnalysis
boolean
いいえ
リクエストスキーマの例
リクエストの値の例
コード例
レスポンス
ステータスコード: 200
レスポンススキーマの例
レスポンスの例
ステータスコード: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
会話プラットフォームの部分更新
PATCH /api/v1/inboxes/{id}/
パラメータ
id
✅
string
A UUID string identifying this Inbox.
リクエスト内容
リクエストパラメータ
groups
array[IdName]
いいえ
この受信トレイにアクセスできるグループの一覧
channelType
string (enum: line, telegram, teams, web, messenger, instagram, email, whatsapp, slack, team_plus, line_works, viber)
いいえ
line: LINE ; telegram: Telegram ; teams: Teams ; web: Web ; messenger: Messenger ; instagram: Instagram ; email: Email ; whatsapp: WhatsApp ; slack: Slack ; team_plus: Team+ ; `lin...
name
string
いいえ
autoReplySchedules
array[AutoReplySchedule]
いいえ
channel
object
いいえ
organization
string (uuid)
いいえ
signAuth
object (10 個のプロパティ: id, signSource, signParams...)
いいえ
signAuth.signSource
string (uuid)
はい
signAuth.signParams
object
はい
signAuth.signParams.keycloak
object (3 個のプロパティ: clientId, url, realm)
はい
signAuth.signParams.keycloak.clientId
string
はい
signAuth.signParams.keycloak.url
string
はい
signAuth.signParams.keycloak.realm
string
はい
signAuth.signParams.line
object (1 個のプロパティ: liffId)
はい
signAuth.signParams.line.liffId
string
はい
signAuth.signParams.ad
object (1 個のプロパティ: saml)
はい
signAuth.signParams.ad.saml
string
はい
signAuth.signParams.google
object (1 個のプロパティ: enabled)
いいえ
signAuth.signParams.google.enabled
boolean
はい
signAuth.sourceIdAccessEnabled
boolean
いいえ
When enabled, embedded visitors presenting a Source ID (verified per the verify mode below) may chat without going through the login flow. Disabled keeps every existing behavior unchanged.
signAuth.sourceIdVerifyMode
object
いいえ
"Require signature verification": the embedding site must send an HMAC signature computed on its backend. "Source ID only": anyone knowing a Source ID can act as that contact; suitable only for testin...
signAuth.sourceIdSignatureTtlMinutes
object
いいえ
How long a signature can be used to obtain the contact identity. Not a session lifetime: once exchanged, the session follows the existing WebChat mechanism. 1: 1 ; 5: 5 ; 15: 15;
signAuth.keycloakTokenPassthrough
boolean
いいえ
When enabled, the Keycloak access token a visitor logged in with is forwarded as the Authorization header when the AI calls MCP and API tools on their behalf, so tools do not require a separate per-to...
signAuth.keycloakTokenPassthroughAllowedHosts
array[string]
いいえ
Hostnames (or "*.example.com" wildcards) of the tools the visitor Keycloak token may be sent to
enableTimeAwareResponse
boolean
いいえ
Enable time aware responses for this inbox
defaultTimezone
string
いいえ
Default timezone for this inbox (e.g., Asia/Taipei, America/New_York)
enableSenderNameAwareResponse
boolean
いいえ
Enable sender name aware responses for this inbox
enableGpsAwareResponse
boolean
いいえ
Enable GPS aware responses for this inbox
gpsRequestTiming
object
いいえ
Web chat only. "on_open" asks the browser for the location as soon as the chat opens (current behavior); "on_demand" asks only when the AI requests it through an ask_user_question question carrying ex...
enableAiLineSticker
boolean
いいえ
LINE inboxes only. When on, the AI may attach one LINE official sticker to a reply (from the global LINE AI sticker list).
enableOcr
boolean
いいえ
Retired: attachments pick their parser by content detection (image-heavy files go to the Vision Parser, billed by token; scanned and text files to the MaiAgent Parser, scanned pages billed as OCR) and...
enableAgentAttachmentDecision
boolean
いいえ
Kill switch for AGENT-mode attachment handling. When False (default), AGENT-mode chatbots skip auto-embedding on upload and let the agent handle attachments at runtime via ParseAttachmentContentTool /...
enableStreamMessage
boolean
いいえ
enableHumanHandoff
boolean
いいえ
handoffPrompt
string
いいえ
handoffLlm
string (uuid)
いいえ
handoffContextMessageLimit
integer
いいえ
handoffMessage
string
いいえ
queuingMessage
string
いいえ
assignedMessage
string
いいえ
enablePendingReplyMessage
boolean
いいえ
Send a placeholder message to the user while the AI is processing.
pendingReplyMessage
string
いいえ
pendingReplyInitialDelaySeconds
integer
いいえ
Delay before sending the first pending reply, so a fast AI response can pre-empt it.
pendingReplyIntervalSeconds
integer
いいえ
Interval to repeat the pending reply while the AI is still processing.
enablePendingReplyCleanup
boolean
いいえ
Delete pending reply messages after the AI reply is sent. Only effective on platforms that support message deletion (Teams, Telegram, Slack).
enableAnalysis
boolean
いいえ
analysisLlm
string (uuid)
いいえ
analysisPrompt
string
いいえ
analysisContextMessageLimit
integer
いいえ
analysisGenerateSummary
boolean
いいえ
When on, conversation analysis writes the conversation summary (editable, with revisions); inbox auto split brings it to the next conversation
analysisApplyTags
boolean
いいえ
When on, conversation analysis picks the conversation tags from the inbox tags
enableServiceHours
boolean
いいえ
serviceHoursTimezone
string
いいえ
offlineBehavior
string (enum: show_message, leave_message)
いいえ
show_message: Show Message ; leave_message: Leave Message;
offlineMessage
string
いいえ
serviceHoursSchedules
array[ServiceHoursSchedule]
いいえ
dispatchMode
object
いいえ
Auto dispatch assigns transferred conversations to an agent automatically. Claim (handover) leaves them unassigned for online agents to pick up themselves; timeout reassignment does not apply and the ...
assignmentRoutingModel
string (enum: round_robin, least_active)
いいえ
round_robin: Round Robin ; least_active: Least Active;
assignmentMaxConcurrent
integer
いいえ
assignmentQueueTimeout
integer
いいえ
Queue timeout in seconds
queueTimeoutMessage
string
いいえ
maxQueueSize
integer
いいえ
queueFullMessage
string
いいえ
assignmentTargetMembers
array[string]
いいえ
enableTagRouting
boolean
いいえ
enableReassignOnTimeout
boolean
いいえ
When on, a queued or assigned-but-unanswered conversation that times out is reassigned to the next available agent (skipping already-tried agents) instead of returning straight to the AI; it only retu...
enableQueueReminder
boolean
いいえ
Reply with a throttled waiting reminder when the contact sends messages while queued.
queueReminderMessage
string
いいえ
queueReminderCooldown
integer
いいえ
Minimum seconds between queue reminders in one conversation
enableQueueCancel
boolean
いいえ
Allow the contact to cancel a queued handoff and return to the AI by themselves.
queueCancelButtonText
string
いいえ
Label of the cancel quick-reply button. Its text also counts as a cancel keyword, so tapping the button always cancels even when the keyword list changes.
queueCancelKeywords
object
いいえ
Messages matching one of these exactly (after stripping surrounding whitespace) cancel the queued handoff. Empty means no keyword matching (the cancel button text still matches); the serializer requir...
queueCancelMessage
string
いいえ
Sent to the contact right after they cancel the queued handoff.
enableIdleAutoResolve
boolean
いいえ
Resolve a conversation served by a human agent once the agent replied last and the contact has not answered for the idle minutes. Frees the agent slot; queued conversations and ones where the contact ...
idleAutoResolveMinutes
integer
いいえ
Minutes the contact may stay silent after the last agent reply before auto resolve
idleAutoResolveMessage
string
いいえ
Sent to the contact when the conversation is auto resolved; blank sends nothing. LINE delivers it as a push message (counts toward the LINE message quota); Messenger / Instagram / WhatsApp skip it onc...
enableAgentReplyTimeout
boolean
いいえ
When on, a conversation served by a human agent returns to the AI once a contact message has gone unanswered by any agent for the configured seconds; the AI then answers the last unanswered message. A...
agentReplyTimeout
integer
いいえ
Seconds (60-86400) a contact message may go unanswered by a human agent before the AI takes over
agentReplyTimeoutMessage
string
いいえ
Sent to the contact when the conversation returns to the AI; leave empty to send none.
enableReturnToPreviousAssignee
boolean
いいえ
When on, a resolved conversation the contact writes to again within the configured hours reopens assigned to the agent who held it instead of to the AI. It still reopens to the AI when that agent is o...
returnToPreviousAssigneeHours
integer
いいえ
Hours (1-720), counted from when the conversation was resolved, during which a returning contact goes back to the agent who held it
enableAutoSplit
boolean
いいえ
When on, a one-to-one contact writing again after the conversation was resolved or went idle for the configured time starts a new conversation instead of continuing the old one. Web inboxes and group ...
autoSplitOnResolve
boolean
いいえ
Split when the latest conversation was resolved more than the configured minutes ago
autoSplitResolveMinutes
integer
いいえ
Minutes (0-10080) after the latest resolve; 0 splits on the next contact message
autoSplitOnIdle
boolean
いいえ
Split when the last message of the latest conversation is older than the configured hours, unless a human agent is serving it or it is queued
autoSplitIdleHours
integer
いいえ
Hours (1-720) since the last message of the latest conversation
enableContinuationSummary
boolean
いいえ
When on, a conversation started by auto split gives its AI the previous conversations' analysis summaries; a previous conversation without a current summary gets one from conversation analysis (one bi...
continuationSummaryCount
integer
いいえ
How many previous conversations (1-3) a new conversation looks back at for summaries
copilotEnabled
boolean
いいえ
copilotTriggerMode
string (enum: manual, every_incoming)
いいえ
manual: Manual ; every_incoming: Every Incoming;
quotaExceededMessage
string
いいえ
Custom message sent to the visitor when the inbox credit quota is exhausted. Used as the fallback when quota_exceeded_message_by_locale has no match for the conversation locale. Empty means the syst...
quotaExceededMessageByLocale
object
いいえ
Locale-keyed quota-exceeded messages. A dict mapping normalized locale codes from CHAT_LANGUAGES (e.g. "en", "zh-hant", "ja") to a message string. Selected by the conversation locale; falls back to `q...
creditSuspendedMessage
string
いいえ
Custom message sent to the visitor when the AI auto-reply is suspended because the organization has run out of credits or has no active plan. Used as the fallback when `credit_suspended_message_by_loc...
creditSuspendedMessageByLocale
object
いいえ
Locale-keyed credit-suspended messages. A dict mapping normalized locale codes from CHAT_LANGUAGES (e.g. "en", "zh-hant", "ja") to a message string. Selected by the conversation locale; falls back to ...
voiceEntry
object (8 個のプロパティ: isActive, voiceUrl, usesGreeting...)
いいえ
A voice inbox's entry switch, voice link and greetings (decision 50); null for other inboxes. Rendered by retrieve and update only.
voiceEntry.isActive
boolean
いいえ
The voice entry switch (the VOICE web chat); off refuses new calls only.
voiceEntry.greetings
array[string]
いいえ
The voice agent's greetings, one picked at random per call.
voiceEntry.greetingsByLocale
object
いいえ
The voice agent's greetings by locale.
リクエストスキーマの例
リクエストの値の例
コード例
レスポンスボディ
ステータスコード: 200
レスポンススキーマの例
レスポンスの値の例
ステータスコード: 4XX - エラーレスポンス。エラーコードは X-Error-Code ヘッダーで返されます(「エラーコード」を参照)。
受信トレイの削除
DELETE /api/v1/inboxes/{id}/
パラメーター
id
✅
string
A UUID string identifying this Inbox.
コード例
レスポンスボディ
204
No response body
4XX
Error response; X-Error-Code carries its code (see "Error codes").
受信トレイの Webhook 一覧取得
GET /api/v1/inboxes/{inboxPk}/webhooks/
パラメーター
inboxPk
✅
string
page
❌
integer
A page number within the paginated result set.
pageSize
❌
integer
Number of results to return per page.
コード例
レスポンスボディ
ステータスコード: 200
レスポンススキーマの例
レスポンスの値の例
ステータスコード: 4XX - エラーレスポンス。エラーコードは X-Error-Code ヘッダーで返されます(「エラーコード」を参照)。
Webhook の作成
POST /api/v1/inboxes/{inboxPk}/webhooks/
パラメーター
inboxPk
✅
string
リクエストボディ
リクエストパラメーター
name
string
はい
Webhook configuration name for identification
direction
object
はい
When to trigger: incoming (user messages) or outgoing (bot replies) incoming: Incoming ; outgoing: Outgoing ; receive: Receive;
isEnabled
boolean
いいえ
url
string (uri)
いいえ
method
object
いいえ
headers
object
いいえ
Custom HTTP headers as JSON object
templatePreset
string (enum: maiagent_standard, genesys_cloud, custom)
いいえ
maiagent_standard: MaiAgent Standard ; genesys_cloud: Genesys Cloud ; custom: Custom;
customTemplate
string
いいえ
Jinja2 template for custom payload format. Required when template_preset is "custom".
secretToken
string
いいえ
Secret token for webhook signature verification
payloadPreset
object
いいえ
Preset for parsing incoming webhook payloads (used with direction=receive) genesys_cloud: Genesys Cloud;
リクエストスキーマの例
リクエストの値の例
コード例
レスポンスボディ
ステータスコード: 201
レスポンススキーマの例
レスポンスの値の例
ステータスコード: 4XX - エラーレスポンス。エラーコードは X-Error-Code ヘッダーで返されます(「エラーコード」を参照)。
特定の Webhook の取得
GET /api/v1/inboxes/{inboxPk}/webhooks/{id}/
パラメーター
id
✅
string
A UUID string identifying this Inbox Webhook.
inboxPk
✅
string
コード例
レスポンスボディ
ステータスコード: 200
レスポンススキーマの例
レスポンスの値の例
ステータスコード: 4XX - エラーレスポンス。エラーコードは X-Error-Code ヘッダーで返されます(「エラーコード」を参照)。
Webhook の更新
PUT /api/v1/inboxes/{inboxPk}/webhooks/{id}/
パラメーター
id
✅
string
A UUID string identifying this Inbox Webhook.
inboxPk
✅
string
リクエストボディ
リクエストパラメーター
name
string
はい
Webhook configuration name for identification
direction
object
はい
When to trigger: incoming (user messages) or outgoing (bot replies) incoming: Incoming ; outgoing: Outgoing ; receive: Receive;
isEnabled
boolean
いいえ
url
string (uri)
いいえ
method
object
いいえ
headers
object
いいえ
Custom HTTP headers as JSON object
templatePreset
string (enum: maiagent_standard, genesys_cloud, custom)
いいえ
maiagent_standard: MaiAgent Standard ; genesys_cloud: Genesys Cloud ; custom: Custom;
customTemplate
string
いいえ
Jinja2 template for custom payload format. Required when template_preset is "custom".
secretToken
string
いいえ
Secret token for webhook signature verification
payloadPreset
object
いいえ
Preset for parsing incoming webhook payloads (used with direction=receive) genesys_cloud: Genesys Cloud;
リクエストスキーマの例
リクエスト値の例
コード例
レスポンスボディ
ステータスコード: 200
レスポンススキーマの例
レスポンス値の例
ステータスコード: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
Webhook を部分更新します
PATCH /api/v1/inboxes/{inboxPk}/webhooks/{id}/
パラメータ
id
✅
string
A UUID string identifying this Inbox Webhook.
inboxPk
✅
string
リクエストボディ
リクエストパラメータ
name
string
いいえ
Webhook configuration name for identification
direction
object
いいえ
When to trigger: incoming (user messages) or outgoing (bot replies) incoming: Incoming ; outgoing: Outgoing ; receive: Receive;
isEnabled
boolean
いいえ
url
string (uri)
いいえ
method
object
いいえ
headers
object
いいえ
Custom HTTP headers as JSON object
templatePreset
string (enum: maiagent_standard, genesys_cloud, custom)
いいえ
maiagent_standard: MaiAgent Standard ; genesys_cloud: Genesys Cloud ; custom: Custom;
customTemplate
string
いいえ
Jinja2 template for custom payload format. Required when template_preset is "custom".
secretToken
string
いいえ
Secret token for webhook signature verification
payloadPreset
object
いいえ
Preset for parsing incoming webhook payloads (used with direction=receive) genesys_cloud: Genesys Cloud;
リクエストスキーマの例
リクエスト値の例
コード例
レスポンスボディ
ステータスコード: 200
レスポンススキーマの例
レスポンス値の例
ステータスコード: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
Webhook の削除
DELETE /api/v1/inboxes/{inboxPk}/webhooks/{id}/
パラメータ
id
✅
string
A UUID string identifying this Inbox Webhook.
inboxPk
✅
string
コード例
レスポンスボディ
204
No response body
4XX
Error response; X-Error-Code carries its code (see "Error codes").
最終更新
役に立ちましたか?