Messenger
Create a messenger
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:write ability
Body
application/jsonallow_anonymousbooleanWhether 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[] | nullSites 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.
appearanceobjectThe 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_enabledbooleanWhether visitors may upload files in the messenger. true allows attachments, false refuses uploads. New messengers start with true. Example: false.
changelog_tab_enabledbooleanWhether 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_emailstringWhen the messenger asks a visitor for an email: never, offline or always. Such as "offline".
enabledbooleantrue turns the messenger on; false hides it on every site.
help_center_idstringId 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_enabledbooleanWhether 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[] | nullReplaces 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 attributesHide child attributes
iconstringThe icon shown beside the link: link, calendar, book, mail, phone, chat, video or help. Left out, it is link. Such as "calendar".
titlestringrequiredThe words the link shows on the messenger's home screen, 1 to 40 characters, such as Book a demo.
urlstringrequiredWhere 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_idstringId of the inbox the messenger's conversations land in, starting with inbox_, such as inbox_01jx2m8k4t. Find it with GET /inboxes.
intercom_shimbooleanWhether the messenger's loader keeps an old Intercom snippet's calls working while a customer moves over to dimmi. Off by default. Example: true.
localestringThe 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_mbintegerLargest file customers may attach, in megabytes, a whole number from 1 to 25, such as 10.
Format: int32
namestringThe name of the widget settings.
native_apps_enabledbooleanWhether 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_timestringThe reply time customers are told: auto, minutes, hours or day. Such as "hours".
require_email_when_offlinebooleanWhether a visitor with no email must give one before sending a message while the team is away. Off by default. Example: true.
show_availabilitybooleanWhether the messenger shows visitors the team's availability. Part of the config the messenger loads; new messengers start with true. Example: false.
show_brandingbooleanWhether 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_avatarsbooleanWhether the messenger shows visitors the team's avatars. Part of the config the messenger loads; new messengers start with true. Example: false.
textsobjectObject 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_localeobjectObject 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
CreateddataobjectrequiredShow child attributesHide child attributes
allow_anonymousbooleanrequiredTrue when visitors who are not identified may use the messenger.
allowed_originsstring[] | nullrequiredThe sites allowed to load the messenger. Empty when no list is set.
appearanceobjectrequiredShow child attributesHide child attributes
backgroundobjectrequiredShow child attributesHide child attributes
fadebooleanrequiredWhether the background softens into the page below it.
gradientobjectShow child attributesHide child attributes
angleintegerrequiredThe gradient's direction in degrees, from 0 to 359, such as 135.
Format: int64
fromstringrequiredThe color the gradient starts with, as a hex code such as #10b981.
tostringrequiredThe color the gradient ends with, as a hex code such as #3b82f6.
image_asset_idstringId of the uploaded image used as the background. Left out unless type is image.
typestringrequiredWhat fills the messenger's home hero and header: solid, gradient or image.
button_colorstring | nullrequiredColor of the messenger's buttons as #RRGGBB, such as #1f2328. Null when not set.
fontstringrequiredThe messenger's font: system, or inherit to use the font of the page it sits on.
header_colorstring | nullrequiredColor of the messenger's header as #RRGGBB. Null when not set.
launcherobjectrequiredShow child attributesHide child attributes
iconstringrequiredThe picture on the messenger's launcher button: chat, help or wave.
image_asset_idstringId of an uploaded image shown on the launcher instead of the icon. Left out when none is set.
labelstringrequiredThe text on the launcher, at most 24 characters. Empty when it shows none.
shapestringrequiredThe launcher button's shape: circle or squircle.
stylestringrequiredHow the launcher shows on the page: bubble, tab or hidden.
logo_asset_idstring | nullrequiredId of the uploaded image shown as the messenger's logo. Null when there is no logo.
padding_xintegerrequiredHow far the launcher sits from the page's edge sideways, in pixels, from 0 to 200. Defaults to 20.
Format: int64
padding_yintegerrequiredHow far the launcher sits from the page's edge up and down, in pixels, from 0 to 200. Defaults to 20.
Format: int64
positionstringrequiredWhich side of the page the launcher sits on: right or left.
primary_colorstringrequiredThe messenger's main color as #RRGGBB. Defaults to #1f2328.
reply_soundstringrequiredWhether 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_soundstringrequiredWhether 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.
soundbooleanrequiredWhether the messenger plays a sound. On by default.
themestringrequiredThe messenger's color scheme: light, dark or auto.
attachments_enabledbooleanrequiredTrue when customers can send files in the messenger.
audiencesanyrequiredAudience rules for who sees the launcher, who may start a conversation and who sees each tab. An empty object means everyone.
brandingobjectrequiredShow child attributesHide child attributes
lockedbooleanrequiredTrue when the workspace may not hide the dimmi badge: on the cloud edition until it has paid.
showbooleanrequiredWhether the dimmi badge shows on the messenger.
urlstringrequiredWhere the badge links, such as https://trydimmi.com/?ref=<workspace>.
changelog_tab_enabledbooleanrequiredTrue when the messenger's What's new tab is turned on; it shows only when a help center is linked.
channel_connection_idstringrequiredId of the channel connection the messenger feeds its inbox through, such as chn_....
collect_emailstringrequiredWhen the messenger asks a visitor for their email: never, offline or always.
config_versionintegerrequiredA number that goes up each time the messenger's settings change.
Format: int64
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
enabledbooleanrequiredTrue when the messenger is turned on.
help_center_idstring | nullrequiredId of the help center linked to the messenger, such as hc_.... Null when none is linked.
help_tab_enabledbooleanrequiredTrue when the messenger's help tab is turned on; it shows only when a help center is linked.
home_linksobject[] | nullrequiredThe customer's own links listed on the messenger's home screen, such as booking a call.
Show child attributesHide child attributes
iconstringrequiredThe icon shown beside the link: link, calendar, book, mail, phone, chat, video or help.
titlestringrequiredThe link's text on the messenger's home screen.
urlstringrequiredThe address the link opens.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
inboxobjectrequiredShow child attributesHide child attributes
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredDisplay name of the inbox, team or member this short form stands for.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
intercom_shimbooleanrequiredTrue when the loader keeps an old Intercom snippet's calls working while a customer moves over.
last_boot_atstring | nullrequiredWhen the messenger was last loaded on a site. Null when it never has been.
Format: date-time
last_boot_originstring | nullrequiredThe site the messenger was last loaded on. Null when it never has been.
linksobjectrequiredShow child attributesHide child attributes
configstringrequiredAddress of the public configuration a browser loads for this messenger.
installstringrequiredAPI address that returns this messenger's install instructions.
selfstringrequiredAPI address of this messenger's settings.
localestringrequiredThe messenger's language setting: a language code such as en, or auto.
max_attachment_mbintegerrequiredThe largest file a customer can send, in megabytes, 1 to 25.
Format: int32
namestringrequiredThe messenger's name in dimmi.
native_apps_enabledbooleanrequiredTrue when requests without an Origin header, which native apps send, are accepted despite the list of allowed sites.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
reply_timestringrequiredThe reply time the messenger promises: auto (follows team availability), minutes, hours or day.
require_email_when_offlinebooleanrequiredTrue when a visitor must give an email to write while the team is away.
show_availabilitybooleanrequiredTrue when the messenger shows whether the team is available.
show_brandingboolean | nullrequiredWhether the messenger shows dimmi's branding: true, false, or null when the messenger sets nothing of its own.
show_team_avatarsbooleanrequiredTrue when the messenger shows teammates' pictures.
textsobjectrequiredThe messenger's own wording shared by every language, keyed by text name, with defaults filled in.
texts_by_localeobjectrequiredWording written for specific languages, keyed by language tag then text name, such as {"fr": {"greeting": "Bonjour"}}.
updated_atstringrequiredWhen it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.