The following sections explain the rate limits of the CRM API.

## APIs and your CRM

Contact Center AI Platform (CCAI Platform) call and chat adapters function within a Customer
Relationship Manager (CRM) software. There are many benefits to this, including
automatic case creation to record the details of interactions.

CCAI Platform is integrated through an application programming
interface (API), which passes information from CCAI Platform into your
CRM.

You may have other integrations already using APIs to connect to your CRM. Using
an ecosystem of different apps and integrations tied together using the APIs can
help drive important business objectives for your contact center.

## Limits

Each time CCAI Platform or any other application sends data to your
CRM, it's referred to as an ***API call***.

The specific CRM and level of licensing determine how many API calls you are
allowed per day, as well as how many API calls you are allowed per minute. This
is referred to as *rate limiting.*

For example, you may have a CRM license that allows 400 API calls per minute and
2,500 calls per day. Some CRMs provide a dashboard that lets you monitor
usage over time to ensure integrations are running smoothly and that no one app
is monopolizing your API call rate.

## Limits and CCAI Platform

The primary purpose of the CCAI Platform integration into your CRM is
to record actions from calls and chats within case or ticket records. Each
CCAI Platform activity that is tracked in the CRM (like contact search,
case or ticket creation, and call logging) creates an API call.

This also means that if you exceed your rate limit within your CRM, you may
experience calls and chats not creating cases/tickets.

Fortunately, CCAI Platform continues to create the commands to make new
cases or tickets from calls and chats even if you have reached your API limit.
They will queue in the system, and as soon as the CRM can accept more API calls,
the queued cases or tickets will populate in your CRM.

To avoid case creation interference, ensure that you have the appropriate level
of licensing to support all of your integrations, and monitor your API rate
limit dashboards.

For CRMs that support it, CCAI Platform offers API batching to reduce the number of API calls made during call and chat interactions. Availability and behavior vary by CRM:

- **Zendesk** : CCAI Platform batches selected requests---such as adding comments and updating assignments or tickets---across sessions over a configurable interval. For configuration details, see [API Batching - Zendesk](https://docs.cloud.google.com/contact-center/ccai-platform/docs/zendesk#UUID-011d3721-e0ac-2084-9dc8-c4a83c0fc2a2).

- **Kustomer** : When API batching is enabled, CCAI Platform automatically queues, combines, and prioritizes requests as the integration approaches the Kustomer API rate limit. Critical actions, such as ticket creation, receive a higher priority. For configuration details, see **Optimize Performance (API Batching)** in the [Kustomer CRM integration guide](https://docs.cloud.google.com/contact-center/ccai-platform/docs/kustomer-integration-guide).

> [!NOTE]
> **Note:** CCAI Platform does not limit the number of API calls you can request from our platform.