MCPサーバー

Odichat

io.github.odichat/mcp-odichat

このMCPでできること

Manages WhatsApp, Instagram, and Facebook inboxes with contacts, conversations, agents, automation rules, labels, canned responses, and reporting workflows.

account_get
Get Account
Retrieve information about the specified Odichat account
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}}}
account_update
Update Account
Update attributes of the specified Odichat account
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'name': {'type': 'string', 'description': 'Account name'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
agent_bots_create
Create Agent Bot
Create a new agent bot for the account
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'name'], 'properties': {'name': {'type': 'string', 'description': 'Name of the agent bot'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'description': {'type': 'string', 'description': 'Description'}, 'outgoing_url': {'type': 'string', 'description': 'Webhook URL for the bot'}}}
agent_bots_delete
Delete Agent Bot
Delete an agent bot from the account
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Agent bot ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
agent_bots_get
Get Agent Bot
Get details of a specific agent bot
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Agent bot ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
agent_bots_list
List Agent Bots
List all agent bots for the account
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}}}
agent_bots_update
Update Agent Bot
Update an existing agent bot
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Agent bot ID'}, 'name': {'type': 'string', 'description': 'Name of the agent bot'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'description': {'type': 'string', 'description': 'Description'}, 'outgoing_url': {'type': 'string', 'description': 'Webhook URL for the bot'}}}
agents_create
Create Agent
Add a new agent to the account
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'name', 'email'], 'properties': {'name': {'type': 'string', 'description': 'Agent name'}, 'role': {'enum': ['agent', 'administrator'], 'type': 'string', 'description': 'Agent role'}, 'email': {'type': 'string', 'description': 'Agent email'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
agents_delete
Delete Agent
Remove an agent from the account
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Agent ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
agents_list
List Agents
List all agents in the account
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}}}
agents_update
Update Agent
Update an agent in the account
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Agent ID'}, 'name': {'type': 'string', 'description': 'Agent name'}, 'role': {'enum': ['agent', 'administrator'], 'type': 'string', 'description': 'Agent role'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'availability': {'enum': ['online', 'offline', 'busy'], 'type': 'string', 'description': 'Availability status'}}}
audit_logs_list
List Audit Logs
List audit log events for the account
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'page': {'type': 'number', 'description': 'Page number'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
automation_rules_create
Create Automation Rule
Create a new automation rule
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'name', 'event_name'], 'properties': {'name': {'type': 'string', 'description': 'Rule name'}, 'actions': {'description': 'JSON actions for the rule'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'conditions': {'description': 'JSON conditions for the rule'}, 'event_name': {'type': 'string', 'description': 'Event that triggers the rule (e.g. conversation_created, message_created)'}, 'description': {'type': 'string', 'description': 'Rule description'}}}
automation_rules_delete
Delete Automation Rule
Delete an automation rule
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Automation rule ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
automation_rules_get
Get Automation Rule
Get a specific automation rule
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Automation rule ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
automation_rules_list
List Automation Rules
List all automation rules for the account
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'page': {'type': 'number', 'description': 'Page number'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
automation_rules_update
Update Automation Rule
Update an existing automation rule
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Automation rule ID'}, 'name': {'type': 'string', 'description': 'Rule name'}, 'actions': {'description': 'JSON actions'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'conditions': {'description': 'JSON conditions'}, 'event_name': {'type': 'string', 'description': 'Event trigger'}, 'description': {'type': 'string', 'description': 'Rule description'}}}
canned_responses_create
Create Canned Response
Create a new canned response
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'short_code', 'content'], 'properties': {'content': {'type': 'string', 'description': 'The response content'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'short_code': {'type': 'string', 'description': 'Short code to trigger the response'}}}
canned_responses_delete
Delete Canned Response
Delete a canned response
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Canned response ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
canned_responses_list
List Canned Responses
List all pre-defined canned responses for the account
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}}}
canned_responses_update
Update Canned Response
Update an existing canned response
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Canned response ID'}, 'content': {'type': 'string', 'description': 'Response content'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'short_code': {'type': 'string', 'description': 'Short code'}}}
contact_labels_list
List Contact Labels
List all labels assigned to a contact
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'contact_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'contact_id': {'type': 'number', 'description': 'Contact ID'}}}
contact_labels_set
Set Contact Labels
Replace all labels on a contact with the provided list of labels
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'contact_id', 'labels'], 'properties': {'labels': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Array of label names to set'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'contact_id': {'type': 'number', 'description': 'Contact ID'}}}
contacts_contactable_inboxes
List Contactable Inboxes
Get list of inboxes that can be used to reach a specific contact
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Contact ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
contacts_conversations
List Contact Conversations
List all conversations for a specific contact
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Contact ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
contacts_create
Create Contact
Create a new contact with name, phone (E.164), email, and custom attributes
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'name': {'type': 'string', 'description': 'Contact name'}, 'email': {'type': 'string', 'description': 'Contact email'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'identifier': {'type': 'string', 'description': 'External identifier'}, 'phone_number': {'type': 'string', 'description': 'Phone number in E.164 format (e.g. +5511999999999)'}, 'custom_attributes': {'type': 'object', 'description': 'Custom attributes as key-value pairs', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}}}
contacts_create_contact_inbox
Create Contact Inbox
Create a contact inbox association (link contact to inbox)
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id', 'inbox_id'], 'properties': {'id': {'type': 'number', 'description': 'Contact ID'}, 'inbox_id': {'type': 'number', 'description': 'Inbox ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
contacts_delete
Delete Contact
Delete a contact
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Contact ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
contacts_filter
Filter Contacts
Filter contacts using advanced filter conditions (POST with payload)
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'payload'], 'properties': {'payload': {'type': 'array', 'items': {}, 'description': 'Array of filter objects with attribute_key, filter_operator, values, query_operator'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
contacts_get
Get Contact
Get a specific contact by ID
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Contact ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
contacts_list
List Contacts
List contacts in the account with pagination
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'page': {'type': 'number', 'description': 'Page number (default 1)'}, 'sort': {'enum': ['name', 'email', 'phone_number', 'last_activity_at', 'created_at'], 'type': 'string', 'description': 'Sort field'}, 'order_by': {'enum': ['asc', 'desc'], 'type': 'string', 'description': 'Sort direction'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
contacts_merge
Merge Contacts
Merge two contacts together. The base contact is kept y the mergee is merged into it.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'base_contact_id', 'mergee_contact_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'base_contact_id': {'type': 'number', 'description': 'The contact ID to keep (base)'}, 'mergee_contact_id': {'type': 'number', 'description': 'The contact ID to merge and remove'}}}
contacts_search
Search Contacts
Search contacts by query string (searches name, email, phone, identifier)
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'q'], 'properties': {'q': {'type': 'string', 'description': 'Search query'}, 'page': {'type': 'number', 'description': 'Page number'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
contacts_update
Update Contact
Update an existing contact
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Contact ID'}, 'name': {'type': 'string', 'description': 'Contact name'}, 'email': {'type': 'string', 'description': 'Contact email'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'identifier': {'type': 'string', 'description': 'External identifier'}, 'phone_number': {'type': 'string', 'description': 'Phone in E.164 format'}, 'custom_attributes': {'type': 'object', 'description': 'Custom attributes', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}}}
conversation_assignments_assign
Assign Conversation
Assign a conversation to an agent and/or team
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id'], 'properties': {'team_id': {'type': 'number', 'description': 'Team ID to assign (null to unassign)'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'assignee_id': {'type': 'number', 'description': 'Agent ID to assign (null to unassign)'}, 'conversation_id': {'type': 'number', 'description': 'Conversation ID'}}}
conversations_create
Create Conversation
Create a new conversation
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'inbox_id', 'contact_id'], 'properties': {'status': {'enum': ['open', 'resolved', 'pending'], 'type': 'string', 'description': 'Initial status'}, 'message': {'type': 'object', 'required': ['content'], 'properties': {'content': {'type': 'string', 'description': 'Initial message content'}}, 'description': 'Initial message to send'}, 'team_id': {'type': 'number', 'description': 'Team to assign the conversation to'}, 'inbox_id': {'type': 'number', 'description': 'Inbox ID'}, 'source_id': {'type': 'string', 'description': 'Source ID of the contact'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'contact_id': {'type': 'number', 'description': 'Contact ID'}, 'assignee_id': {'type': 'number', 'description': 'Agent to assign the conversation to'}}}
conversations_filter
Filter Conversations
Filter conversations with advanced filter conditions
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'payload'], 'properties': {'page': {'type': 'number', 'description': 'Page number'}, 'payload': {'type': 'array', 'items': {}, 'description': 'Array of filter objects with attribute_key, filter_operator, values, query_operator'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
conversations_get
Get Conversation
Get a specific conversation by ID
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'conversation_id': {'type': 'number', 'description': 'The conversation ID'}}}
conversations_get_labels
Get Conversation Labels
Get labels assigned to a conversation
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'conversation_id': {'type': 'number', 'description': 'The conversation ID'}}}
conversations_list
List Conversations
List conversations with optional filters
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'page': {'type': 'number', 'description': 'Page number'}, 'labels': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Filter by label names'}, 'status': {'enum': ['open', 'resolved', 'pending', 'snoozed', 'all'], 'type': 'string', 'description': 'Filter by status'}, 'team_id': {'type': 'number', 'description': 'Filter by team ID'}, 'inbox_id': {'type': 'number', 'description': 'Filter by inbox ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'assignee_type': {'enum': ['me', 'unassigned', 'all', 'assigned'], 'type': 'string', 'description': 'Filter by assignee type'}}}
conversations_meta
Conversations Meta
Get conversation metadata (counts by status: open, unassigned, assigned, etc.)
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}}}
conversations_reporting_events
List Conversation Reporting Events
Get reporting events for a conversation
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'conversation_id': {'type': 'number', 'description': 'The conversation ID'}}}
conversations_set_custom_attributes
Set Conversation Custom Attributes
Set custom attributes on a conversation
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id', 'custom_attributes'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'conversation_id': {'type': 'number', 'description': 'The conversation ID'}, 'custom_attributes': {'type': 'object', 'description': 'Custom attributes as key-value pairs', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}}}
conversations_set_labels
Set Conversation Labels
Replace all labels on a conversation
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id', 'labels'], 'properties': {'labels': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Array of label names to set'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'conversation_id': {'type': 'number', 'description': 'The conversation ID'}}}
conversations_toggle_priority
Set Conversation Priority
Set the priority of a conversation
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id', 'priority'], 'properties': {'priority': {'enum': ['none', 'low', 'medium', 'high', 'urgent'], 'type': 'string', 'description': 'Priority level'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'conversation_id': {'type': 'number', 'description': 'The conversation ID'}}}
conversations_toggle_status
Toggle Conversation Status
Change conversation status (open, resolved, pending, snoozed)
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id', 'status'], 'properties': {'status': {'enum': ['open', 'resolved', 'pending', 'snoozed'], 'type': 'string', 'description': 'New status'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'conversation_id': {'type': 'number', 'description': 'The conversation ID'}}}
conversations_update
Update Conversation
Update conversation attributes
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'conversation_id': {'type': 'number', 'description': 'The conversation ID'}, 'custom_attributes': {'type': 'object', 'description': 'Custom attributes', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}}}
custom_attributes_create
Create Custom Attribute
Create a custom attribute definition (text, number, date, list, checkbox, link)
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'attribute_display_name', 'attribute_display_type', 'attribute_model', 'attribute_key'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'attribute_key': {'type': 'string', 'description': 'Unique key for the attribute'}, 'attribute_model': {'enum': ['conversation_attribute', 'contact_attribute'], 'type': 'string', 'description': 'Whether this applies to conversations or contacts'}, 'attribute_values': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Possible values (for list type)'}, 'attribute_description': {'type': 'string', 'description': 'Description of the attribute'}, 'attribute_display_name': {'type': 'string', 'description': 'Display name of the attribute'}, 'attribute_display_type': {'enum': ['text', 'number', 'currency', 'percent', 'link', 'date', 'list', 'checkbox'], 'type': 'string', 'description': 'The data type of the attribute'}}}
custom_attributes_delete
Delete Custom Attribute
Delete a custom attribute definition
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Custom attribute definition ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
custom_attributes_get
Get Custom Attribute
Get a specific custom attribute definition
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Custom attribute definition ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
custom_attributes_list
List Custom Attributes
List all custom attribute definitions for the account
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'attribute_model': {'enum': ['conversation_attribute', 'contact_attribute'], 'type': 'string', 'description': 'Filter by model type'}}}
custom_attributes_update
Update Custom Attribute
Update a custom attribute definition
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Custom attribute definition ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'attribute_description': {'type': 'string', 'description': 'Description'}, 'attribute_display_name': {'type': 'string', 'description': 'Display name'}}}
custom_filters_create
Create Custom Filter
Create a new custom filter for conversations
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'name', 'filter_type', 'query'], 'properties': {'name': {'type': 'string', 'description': 'Filter name'}, 'query': {'description': 'Filter query definition (JSON)'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'filter_type': {'enum': ['conversation', 'contact', 'report'], 'type': 'string', 'description': 'Filter type'}}}
custom_filters_delete
Delete Custom Filter
Delete a custom filter
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'custom_filter_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'custom_filter_id': {'type': 'number', 'description': 'Custom filter ID'}}}
custom_filters_get
Get Custom Filter
Get a specific custom filter
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'custom_filter_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'custom_filter_id': {'type': 'number', 'description': 'Custom filter ID'}}}
custom_filters_list
List Custom Filters
List all saved custom filters for conversations
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'filter_type': {'enum': ['conversation', 'contact', 'report'], 'type': 'string', 'description': 'Filter type'}}}
custom_filters_update
Update Custom Filter
Update an existing custom filter
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'custom_filter_id'], 'properties': {'name': {'type': 'string', 'description': 'Filter name'}, 'query': {'description': 'Filter query definition (JSON)'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'custom_filter_id': {'type': 'number', 'description': 'Custom filter ID'}}}
help_center_articles_create
Create Article
Create an article in a help center portal
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'portal_id', 'title'], 'properties': {'title': {'type': 'string', 'description': 'Article title'}, 'status': {'enum': ['draft', 'published', 'archived'], 'type': 'string', 'description': 'Article status'}, 'content': {'type': 'string', 'description': 'Article content (HTML)'}, 'author_id': {'type': 'number', 'description': 'Author agent ID'}, 'portal_id': {'type': 'number', 'description': 'Portal ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'category_id': {'type': 'number', 'description': 'Category ID'}, 'description': {'type': 'string', 'description': 'Short description / excerpt'}}}
help_center_categories_create
Create Category
Create a category in a help center portal
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'portal_id', 'name'], 'properties': {'name': {'type': 'string', 'description': 'Category name'}, 'locale': {'type': 'string', 'description': 'Locale (e.g. en)'}, 'position': {'type': 'number', 'description': 'Sort position'}, 'portal_id': {'type': 'number', 'description': 'Portal ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'description': {'type': 'string', 'description': 'Category description'}}}
help_center_portals_create
Create Portal
Create a new help center portal
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'name', 'slug'], 'properties': {'name': {'type': 'string', 'description': 'Portal name'}, 'slug': {'type': 'string', 'description': 'URL slug for the portal'}, 'color': {'type': 'string', 'description': 'Brand color'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'page_title': {'type': 'string', 'description': 'Page title'}, 'header_text': {'type': 'string', 'description': 'Header text'}, 'homepage_link': {'type': 'string', 'description': 'Homepage link'}}}
help_center_portals_list
List Portals
List all help center portals
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}}}
help_center_portals_update
Update Portal
Update a help center portal
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'portal_id'], 'properties': {'name': {'type': 'string', 'description': 'Portal name'}, 'color': {'type': 'string', 'description': 'Brand color'}, 'portal_id': {'type': 'number', 'description': 'Portal ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'page_title': {'type': 'string', 'description': 'Page title'}, 'header_text': {'type': 'string', 'description': 'Header text'}, 'homepage_link': {'type': 'string', 'description': 'Homepage link'}}}
inboxes_create
Create Inbox
Create a new inbox (channel). The channel object varies by type.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'name', 'channel'], 'properties': {'name': {'type': 'string', 'description': 'Inbox name'}, 'channel': {'type': 'object', 'description': 'Channel configuration object (varies by type: web_widget, api, email, etc.)', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
inboxes_get
Get Inbox
Get information about a specific inbox
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Inbox ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
inboxes_get_agent_bot
Get Inbox Agent Bot
Get the agent bot associated with an inbox
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Inbox ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
inboxes_list
List Inboxes
List all communication channel inboxes in the account
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}}}
inboxes_set_agent_bot
Set Inbox Agent Bot
Set or unset the agent bot for an inbox
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id', 'agent_bot'], 'properties': {'id': {'type': 'number', 'description': 'Inbox ID'}, 'agent_bot': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Agent bot ID (null to unset)'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
inboxes_update
Update Inbox
Update an inbox
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Inbox ID'}, 'name': {'type': 'string', 'description': 'Inbox name'}, 'channel': {'type': 'object', 'description': 'Channel configuration', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'enable_auto_assignment': {'type': 'boolean', 'description': 'Enable auto-assignment'}}}
inbox_members_create
Add Inbox Members
Add agents to an inbox
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'inbox_id', 'user_ids'], 'properties': {'inbox_id': {'type': 'number', 'description': 'Inbox ID'}, 'user_ids': {'type': 'array', 'items': {'type': 'number'}, 'description': 'Array of agent IDs to add'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
inbox_members_delete
Remove Inbox Members
Remove agents from an inbox
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'inbox_id', 'user_ids'], 'properties': {'inbox_id': {'type': 'number', 'description': 'Inbox ID'}, 'user_ids': {'type': 'array', 'items': {'type': 'number'}, 'description': 'Array of agent IDs to remove'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
inbox_members_list
List Inbox Members
List agents assigned to an inbox
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'inbox_id'], 'properties': {'inbox_id': {'type': 'number', 'description': 'Inbox ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
inbox_members_update
Update Inbox Members
Replace all agents in an inbox (removes agents not in list)
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'inbox_id', 'user_ids'], 'properties': {'inbox_id': {'type': 'number', 'description': 'Inbox ID'}, 'user_ids': {'type': 'array', 'items': {'type': 'number'}, 'description': 'Array of agent IDs (replaces existing list)'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
integrations_create_hook
Create Integration Hook
Create an integration hook (webhook for integration)
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'app_id'], 'properties': {'app_id': {'type': 'string', 'description': 'Integration app ID'}, 'settings': {'type': 'object', 'description': 'Integration settings', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
integrations_delete_hook
Delete Integration Hook
Delete an integration hook
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'hook_id'], 'properties': {'hook_id': {'type': 'number', 'description': 'Hook ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
integrations_list_apps
List Integration Apps
List all available third-party integration apps
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}}}
integrations_update_hook
Update Integration Hook
Update an integration hook
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'hook_id'], 'properties': {'hook_id': {'type': 'number', 'description': 'Hook ID'}, 'settings': {'type': 'object', 'description': 'Integration settings', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
kanban_audit_events_get
Get Kanban Audit Event
[Odichat] Get a specific audit event from a kanban task
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'task_id', 'event_id'], 'properties': {'task_id': {'type': 'number', 'description': 'Kanban task ID'}, 'event_id': {'type': 'number', 'description': 'Audit event ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
kanban_audit_events_list
List Kanban Audit Events
[Odichat] List audit events (activity log) for a kanban task
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'task_id'], 'properties': {'page': {'type': 'number', 'description': 'Page number'}, 'task_id': {'type': 'number', 'description': 'Kanban task ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
kanban_boards_create
Create Kanban Board
[Odichat] Create a new kanban board
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'name'], 'properties': {'name': {'type': 'string', 'description': 'Board name'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'description': {'type': 'string', 'description': 'Board description'}}}
kanban_boards_delete
Delete Kanban Board
[Odichat] Delete a kanban board
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'board_id'], 'properties': {'board_id': {'type': 'number', 'description': 'Kanban board ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
kanban_boards_get
Get Kanban Board
[Odichat] Get a specific kanban board
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'board_id'], 'properties': {'board_id': {'type': 'number', 'description': 'Kanban board ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
kanban_boards_list
List Kanban Boards
[Odichat] List all kanban boards in the account
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'page': {'type': 'number', 'description': 'Page number'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
kanban_boards_update
Update Kanban Board
[Odichat] Update a kanban board
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'board_id'], 'properties': {'name': {'type': 'string', 'description': 'Board name'}, 'board_id': {'type': 'number', 'description': 'Kanban board ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'description': {'type': 'string', 'description': 'Board description'}}}
kanban_boards_update_agents
Update Board Agents
[Odichat] Update the agents assigned to a kanban board
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'board_id', 'agent_ids'], 'properties': {'board_id': {'type': 'number', 'description': 'Kanban board ID'}, 'agent_ids': {'type': 'array', 'items': {'type': 'number'}, 'description': 'Array of agent IDs to assign to the board'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
kanban_steps_create
Create Kanban Step
[Odichat] Create a new step (column) in a kanban board
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'board_id', 'name'], 'properties': {'name': {'type': 'string', 'description': 'Step name'}, 'color': {'type': 'string', 'description': 'Step color (hex)'}, 'board_id': {'type': 'number', 'description': 'Kanban board ID'}, 'cancelled': {'type': 'boolean', 'description': 'Whether this step represents a cancelled state'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'description': {'type': 'string', 'description': 'Step description'}}}
kanban_steps_delete
Delete Kanban Step
[Odichat] Delete a step from a kanban board
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'board_id', 'step_id'], 'properties': {'step_id': {'type': 'number', 'description': 'Step ID'}, 'board_id': {'type': 'number', 'description': 'Kanban board ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
kanban_steps_get
Get Kanban Step
[Odichat] Get a specific step in a kanban board
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'board_id', 'step_id'], 'properties': {'step_id': {'type': 'number', 'description': 'Step ID'}, 'board_id': {'type': 'number', 'description': 'Kanban board ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
kanban_steps_list
List Kanban Steps
[Odichat] List all steps in a kanban board
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'board_id'], 'properties': {'board_id': {'type': 'number', 'description': 'Kanban board ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
kanban_steps_update
Update Kanban Step
[Odichat] Update a step in a kanban board
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'board_id', 'step_id'], 'properties': {'name': {'type': 'string', 'description': 'Step name'}, 'color': {'type': 'string', 'description': 'Step color (hex)'}, 'step_id': {'type': 'number', 'description': 'Step ID'}, 'board_id': {'type': 'number', 'description': 'Kanban board ID'}, 'cancelled': {'type': 'boolean', 'description': 'Cancelled state'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'description': {'type': 'string', 'description': 'Step description'}}}
kanban_tasks_create
Create Kanban Task
[Odichat] Create a new task in a kanban board
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'board_id', 'title', 'board_step_id'], 'properties': {'title': {'type': 'string', 'description': 'Task title'}, 'board_id': {'type': 'number', 'description': 'Kanban board ID'}, 'due_date': {'type': 'string', 'description': 'Due date (ISO 8601)'}, 'priority': {'enum': ['none', 'low', 'medium', 'high', 'urgent'], 'type': 'string', 'description': 'Task priority'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'description': {'type': 'string', 'description': 'Task description'}, 'board_step_id': {'type': 'number', 'description': 'Step ID to place task in'}, 'conversation_ids': {'type': 'array', 'items': {'type': 'number'}, 'description': 'Array of linked conversation IDs'}, 'assigned_agent_ids': {'type': 'array', 'items': {'type': 'number'}, 'description': 'Array of assigned agent IDs'}}}
kanban_tasks_delete
Delete Kanban Task
[Odichat] Delete a kanban task
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'task_id'], 'properties': {'task_id': {'type': 'number', 'description': 'Task ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
kanban_tasks_get
Get Kanban Task
[Odichat] Get a specific task
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'task_id'], 'properties': {'task_id': {'type': 'number', 'description': 'Task ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
kanban_tasks_list
List Kanban Tasks
[Odichat] List tasks in a kanban board
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'page': {'type': 'number', 'description': 'Page number'}, 'step_id': {'type': 'number', 'description': 'Filter by step ID'}, 'board_id': {'type': 'number', 'description': 'Filter by kanban board ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
kanban_tasks_move
Move Kanban Task
[Odichat] Move a kanban task to a different step and/or position
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'task_id', 'board_step_id'], 'properties': {'task_id': {'type': 'number', 'description': 'Task ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'board_step_id': {'type': 'number', 'description': 'Target step ID'}, 'insert_before_task_id': {'type': 'number', 'description': 'Task ID to insert before (for ordering)'}}}
kanban_tasks_update
Update Kanban Task
[Odichat] Update a kanban task
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'task_id'], 'properties': {'title': {'type': 'string', 'description': 'Task title'}, 'task_id': {'type': 'number', 'description': 'Task ID'}, 'due_date': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Due date (ISO 8601) or null to clear'}, 'priority': {'enum': ['none', 'low', 'medium', 'high', 'urgent'], 'type': 'string', 'description': 'Task priority'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'description': {'type': 'string', 'description': 'Task description'}, 'board_step_id': {'type': 'number', 'description': 'Move to a different step'}, 'assigned_agent_ids': {'anyOf': [{'type': 'array', 'items': {'type': 'number'}}, {'type': 'null'}], 'description': 'Array of assigned agent IDs (null to unassign)'}}}
labels_create
Create Label
Create a label in the account so it can be applied to conversations and contacts
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'title'], 'properties': {'color': {'type': 'string', 'description': 'Label color (hex)'}, 'title': {'type': 'string', 'description': 'Label name (lowercase, no spaces)'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'description': {'type': 'string', 'description': 'Label description'}, 'show_on_sidebar': {'type': 'boolean', 'description': 'Show the label in the sidebar'}}}
labels_delete
Delete Label
Delete a label and remove it from every conversation and contact that carries it
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Label ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
labels_list
List Labels
List all labels defined in the account
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}}}
labels_update
Update Label
Update an existing label
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'id'], 'properties': {'id': {'type': 'number', 'description': 'Label ID'}, 'color': {'type': 'string', 'description': 'Label color (hex)'}, 'title': {'type': 'string', 'description': 'Label name'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'description': {'type': 'string', 'description': 'Label description'}, 'show_on_sidebar': {'type': 'boolean', 'description': 'Show the label in the sidebar'}}}
messages_create
Send Message
Send a message in a conversation
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id', 'content'], 'properties': {'content': {'type': 'string', 'description': 'Message content'}, 'private': {'type': 'boolean', 'description': 'Whether this is a private/internal note'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'content_type': {'enum': ['text', 'input_select', 'cards', 'form'], 'type': 'string', 'description': 'Content type'}, 'message_type': {'enum': ['outgoing', 'incoming'], 'type': 'string', 'description': 'Message type (default: outgoing)'}, 'conversation_id': {'type': 'number', 'description': 'The conversation ID'}, 'content_attributes': {'type': 'object', 'description': 'Content attributes for rich messages', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}}}
messages_delete
Delete Message
Delete a message from a conversation
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id', 'message_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'message_id': {'type': 'number', 'description': 'Message ID'}, 'conversation_id': {'type': 'number', 'description': 'The conversation ID'}}}
messages_list
List Messages
List messages in a conversation
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'conversation_id': {'type': 'number', 'description': 'The conversation ID'}}}
message_templates_list
List Message Templates
[Odichat] List the WhatsApp message templates available on an inbox. Templates are scoped per inbox, not per account. The response includes unapproved templates — only those with status 'approved' can be sent.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'inbox_id'], 'properties': {'inbox_id': {'type': 'number', 'description': 'Inbox ID to list templates for'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
profile_get
Get Profile
Get the profile of the currently authenticated user/agent
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
reports_account_overview
Account Metrics
Get account-level conversation metrics
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'type': {'enum': ['account'], 'type': 'string', 'default': 'account', 'description': "Report type (always 'account')"}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
reports_account_summary
Account Summary
Get account summary (conversations count, incoming messages, etc.) for a time range
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'since', 'until'], 'properties': {'since': {'type': 'string', 'description': 'Start date/time (epoch or ISO 8601)'}, 'until': {'type': 'string', 'description': 'End date/time (epoch or ISO 8601)'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
reports_agent_summary
Agent Summary
Get agent-level summary statistics for a time range
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'since', 'until'], 'properties': {'since': {'type': 'string', 'description': 'Start date/time'}, 'until': {'type': 'string', 'description': 'End date/time'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
reports_conversation_metrics
Conversation Metrics
Get conversation-level metrics (resolution time, first response, etc.)
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'type': {'enum': ['account', 'agent', 'inbox', 'team', 'label'], 'type': 'string', 'description': 'Group results by type'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
reports_v2_agents
Reports V2 Agents
Get v2 agent performance reports
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'since', 'until'], 'properties': {'since': {'type': 'string', 'description': 'Start date (ISO 8601)'}, 'until': {'type': 'string', 'description': 'End date (ISO 8601)'}, 'group_by': {'enum': ['day', 'week', 'month', 'year'], 'type': 'string', 'description': 'Grouping interval'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
reports_v2_inboxes
Reports V2 Inboxes
Get v2 inbox performance reports
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'since', 'until'], 'properties': {'since': {'type': 'string', 'description': 'Start date (ISO 8601)'}, 'until': {'type': 'string', 'description': 'End date (ISO 8601)'}, 'group_by': {'enum': ['day', 'week', 'month', 'year'], 'type': 'string', 'description': 'Grouping interval'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
reports_v2_teams
Reports V2 Teams
Get v2 team performance reports
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'since', 'until'], 'properties': {'since': {'type': 'string', 'description': 'Start date (ISO 8601)'}, 'until': {'type': 'string', 'description': 'End date (ISO 8601)'}, 'group_by': {'enum': ['day', 'week', 'month', 'year'], 'type': 'string', 'description': 'Grouping interval'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
scheduled_messages_create
Create Scheduled Message
[Odichat] Schedule a message to be sent later in a conversation. Defaults to status 'pending' so the message is actually delivered — a 'draft' is stored but never sent.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id', 'content', 'scheduled_at'], 'properties': {'status': {'enum': ['pending', 'draft'], 'type': 'string', 'default': 'pending', 'description': "'pending' schedules the message for delivery (default); 'draft' stores it without ever sending it"}, 'content': {'type': 'string', 'description': 'Message content'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'message_type': {'enum': ['outgoing', 'incoming'], 'type': 'string', 'description': 'Message type'}, 'scheduled_at': {'type': 'string', 'description': 'ISO 8601 datetime for when to send the message'}, 'hold_on_reply': {'type': 'boolean', 'default': True, 'description': 'Cancel the scheduled message if the contact replies first (server default is false)'}, 'conversation_id': {'type': 'number', 'description': 'Conversation ID (display_id)'}, 'template_params': {'type': 'object', 'description': 'WhatsApp template payload: { name, language, category, processed_params }', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}}}
scheduled_messages_create_call_reminders
Schedule Call Reminders
[Odichat] Schedule the two WhatsApp call reminders for a booked call: "call_reminder_1h" one hour before, and "call_ongoing_now" at the call time. Give the call time as a naive local time plus an IANA timezone; the tool converts to UTC. The no-show follow-up is not scheduled — a human sends that one manually.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id', 'call_time_local', 'iana_timezone'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'iana_timezone': {'type': 'string', 'description': "IANA timezone identifier for the local time, e.g. America/Caracas. Translate the contact's country or city into an identifier before calling; this tool validates but does not guess."}, 'call_time_local': {'type': 'string', 'description': 'Local wall-clock time of the call as YYYY-MM-DDTHH:mm, with no offset and no trailing Z (e.g. 2026-09-09T10:00)'}, 'conversation_id': {'type': 'number', 'description': 'Conversation ID (display_id)'}}}
scheduled_messages_create_from_template
Schedule a Template Message
[Odichat] Schedule an approved WhatsApp template message in a conversation. Looks the template up by its friendly_name on the conversation's own inbox, fills in the contact's name automatically, and schedules it for delivery. Only Twilio-backed WhatsApp inboxes are supported. Use message_templates_list to see the available names.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id', 'template_name', 'scheduled_at'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'extra_params': {'type': 'object', 'description': 'Literal values for placeholders {{2}} and up, keyed by placeholder number. Never include "1" â\x80\x94 that is the contact\'s name and is filled in automatically.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'scheduled_at': {'type': 'string', 'description': 'Absolute ISO 8601 UTC datetime, must be in the future (e.g. 2026-09-09T15:30:00Z)'}, 'hold_on_reply': {'type': 'boolean', 'default': True, 'description': 'Cancel the scheduled message if the contact replies first'}, 'template_name': {'type': 'string', 'description': "The template's friendly_name; must be approved"}, 'conversation_id': {'type': 'number', 'description': 'Conversation ID (display_id)'}}}
scheduled_messages_delete
Delete Scheduled Message
[Odichat] Delete a scheduled message
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id', 'scheduled_message_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'conversation_id': {'type': 'number', 'description': 'Conversation ID (display_id)'}, 'scheduled_message_id': {'type': 'number', 'description': 'Scheduled message ID'}}}
scheduled_messages_list
List Scheduled Messages
[Odichat] List scheduled messages for a conversation
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'conversation_id': {'type': 'number', 'description': 'Conversation ID (display_id)'}}}
scheduled_messages_update
Update Scheduled Message
[Odichat] Update a scheduled message
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'conversation_id', 'scheduled_message_id'], 'properties': {'status': {'enum': ['pending', 'draft'], 'type': 'string', 'description': "'pending' to schedule for delivery, 'draft' to hold"}, 'content': {'type': 'string', 'description': 'Message content'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'scheduled_at': {'type': 'string', 'description': 'ISO 8601 datetime'}, 'hold_on_reply': {'type': 'boolean', 'description': 'Cancel the scheduled message if the contact replies first'}, 'conversation_id': {'type': 'number', 'description': 'Conversation ID (display_id)'}, 'scheduled_message_id': {'type': 'number', 'description': 'Scheduled message ID'}}}
team_members_add
Add Team Members
Add agents to a team
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'team_id', 'user_ids'], 'properties': {'team_id': {'type': 'number', 'description': 'Team ID'}, 'user_ids': {'type': 'array', 'items': {'type': 'number'}, 'description': 'Array of agent IDs to add'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
team_members_delete
Remove Team Members
Remove agents from a team
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'team_id', 'user_ids'], 'properties': {'team_id': {'type': 'number', 'description': 'Team ID'}, 'user_ids': {'type': 'array', 'items': {'type': 'number'}, 'description': 'Array of agent IDs to remove'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
team_members_list
List Team Members
List agents in a team
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'team_id'], 'properties': {'team_id': {'type': 'number', 'description': 'Team ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
team_members_update
Update Team Members
Replace all agents in a team (removes agents not in list)
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'team_id', 'user_ids'], 'properties': {'team_id': {'type': 'number', 'description': 'Team ID'}, 'user_ids': {'type': 'array', 'items': {'type': 'number'}, 'description': 'Array of agent IDs'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
teams_create
Create Team
Create a new team
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'name'], 'properties': {'name': {'type': 'string', 'description': 'Team name'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'description': {'type': 'string', 'description': 'Team description'}, 'allow_auto_assign': {'type': 'boolean', 'description': 'Allow auto-assignment to this team'}}}
teams_delete
Delete Team
Delete a team
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'team_id'], 'properties': {'team_id': {'type': 'number', 'description': 'Team ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
teams_get
Get Team
Get a specific team
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'team_id'], 'properties': {'team_id': {'type': 'number', 'description': 'Team ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}}}
teams_list
List Teams
List all teams in the account
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}}}
teams_update
Update Team
Update a team
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'team_id'], 'properties': {'name': {'type': 'string', 'description': 'Team name'}, 'team_id': {'type': 'number', 'description': 'Team ID'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'description': {'type': 'string', 'description': 'Team description'}, 'allow_auto_assign': {'type': 'boolean', 'description': 'Allow auto-assignment'}}}
webhooks_create
Create Webhook
Create a new webhook that receives event notifications at the given URL
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'url'], 'properties': {'url': {'type': 'string', 'description': 'Webhook endpoint URL'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'subscriptions': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Event types to subscribe to (e.g. conversation_created, message_created)'}}}
webhooks_delete
Delete Webhook
Delete a webhook
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'webhook_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}, 'webhook_id': {'type': 'number', 'description': 'Webhook ID'}}}
webhooks_list
List Webhooks
List all webhooks configured in the account
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id'], 'properties': {'account_id': {'type': 'number', 'description': 'The account ID'}}}
webhooks_update
Update Webhook
Update a webhook URL or subscriptions
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account_id', 'webhook_id'], 'properties': {'url': {'type': 'string', 'description': 'Webhook endpoint URL'}, 'account_id': {'type': 'number', 'description': 'The account ID'}, 'webhook_id': {'type': 'number', 'description': 'Webhook ID'}, 'subscriptions': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Event types to subscribe to'}}}
追加
webhooks_delete
2026年9月28日2:40
追加
webhooks_update
2026年9月28日2:40
追加
webhooks_create
2026年9月28日2:40
追加
webhooks_list
2026年9月28日2:40
追加
team_members_delete
2026年9月28日2:40
追加
team_members_update
2026年9月28日2:40
追加
team_members_add
2026年9月28日2:40
追加
team_members_list
2026年9月28日2:40
追加
teams_delete
2026年9月28日2:40
追加
teams_update
2026年9月28日2:40
追加
teams_get
2026年9月28日2:40
追加
teams_create
2026年9月28日2:40
追加
teams_list
2026年9月28日2:40
追加
scheduled_messages_delete
2026年9月28日2:40
追加
scheduled_messages_update
2026年9月28日2:40
追加
scheduled_messages_create_from_template
2026年9月28日2:40
追加
scheduled_messages_create
2026年9月28日2:40
追加
scheduled_messages_list
2026年9月28日2:40
追加
reports_v2_teams
2026年9月28日2:40
追加
reports_v2_inboxes
2026年9月28日2:40
追加
reports_v2_agents
2026年9月28日2:40
追加
reports_conversation_metrics
2026年9月28日2:40
追加
reports_agent_summary
2026年9月28日2:40
追加
reports_account_summary
2026年9月28日2:40
追加
reports_account_overview
2026年9月28日2:40
追加
profile_get
2026年9月28日2:40
追加
message_templates_list
2026年9月28日2:40
追加
messages_delete
2026年9月28日2:40
追加
messages_create
2026年9月28日2:40
追加
messages_list
2026年9月28日2:40