Skip to content
dimmiDocs

Messenger

Create a messenger

POST/api/v1/widget-settings

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the settings:write ability

Body

application/json
allow_anonymousboolean

Whether visitors may write in the messenger before they sign in to your product. true lets anonymous visitors start a session, false refuses them. New messengers start with true. Example: true.

allowed_originsstring[] | null

Sites that may load the messenger, as a list, such as ["https://app.company.com"]; *.company.com covers one label. An empty list allows any site.

appearanceobject

The messenger's look, as a JSON object. Keys merge one by one and null resets a key; for example theme light, dark or auto, position right or left. Such as {"theme": "dark", "position": "left"}.

attachments_enabledboolean

Whether visitors may upload files in the messenger. true allows attachments, false refuses uploads. New messengers start with true. Example: false.

changelog_tab_enabledboolean

Whether the messenger shows a changelog tab. The tab only appears when the messenger also has a help center set (help_center_id). Example: true.

collect_emailstring

When the messenger asks a visitor for an email: never, offline or always. Such as "offline".

enabledboolean

true turns the messenger on; false hides it on every site.

help_center_idstring

Id of the help center the messenger's help tab shows, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers.

help_tab_enabledboolean

Whether the messenger shows a help tab with articles. The tab only appears when the messenger also has a help center set (help_center_id). Example: true.

home_linksobject[] | null

Replaces the messenger's home screen links, as a list: each a title, an https or mailto url and an icon (link, calendar, book, mail, phone, chat, video or help). Such as [{"title": "Book a demo", "url": "https://example.com/demo", "icon": "calendar"}].

Show child attributes
iconstring

The icon shown beside the link: link, calendar, book, mail, phone, chat, video or help. Left out, it is link. Such as "calendar".

titlestringrequired

The words the link shows on the messenger's home screen, 1 to 40 characters, such as Book a demo.

urlstringrequired

Where the link goes: an https:// address or a mailto: address, at most 2048 characters, such as https://example.com/demo or mailto:help@example.com.

inbox_idstring

Id of the inbox the messenger's conversations land in, starting with inbox_, such as inbox_01jx2m8k4t. Find it with GET /inboxes.

intercom_shimboolean

Whether the messenger's loader keeps an old Intercom snippet's calls working while a customer moves over to dimmi. Off by default. Example: true.

localestring

The messenger's language, as a language code, such as en or pt-BR. In a preview it is the language the texts are shown in.

max_attachment_mbinteger

Largest file customers may attach, in megabytes, a whole number from 1 to 25, such as 10.

Format: int32

namestring

The name of the widget settings.

native_apps_enabledboolean

Whether requests without an Origin header, which is what native mobile apps send, are accepted even when the messenger has a list of allowed sites. Off by default. Example: true.

reply_timestring

The reply time customers are told: auto, minutes, hours or day. Such as "hours".

require_email_when_offlineboolean

Whether a visitor with no email must give one before sending a message while the team is away. Off by default. Example: true.

show_availabilityboolean

Whether the messenger shows visitors the team's availability. Part of the config the messenger loads; new messengers start with true. Example: false.

show_brandingboolean

Whether the messenger shows the 'Powered by' badge: true shows it, false hides it. On dimmi cloud, hiding is refused until the workspace has paid an invoice. Example: true.

show_team_avatarsboolean

Whether the messenger shows visitors the team's avatars. Part of the config the messenger loads; new messengers start with true. Example: false.

textsobject

Object of the messenger's own words: text key to plain text. Only known keys such as greeting, welcome_message, offline_message, composer_placeholder, launcher_label; each has a length limit. null or "" brings back the built-in words. Such as {"greeting":"Hi there","launcher_label":"Chat"}.

texts_by_localeobject

Object of the messenger's words per language: language tag to an object with the same keys as texts. null for a language removes all its words; up to 40 languages. Such as {"fr":{"greeting":"Bonjour"},"de":null}.

Response 201

Created
dataobjectrequired
Show child attributes
allow_anonymousbooleanrequired

True when visitors who are not identified may use the messenger.

allowed_originsstring[] | nullrequired

The sites allowed to load the messenger. Empty when no list is set.

appearanceobjectrequired
Show child attributes
backgroundobjectrequired
Show child attributes
fadebooleanrequired

Whether the background softens into the page below it.

gradientobject
Show child attributes
angleintegerrequired

The gradient's direction in degrees, from 0 to 359, such as 135.

Format: int64

fromstringrequired

The color the gradient starts with, as a hex code such as #10b981.

tostringrequired

The color the gradient ends with, as a hex code such as #3b82f6.

image_asset_idstring

Id of the uploaded image used as the background. Left out unless type is image.

typestringrequired

What fills the messenger's home hero and header: solid, gradient or image.

button_colorstring | nullrequired

Color of the messenger's buttons as #RRGGBB, such as #1f2328. Null when not set.

fontstringrequired

The messenger's font: system, or inherit to use the font of the page it sits on.

header_colorstring | nullrequired

Color of the messenger's header as #RRGGBB. Null when not set.

launcherobjectrequired
Show child attributes
iconstringrequired

The picture on the messenger's launcher button: chat, help or wave.

image_asset_idstring

Id of an uploaded image shown on the launcher instead of the icon. Left out when none is set.

labelstringrequired

The text on the launcher, at most 24 characters. Empty when it shows none.

shapestringrequired

The launcher button's shape: circle or squircle.

stylestringrequired

How the launcher shows on the page: bubble, tab or hidden.

logo_asset_idstring | nullrequired

Id of the uploaded image shown as the messenger's logo. Null when there is no logo.

padding_xintegerrequired

How far the launcher sits from the page's edge sideways, in pixels, from 0 to 200. Defaults to 20.

Format: int64

padding_yintegerrequired

How far the launcher sits from the page's edge up and down, in pixels, from 0 to 200. Defaults to 20.

Format: int64

positionstringrequired

Which side of the page the launcher sits on: right or left.

primary_colorstringrequired

The messenger's main color as #RRGGBB. Defaults to #1f2328.

reply_soundstringrequired

Whether a message coming in makes the messenger's incoming sound: none turns it off; pop, chime, bubble, swoosh and tick all turn it on. Defaults to pop.

sent_soundstringrequired

Whether a message the customer sends makes the messenger's outgoing sound: none turns it off; pop, chime, bubble, swoosh and tick all turn it on. Defaults to pop.

soundbooleanrequired

Whether the messenger plays a sound. On by default.

themestringrequired

The messenger's color scheme: light, dark or auto.

attachments_enabledbooleanrequired

True when customers can send files in the messenger.

audiencesanyrequired

Audience rules for who sees the launcher, who may start a conversation and who sees each tab. An empty object means everyone.

brandingobjectrequired
Show child attributes
lockedbooleanrequired

True when the workspace may not hide the dimmi badge: on the cloud edition until it has paid.

showbooleanrequired

Whether the dimmi badge shows on the messenger.

urlstringrequired

Where the badge links, such as https://trydimmi.com/?ref=<workspace>.

changelog_tab_enabledbooleanrequired

True when the messenger's What's new tab is turned on; it shows only when a help center is linked.

channel_connection_idstringrequired

Id of the channel connection the messenger feeds its inbox through, such as chn_....

collect_emailstringrequired

When the messenger asks a visitor for their email: never, offline or always.

config_versionintegerrequired

A number that goes up each time the messenger's settings change.

Format: int64

created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

enabledbooleanrequired

True when the messenger is turned on.

help_center_idstring | nullrequired

Id of the help center linked to the messenger, such as hc_.... Null when none is linked.

help_tab_enabledbooleanrequired

True when the messenger's help tab is turned on; it shows only when a help center is linked.

home_linksobject[] | nullrequired

The customer's own links listed on the messenger's home screen, such as booking a call.

Show child attributes
iconstringrequired

The icon shown beside the link: link, calendar, book, mail, phone, chat, video or help.

titlestringrequired

The link's text on the messenger's home screen.

urlstringrequired

The address the link opens.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

inboxobjectrequired
Show child attributes
idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

Display name of the inbox, team or member this short form stands for.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

intercom_shimbooleanrequired

True when the loader keeps an old Intercom snippet's calls working while a customer moves over.

last_boot_atstring | nullrequired

When the messenger was last loaded on a site. Null when it never has been.

Format: date-time

last_boot_originstring | nullrequired

The site the messenger was last loaded on. Null when it never has been.

linksobjectrequired
Show child attributes
configstringrequired

Address of the public configuration a browser loads for this messenger.

installstringrequired

API address that returns this messenger's install instructions.

selfstringrequired

API address of this messenger's settings.

localestringrequired

The messenger's language setting: a language code such as en, or auto.

max_attachment_mbintegerrequired

The largest file a customer can send, in megabytes, 1 to 25.

Format: int32

namestringrequired

The messenger's name in dimmi.

native_apps_enabledbooleanrequired

True when requests without an Origin header, which native apps send, are accepted despite the list of allowed sites.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

reply_timestringrequired

The reply time the messenger promises: auto (follows team availability), minutes, hours or day.

require_email_when_offlinebooleanrequired

True when a visitor must give an email to write while the team is away.

show_availabilitybooleanrequired

True when the messenger shows whether the team is available.

show_brandingboolean | nullrequired

Whether the messenger shows dimmi's branding: true, false, or null when the messenger sets nothing of its own.

show_team_avatarsbooleanrequired

True when the messenger shows teammates' pictures.

textsobjectrequired

The messenger's own wording shared by every language, keyed by text name, with defaults filled in.

texts_by_localeobjectrequired

Wording written for specific languages, keyed by language tag then text name, such as {"fr": {"greeting": "Bonjour"}}.

updated_atstringrequired

When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.