Pular para o conteúdo principal
PUT
Replace Inbox

Autorizações

api_access_token
string
header
obrigatório

Token de acesso do usuário (Perfil → Token de acesso). Dá acesso conforme o papel do usuário e age em nome dele.

Parâmetros de caminho

account_id
string
obrigatório

The numeric ID of the account

id
number
obrigatório

ID of the inbox

Corpo

application/json
name
string

The name of the inbox

Exemplo:

"Support"

avatar
file

Image file for avatar

greeting_enabled
boolean

Enable greeting message

Exemplo:

true

greeting_message
string

Greeting message to be displayed on the widget

Exemplo:

"Hello, how can I help you?"

enable_email_collect
boolean

Enable email collection

Exemplo:

true

csat_survey_enabled
boolean

Enable CSAT survey

Exemplo:

true

enable_auto_assignment
boolean

Enable Auto Assignment

Exemplo:

true

working_hours_enabled
boolean

Enable working hours

Exemplo:

true

out_of_office_message
string

Out of office message to be displayed on the widget

Exemplo:

"We are currently out of office. Please leave a message and we will get back to you."

timezone
string

Timezone of the inbox

Exemplo:

"America/New_York"

allow_messages_after_resolved
boolean

Allow messages after conversation is resolved

Exemplo:

true

lock_to_single_conversation
boolean

Lock to single conversation

Exemplo:

true

comments_enabled
boolean

Facebook and Instagram inboxes. Receive post comments as messages (needs the account feature social_comments).

Exemplo:

true

comments_top_level_only
boolean

Facebook and Instagram inboxes. Skip comments that reply to other comments, so only top-level comments become messages.

Exemplo:

true

portal_id
integer

Id of the help center portal to attach to the inbox

Exemplo:

1

sender_name_type
enum<string>

Sender name type for the inbox

Opções disponíveis:
friendly,
professional
Exemplo:

"friendly"

business_name
string

Business name for the inbox

Exemplo:

"My Business"

branded_email_layout
string | null

Liquid HTML layout for outbound email replies. Must include {{ content_for_layout }} and be 262,144 characters or shorter.

Available for: Email

Maximum string length: 262144
Exemplo:

"<html><body>{{ content_for_layout }}</body></html>"

channel
object

Resposta

Success

id
number

ID of the inbox

name
string

The name of the inbox

website_url
string

Website URL

page_id
string | null

Facebook Page ID associated with the inbox

instagram_id
string | null

Instagram account ID associated with the inbox

business_id
string | null

TikTok business ID associated with the inbox

provider_name
string | null

Provider username or page name associated with the social inbox

profile_id
string | null

X profile ID associated with the inbox

line_channel_id
string | null

LINE channel ID associated with the inbox

email
string | null

Email address associated with the inbox

bot_name
string | null

Telegram bot name associated with the inbox

inbox_identifier
string | null

Public identifier associated with an API inbox

channel_type
string

The type of the inbox

avatar_url
string

The avatar image of the inbox

widget_color
string

Widget Color used for customization of the widget

website_token
string

Website Token

enable_auto_assignment
boolean

The flag which shows whether Auto Assignment is enabled or not

web_widget_script
string

Script used to load the website widget

welcome_title
string | null

Welcome title to be displayed on the widget

welcome_tagline
string | null

Welcome tagline to be displayed on the widget

greeting_enabled
boolean

The flag which shows whether greeting is enabled

greeting_message
string | null

A greeting message when the user starts the conversation

channel_id
number

ID of the channel this inbox belongs to

working_hours_enabled
boolean

The flag which shows whether working hours feature is enabled

enable_email_collect
boolean

The flag to enable collecting email from contacts

csat_survey_enabled
boolean

The flag to enable CSAT survey

auto_assignment_config
object

Configuration settings for auto assignment

out_of_office_message
string | null

Message to show when agents are out of office

out_of_office_config
object

Conversations that never get the out-of-office message

working_hours
object[]

Configuration for working hours of the inbox

timezone
string

Timezone configuration for the inbox

callback_webhook_url
string | null

Webhook URL for callbacks

allow_messages_after_resolved
boolean

Whether to allow messages after a conversation is resolved

lock_to_single_conversation
boolean

Whether to lock a contact to a single conversation

comments_enabled
boolean

Whether Facebook and Instagram post comments are received as messages. Off by default.

comments_top_level_only
boolean

Whether comments that reply to other comments are skipped. On by default.

sender_name_type
string

Type of sender name to display (e.g., friendly)

business_name
string | null

Business name associated with the inbox

branded_email_layout
string | null

Liquid HTML layout for branded email replies, up to 262,144 characters. Available to administrators for Email inbox show/update responses.

Maximum string length: 262144
hmac_mandatory
boolean

Whether HMAC verification is mandatory

selected_feature_flags
string[] | null

Selected feature flags for the inbox

reply_time
string

Expected reply time

messaging_service_sid
string | null

Messaging service SID for SMS providers

phone_number
string | null

Phone number associated with the inbox

medium
string

Medium of communication (e.g., sms, email)

provider
string | null

Provider of the channel

direct_send_enabled
boolean

WhatsApp Cloud only. Direct Send is turned on and the inbox still meets Meta's requirement (100K or unlimited messaging limit).

direct_send_eligible
boolean

WhatsApp Cloud only, administrators only. The inbox meets Meta's usual Direct Send requirement (100K or unlimited messaging limit).