Skip to main content

Direct Link

Send a chat page link directly to your customers. They can open it and start a conversation immediately without any website deployment.

Common Use Cases

  • Email signatures - add the chat link to support emails
  • In-app webviews - open the chat page inside an app
  • Social profiles - place the link in bios or menus
  • QR codes - convert the link into a QR code for offline scanning
.../direct/{YOUR_APP_ID}

In Standalone mode, you can use URL parameters to let visitors enter a specific chat session detail directly.

.../direct/{YOUR_APP_ID}?direct=1&chatid={SESSION_ID}

Parameters

ParameterRequiredDescription
directYesMust be fixed to 1. This is the explicit direct-detail intent flag and prevents unexpected navigation when regular visits accidentally include chatid.
chatid/chat_idYesTarget chat session ID (Session ID).

Example

If the customer service appid is demo_app and the target session ID is session-abc-123:

.../direct/demo_app?direct=1&chatid=session-abc-123

Language Parameter

The chat page detects the browser language automatically. If the browser language is unsupported, the page falls back to en. You can also append ?lang= to set the page language explicitly:

.../direct/{YOUR_APP_ID}?lang=en

Supported language codes:

CodeLanguage
zh-cn简体中文
zh-tw繁體中文
enEnglish
ja日本語
ko한국어
deDeutsch
frFrançais
ptPortuguês
ruРусский

Portuguese browser variants such as pt-PT and pt-BR are normalized to pt.

Customer Information Parameters

Pass internal customer information to the chat page so agents can identify the visitor in the workspace.

ParameterTypeDescription
sbsstringUnique customer identifier
sbs_mmstringCustomer signature
ranstrstringRandom string, recommended to be at least 16 characters
namestringCustomer full name
nicknamestringCustomer nickname
emailstringCustomer email
phonestringCustomer phone number

sbs_mm Generation Rule

sbs_mm = md5( md5(sbs + '_' + AppSecret) + '_' + ranstr )
  • MD5 output must be lower-case 32 characters
  • AppSecret is required to generate sbs_mm. Create it in Developer Settings and keep it private

Full Example

.../direct/{YOUR_APP_ID}?sbs={sbs}&sbs_mm={sbs_mm}&ranstr={ranstr}&name={name}&nickname={nickname}&email={email}&phone={phone}
danger

Generate the sbs_mm signature on the server side only. Never expose AppSecret in frontend code or URLs.