# Contact Center API ignoring date parameters

**URL:** <https://devforum.zoom.us/t/contact-center-api-ignoring-date-parameters/136666>\
**Category:** API and Webhooks\
**Created:** [August 19, 2025, 5:59pm UTC](https://devforum.zoom.us/t/contact-center-api-ignoring-date-parameters/136666 "2025-08-19T17:59:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Orlando1](https://avatars.discourse-cdn.com/v4/letter/o/7feea3/32.png) [@Orlando1](https://devforum.zoom.us/u/Orlando1)\
**Post date:** [August 19, 2025, 5:59pm UTC](https://devforum.zoom.us/t/contact-center-api-ignoring-date-parameters/136666/1 "2025-08-19T17:59:10Z")

</div>

### **API Endpoint**

api.zoom

v2/contact\_center/analytics/log/historical/engagement

**Description**  
I’m placing date parameters but the response apparently is ignoring them and retrieving from the datetime of the request until 30 days i think. I’m attempting to get only 1 day of data (previous day).

Here’s my code. Are the data parameters not entered properly?

```auto
import json
import requests
# Get the token
resp = requests.post(
    f"https://zoom.us/oauth/token?grant_type=account_credentials&account_id={account_id}",
    auth=(client_id, client_secret)
)
token = resp.json()['access_token']
h = {'Authorization' : f"Bearer {token}"}

# date parameters
p = {
  "timezone": "America/Chicago",
  "from": '2025-08-15T01:00:00Z',
  "to": '2025-08-16T00:00:00Z',
  "page_size":50
}
res = requests.get("https://api.zoom.us/v2/contact_center/analytics/log/historical/engagement", headers=h,params=p).json()
engagements = res['engagement_logs'] # Result ignoring date parameters

```

Result contains data i didnt ask for:

---

<div class="post-metadata">

**Author:** ![Orlando1](https://avatars.discourse-cdn.com/v4/letter/o/7feea3/32.png) [@Orlando1](https://devforum.zoom.us/u/Orlando1)\
**Post date:** [August 19, 2025, 6:02pm UTC](https://devforum.zoom.us/t/contact-center-api-ignoring-date-parameters/136666/2 "2025-08-19T18:02:21Z")

</div>

sorry! the correct date parameters are ‘start\_time\_from’ and ‘start\_time\_end’.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 20, 2025, 6:02pm UTC](https://devforum.zoom.us/t/contact-center-api-ignoring-date-parameters/136666/3 "2025-08-20T18:02:50Z")

</div>

Closed on August 20, 2025, 6:02pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
