# GET /v2/contact\_center\_inboxes/{inboxId}/messages type mismatch

**URL:** <https://devforum.zoom.us/t/get-v2-contact-center-inboxes-inboxid-messages-type-mismatch/138084>\
**Category:** Contact Center\
**Tags:** api, contact\_center\
**Created:** [October 15, 2025, 9:21pm UTC](https://devforum.zoom.us/t/get-v2-contact-center-inboxes-inboxid-messages-type-mismatch/138084 "2025-10-15T21:21:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rberkooz](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@rberkooz](https://devforum.zoom.us/u/rberkooz)\
**Post date:** [October 15, 2025, 9:21pm UTC](https://devforum.zoom.us/t/get-v2-contact-center-inboxes-inboxid-messages-type-mismatch/138084/1 "2025-10-15T21:21:31Z")

</div>

I am working on an application that calls the Zoom contact center API to fetch inboxes, and then fetches messages for a given inbox.

The `/contact_center/inboxes/`_`{inboxId}`_ endpoint only returns “inbox\_type”:”voicemail” (this is consistent with the documentation).

```auto
❯ curl https://api.zoom.us/v2/contact_center/inboxes/<INBOX_ID> \
  --header 'Authorization: Bearer <AUTH_CODE>'
{"inbox_id":"<INBOX_ID>","inbox_name":"Default Inbox (Voicemail)","inbox_description":"This is the default inbox for voicemail.","inbox_type":"voicemail","inbox_content_storage_location":"US","last_modified_time":"2025-08-04T15:50:02Z","modified_by":"<MODIFIED_BY_ID>","voicemail":{"soft_delete":false,"voicemail_time_limit":5,"delete_voicemail_days_limit":30,"voicemail_transcription":true,"voicemail_notification_by_email":{"enable":false},"voicemail_auto_assignment":{"enable":false},"voicemail_send_reminders_for_unresolved":{"enable":false}}}%

```

However, when I attempt to call the `/contact_center/inboxes/`_`{inboxId}`_`/messages` endpoint, I receive an error based on the inbox type?

```auto
❯ curl https://api.zoom.us/v2/contact_center/inboxes/<INBOX_ID>/messages \
  --header 'Authorization: Bearer <AUTH_CODE>'
{"code":310029,"message":"Inbox and voicemail do not match."}

```

This also happens when I use the “message\_type” param, which only takes “voicemail”.

```auto
curl https://api.zoom.us/v2/contact_center/inboxes/<INBOX_ID>/messages\?message_type\=voicemail

```

The 400 error code suggests that there is something wrong with my request - could anyone help me debug this?
