Newer Version Available

This content describes an older version of this product. View Latest

API Versions

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.

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.

If you don’t have a My Domain deployed in your org, your URL formats are different. For details, see My Domain URL Formats in Salesforce Help.

Note

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.salesforcescrt.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.salesforcescrt.com/content/g/js/29.0/deployment.js

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.

Note

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.salesforcescrt.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.