Proxies a request and resolves the upstream Response. Successful and
upstream-error responses pass through untouched - streaming, binary and
large bodies are preserved (the body is never read on the success path).
The one exception is a CBK authorization_required signal, which is thrown
as an AuthorizationRequiredError carrying the url the user must
visit to authenticate.
Optionaloptions: {Creates a new instance of the same client type with extended options.
This is useful when you need to create a client with modified configuration (e.g., different endpoint, token, or headers) without affecting the original.
Note: This method creates a completely new instance rather than cloning, which is necessary because private class fields cannot be copied.
Options to merge with current options
A new instance of the same client class with extended options
ChatBotKit SDK - Main client class for interacting with the ChatBotKit API
This is the primary entry point for the ChatBotKit SDK. It provides access to all ChatBotKit API resources through specialized client instances.
Example