---
schema_version: "1"
id: 86fceabd13c20546673205654110275c6a8364f39ce43dfce5f2d685f07fef03
title: Configure Estimated Wait Times for Queues
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/messaging-byoc-ccaas/guides/estimated-wait-times.md
canonical_url: https://developer.salesforce.com/docs/service/messaging-byoc-ccaas/guide/estimated-wait-times.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: e9bacadaf5edff1f7a42db267de3f9f60703e9135f917a4848f645261347196a
products:
  - Bring Your Own Channel for CCaaS
  - Service Cloud Developer Content
---
# Configure Estimated Wait Times for Queues

Reps can see estimated wait times for a given queue before transferring a messaging session or requesting a conference. Estimated wait times for Bring Your Own Channel for CCaaS Messaging channels are calculated by the Contact Center as a Service (CCaaS) provider.

To display estimated wait times using the partner provider’s calculations, set the `hasQueueWaitTime` field in the [`SharedCapabilitiesResult`](/docs/service/service-connector-api/references/connector-api/service-connector-objects-sharedcapabilitiesresult.html) object to `true`.

Optionally include the `queueWaitTime` key in the `Contact` object that’s returned for [`getContacts`](/docs/service/service-connector-api/references/connector-api/service-connector-interface-getcontacts.html). The `queueWaitTime` field represents the partner provider’s queue wait time measured in seconds.

For example:

```
new Contact ({
  id: 'queueId1'
  type: Constants.CONTACT_TYPE.QUEUE,
  name: "Queue Name",
  queue: 'queueId1',
  queueWaitTime: 240
})
```
