Skip to main content
Replaces the current JWT authentication token with a new one for continued secure communication. This is commonly used when tokens expire or are refreshed during a session.

Syntax

Parameters

string
required
The new JWT token to be set in the chat configuration.

Returns

Returns a void operator.

Examples

The following examples show different ways to update the authentication token:

Do you need practical examples?

Learn how to apply the features available for embedded chat into your implementation with guidance and examples.