inbox_create_payload
The name of the inbox.
SupportImage file for avatar.
Enable greeting message.
trueGreeting message to send when greeting messages are enabled.
Hello, how can I help you?Enable email collection.
Available for: Website
trueEnable CSAT survey.
truecsat_config object
CSAT survey configuration.
Display style for the CSAT survey.
Possible values: [emoji, star]
emojiMessage shown with the CSAT survey.
Please rate your conversationText shown on the CSAT survey button.
Please rate usLanguage code for the CSAT survey.
ensurvey_rules object
Rules that decide when to show the CSAT survey.
contains["billing"]Enable Auto Assignment.
trueEnable working hours.
trueOut of office message to send outside working hours.
We are currently out of office. Please leave a message and we will get back to you.Timezone of the inbox.
America/New_YorkAllow messages after conversation is resolved.
Available for: Website
trueLock contact messages to a single active conversation.
Available for: API LINE Telegram WhatsApp SMS
trueId of the help center portal to attach to the inbox.
1Sender name type for outbound email replies.
Available for: Website Email
Possible values: [friendly, professional]
friendlyBusiness name for outbound email replies.
Available for: Website Email
My Businesschannel object
Possible values: [web_widget, api, email, line, telegram, whatsapp, sms]
- web_widget
- api
- line
- telegram
- sms
URL at which the widget will be loaded
https://example.comWelcome title to be displayed on the widget
Welcome to our supportWelcome tagline to be displayed on the widget
We are here to help youA Hex-color string used to customize the widget
#FF5733Expected reply time shown on the widget
Possible values: [in_a_few_minutes, in_a_few_hours, in_a_day]
in_a_few_minutesEnable the pre-chat form before starting a conversation
falsePre-chat form configuration
{"pre_chat_message":"Share your queries or comments here.","pre_chat_fields":[{"field_type":"standard","label":"Email Id","name":"emailAddress","type":"email","required":true,"enabled":true}]}Continue conversations over email when the contact leaves the website
trueRequire HMAC verification for contacts using the widget
falseComma-separated list of domains where the widget is allowed to load
example.comEnabled widget feature flags
Possible values: [attachments, emoji_picker, end_conversation, use_inbox_avatar_for_bot, allow_mobile_webview]
["attachments","emoji_picker","end_conversation"]Webhook URL for API channel inbox callbacks
https://example.com/webhookRequire HMAC verification for incoming API channel messages
falseAdditional attributes stored on contacts created through the API channel
{"source":"mobile_app"}Email address for the inbox
support@example.comEnable IMAP for inbound emails
trueIMAP login username
support@example.comIMAP login password
your-imap-passwordIMAP server address
imap.example.comIMAP server port
993Enable SSL for IMAP
trueIMAP authentication method
plainEnable SMTP for outbound emails
trueSMTP login username
support@example.comSMTP login password
your-smtp-passwordSMTP server address
smtp.example.comSMTP server port
587SMTP HELO domain
example.comAutomatically enable STARTTLS for SMTP
trueEnable SSL/TLS for SMTP
falseOpenSSL certificate verification mode for SMTP
noneSMTP authentication method
loginEmail provider
googleWhether the inbox is verified for sending emails
falseLINE channel ID
1234567890LINE channel secret
line-channel-secretLINE channel access token
line-channel-tokenTelegram bot token
123456789:telegram-bot-token- WhatsApp Cloud channel
- Legacy 360dialog WhatsApp channel
Possible values: [whatsapp]
whatsappWhatsApp phone number
+15551234567WhatsApp provider
Possible values: [whatsapp_cloud]
whatsapp_cloudprovider_config objectrequired
WhatsApp Cloud provider configuration
WhatsApp Cloud API key
your-api-keyPhone number ID for WhatsApp Cloud
your-phone-number-idBusiness account ID for WhatsApp Cloud
your-business-account-idSMS phone number
+15551234567Provider-specific SMS configuration
{"account_id":"your-account-id","application_id":"your-application-id"}{
"name": "Support",
"avatar": "string",
"greeting_enabled": true,
"greeting_message": "Hello, how can I help you?",
"enable_email_collect": true,
"csat_survey_enabled": true,
"csat_config": {
"display_type": "emoji",
"message": "Please rate your conversation",
"button_text": "Please rate us",
"language": "en",
"survey_rules": {
"operator": "contains",
"values": [
"billing"
]
}
},
"enable_auto_assignment": true,
"working_hours_enabled": true,
"out_of_office_message": "We are currently out of office. Please leave a message and we will get back to you.",
"timezone": "America/New_York",
"allow_messages_after_resolved": true,
"lock_to_single_conversation": true,
"portal_id": 1,
"sender_name_type": "friendly",
"business_name": "My Business",
"channel": {
"type": "web_widget",
"website_url": "https://example.com",
"welcome_title": "Welcome to our support",
"welcome_tagline": "We are here to help you",
"widget_color": "#FF5733",
"reply_time": "in_a_few_minutes",
"pre_chat_form_enabled": false,
"pre_chat_form_options": {
"pre_chat_message": "Share your queries or comments here.",
"pre_chat_fields": [
{
"field_type": "standard",
"label": "Email Id",
"name": "emailAddress",
"type": "email",
"required": true,
"enabled": true
}
]
},
"continuity_via_email": true,
"hmac_mandatory": false,
"allowed_domains": "example.com",
"selected_feature_flags": [
"attachments",
"emoji_picker",
"end_conversation"
]
}
}