Different methods and parameters are available in different versions of Chat’s
APIs. Before you begin developing with the Deployment API or the Pre-Chat API, make sure
you’re using the correct API version number in your code.
The legacy chat product is in maintenance-only mode, and we
won't continue to build new features. You can continue to use it,
but we no longer recommend that you implement new chat channels.
Instead, you can modernize your customer communication with Messaging for In-App and
Web. Messaging offers many of the chat features that you
love plus asynchronous conversations that can be picked back up at
any time.
Deployment API Versions
You can find out what version of the Deployment API your organization uses from the
deployment code that’s generated after you create a deployment.
Summer ’13 and earlier releases support version 28.0 of the Deployment API.
The URL for API version 28.0 looks like this: https:MyDomainName.my.salesforce-scrt.com/content/g/deployment.js
Winter ’14 supports version 29.0 of the Deployment API. The URL for API
version 29.0 contains the version number: https:MyDomainName.my.salesforce-scrt.com/content/g/js/29.0/deployment.js
Review these important considerations about these URL formats.
- To use new methods and parameters in your deployments, you must update the
deployment code on each of your Web pages to use the URL for version 29.0 of
the Deployment API.
- If enhanced domains aren’t enabled in your org, your URL format is
different. For details, see My Domain URL Formats in Salesforce
Help.
Pre-Chat Information API
Versions
Winter ’14 supports version 29.0 of the Pre-Chat API. The URL for API version 29.0
contains the version number: https:MyDomainName.my.salesforce-scrt.com/content/g/js/29.0/prechat.js
You can find your organization’s
hostname by looking in the deployment code that’s generated
after you create a deployment.